-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
62 lines (62 loc) · 1.77 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
{
"private": true,
"scripts": {
"lint": "xo",
"lint-fix": "xo --fix",
"clean": "rimraf dist",
"build": "webpack --mode=production",
"watch": "webpack --mode=development --watch",
"watch:firefox": "web-ext run --source-dir=dist",
"version": "dot-json dist/manifest.json version $VER",
"release:amo": "cd dist && web-ext-submit --api-key=\"$WEB_EXT_API_KEY\" --api-secret=\"$WEB_EXT_API_SECRET\"",
"release:cws": "cd dist && webstore upload --auto-publish",
"release": "VER=$(daily-version) npm-run-all clean build version release:amo create-git-tag",
"create-git-tag": "git tag $VER -m $VER && git push origin $VER"
},
"dependencies": {
"activate-power-mode": "^1.0.0",
"dateformat": "^3.0.3",
"indent-textarea": "^1.0.4",
"showdown": "^1.9.0",
"timeago.js": "^4.0.0-beta.2"
},
"devDependencies": {
"chrome-webstore-upload-cli": "^1.2.0",
"copy-webpack-plugin": "^5.0.0",
"css-loader": "^3.0.0",
"daily-version": "^0.12.0",
"dot-json": "^1.1.0",
"html-webpack-plugin": "^3.2.0",
"npm-run-all": "^4.1.5",
"pug": "^2.0.4",
"pug-loader": "^2.4.0",
"rimraf": "^2.6.3",
"size-plugin": "^1.1.2",
"style-loader": "^0.23.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"terser-webpack-plugin": "^1.2.3",
"web-ext": "^3.0.0",
"web-ext-submit": "^2.9.3",
"webext-options-sync": "^0.16.0",
"webextension-polyfill": "^0.4.0",
"webpack": "^4.29.4",
"webpack-cli": "^3.2.3",
"xo": "^0.24.0"
},
"xo": {
"envs": [
"browser"
],
"globals": [
"browser",
"POWERMODE"
],
"rules": {
"import/no-unassigned-import": 0,
"import/no-named-as-default": 0,
"no-script-url": 0,
"brace-style": 0
}
}
}