-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
62 lines (62 loc) · 1.81 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "tronlink",
"version": "1.0.0-beta",
"private": false,
"dependencies": {
"TronUtils": "git+https://github.com/TronWatch/TronUtils.git",
"babel-loader": "^7.1.5",
"babel-minify-webpack-plugin": "^0.3.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"bestzip": "^1.1.4",
"bignumber.js": "^7.2.1",
"crypto": "^1.0.1",
"dateformat": "^3.0.3",
"eslint-plugin-no-null": "^1.0.2",
"eventemitter3": "^3.1.0",
"husky": "^1.0.0-rc.13",
"jssha": "^2.3.1",
"lint-staged": "^7.2.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-redux": "^5.0.7",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.4",
"redux": "^4.0.0",
"rimraf": "^2.6.2",
"sweetalert2": "^7.26.10",
"uuid": "^3.3.2",
"webpack": "3"
},
"scripts": {
"lint-staged": "lint-staged",
"lint": "./node_modules/.bin/eslint .",
"clean": "rimraf dist",
"build": "npm run clean && webpack --config webpack.config.js --progress --colors",
"build:react": "cd app/popup && npm run build && cd ../../",
"build:all": "npm run build && npm run build:react",
"test:react": "cd app/popup && npm run test && cd ../../",
"zip": "npm run build:all && bestzip chrome-extension.zip dist manifest.json app/popup/build",
"symlink:win": "mklink /D app\\popup\\src\\extension ..\\..\\lib",
"symlink": "cd app/popup/src && ln -s ../../lib extension && cd ../../../"
},
"lint-staged": {
"linters": {
"*.js": "eslint"
},
"ignore": [
"/node_modules",
"/app/popup",
"/dist",
"/static"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
}
}