/
package.json
115 lines (115 loc) · 2.95 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"private": true,
"scripts": {
"lint": "xo && stylelint source/*.css",
"lint-fix": "xo --fix; stylelint --fix source/*.css",
"test": "npm run lint && cross-env BABEL_ENV=testing ava && run-s build",
"build": "webpack --mode=production",
"watch": "webpack --mode=development --watch",
"release:amo": "cd distribution && web-ext-submit",
"release:cws": "cd distribution && webstore upload --auto-publish",
"release": "run-s build update-version save-url release:*",
"save-url": "echo https://github.com/$TRAVIS_REPO_SLUG/tree/$TRAVIS_COMMIT > distribution/SOURCE_URL",
"update-version": "VERSION=$(utc-version); echo $VERSION; dot-json distribution/manifest.json version $VERSION",
"can-release": "if [ \"$TRAVIS_EVENT_TYPE\" = cron ] && [ $(git rev-list -n 1 --since=\"26 hours ago\" master) ]; then echo :ship-it:; else false; fi"
},
"dependencies": {
"copy-text-to-clipboard": "^1.0.4",
"debounce-fn": "^1.0.0",
"delegate": "^3.2.0",
"dom-chef": "^3.2.0",
"dom-loaded": "^1.0.1",
"element-ready": "^3.0.0",
"github-reserved-names": "^1.1.4",
"intervalometer": "^1.0.4",
"linkify-issues": "^1.3.0",
"linkify-urls": "^2.2.0",
"onetime": "^2.0.1",
"p-is-promise": "^2.0.0",
"select-dom": "^4.1.3",
"shorten-repo-url": "^1.5.0",
"storm-textarea": "2.0.1",
"tiny-version-compare": "^0.10.0",
"webext-domain-permission-toggle": "0.0.2",
"webext-dynamic-content-scripts": "^5.0.1",
"webext-options-sync": "^0.15.1",
"webextension-polyfill": "^0.3.1"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/register": "^7.0.0",
"ava": "^1.0.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.0",
"chrome-webstore-upload-cli": "^1.2.0",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.6",
"dot-json": "^1.0.4",
"npm-run-all": "^4.1.3",
"stylelint": "^9.6.0",
"stylelint-config-xo": "^0.12.0",
"terser-webpack-plugin": "^1.2.1",
"utc-version": "^1.1.0",
"web-ext-submit": "^2.9.2",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.0",
"xo": "^0.23.0"
},
"xo": {
"parser": "babel-eslint",
"envs": [
"browser"
],
"rules": {
"import/no-unassigned-import": "off",
"no-unused-vars": [
2,
{
"varsIgnorePattern": "^h$"
}
]
},
"globals": [
"browser"
]
},
"ava": {
"files": [
"test/*.js"
],
"require": [
"@babel/register"
]
},
"babel": {
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "h",
"useBuiltIns": true
}
]
],
"env": {
"testing": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
}
}
},
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"declaration-no-important": null,
"property-no-vendor-prefix": null,
"property-blacklist": null,
"selector-class-pattern": null,
"rule-empty-line-before": null,
"at-rule-empty-line-before": null
}
}
}