-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
39 lines (39 loc) · 995 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "chainx-extension",
"version": "1.0.0",
"private": true,
"license": "Apache-2",
"main": "index.js",
"workspaces": [
"packages/*"
],
"engines": {
"yarn": "^1.10.1"
},
"scripts": {
"build": "NODE_ENV=production polkadot-dev-build-ts",
"watch": "cd packages/extension && webpack --config webpack.config.js --watch",
"prettier:base": "prettier --parser typescript --single-quote",
"prettier:check": "yarn prettier:base --list-different \"packages/*/src/**/*.{ts,tsx}\"",
"prettier:write": "yarn prettier:base --write \"packages/*/src/**/*.{ts,tsx}\""
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@polkadot/dev-react": "^0.31.0-beta.3",
"@polkadot/ts": "^0.1.64",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,css}": [
"yarn prettier:write",
"git add ."
]
}
}