-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
65 lines (65 loc) · 2.04 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
63
64
65
{
"name": "scboloo",
"version": "1.0.1",
"main": "index.js",
"repository": "[email protected]:pastak/scboloo.git",
"author": "pastak <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rm -rf dist/{chrome,firefox,common,msedge}/* packages/* tmp/*",
"build": "./node_modules/.bin/webpack --config webpack.config.js",
"watch": "yarn build -- --watch",
"test": "./node_modules/.bin/run-p test:**",
"test:ava": "./node_modules/.bin/ava",
"test:lint": "./node_modules/.bin/standard",
"test:lint:package:firefox": "yarn run build > /dev/null && ./node_modules/.bin/web-ext lint -s dist/firefox -w",
"pack": "./node_modules/.bin/npm-run-all clean build --parallel pack:*",
"pack:chrome": "./node_modules/.bin/run-s pack:chrome:keygen pack:chrome:zip",
"pack:chrome:zip": "./node_modules/.bin/crx pack -p tmp/key.pem -o packages/scboloo.crx --zip-output packages/scboloo.chrome.zip dist/chrome",
"pack:chrome:keygen": "if [ ! -f tmp/key.pem ] ; then ./node_modules/.bin/crx keygen ./tmp ; fi",
"pack:firefox": "./node_modules/.bin/web-ext build -s dist/firefox -a packages"
},
"devDependencies": {
"ava": "^0.19.1",
"babel-core": "^6.24.1",
"babel-loader": "^6.4.1",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-register": "^6.24.1",
"chrome-browser-object-polyfill": "^0.2.2",
"copy-webpack-plugin": "^4.0.1",
"crx": "^3.2.1",
"on-build-webpack": "^0.1.0",
"sinon": "^2.1.0",
"sinon-chrome": "^2.1.3",
"standard": "^10.0.1",
"uglifyjs-webpack-plugin": "^0.4.3",
"web-ext": "^1.8.1",
"webpack": "^2.3.3",
"wemf": "^1.0.0"
},
"dependencies": {
"npm-run-all": "^4.0.2",
"then-chrome": "^1.0.6"
},
"ava": {
"require": [
"babel-register",
"babel-polyfill",
"./test/helpers/chrome.js"
],
"babel": "inherit"
},
"standard": {
"globals": [
"chrome"
]
},
"babel": {
"presets": [
"es2015",
"es2017"
]
}
}