forked from refined-github/refined-github
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
121 lines (121 loc) · 3.05 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
116
117
118
119
120
121
{
"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 && webext 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-injection": "^1.0.1",
"github-reserved-names": "^1.0.14",
"linkify-issues": "^1.3.0",
"linkify-urls": "^2.0.0",
"onetime": "^2.0.1",
"p-event": "^1.3.0",
"select-dom": "^4.1.3",
"shorten-repo-url": "^1.5.0",
"storm-textarea": "2.0.1",
"tiny-version-compare": "^0.9.0",
"turndown": "^4.0.2",
"webext-domain-permission-toggle": "0.0.2",
"webext-dynamic-content-scripts": "^5.0.1",
"webext-options-sync": "^0.15.1",
"webextension-polyfill": "^0.2.1"
},
"devDependencies": {
"ava": "^0.25.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-plugin-transform-unicode-property-regex": "^2.0.5",
"chrome-webstore-upload-cli": "^1.1.1",
"common-tags": "^1.7.2",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "^5.1.6",
"dot-json": "^1.0.4",
"npm-run-all": "^4.1.3",
"stylelint": "^9.2.1",
"stylelint-config-xo": "*",
"uglifyjs-webpack-plugin": "^1.2.5",
"utc-version": "^1.1.0",
"webext": "^1.9.1-with-submit.1",
"webpack": "^4.8.3",
"webpack-cli": "^3.0.1",
"xo": "^0.21.1"
},
"xo": {
"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": [
[
"transform-react-jsx",
{
"pragma": "h",
"useBuiltIns": true
}
],
[
"transform-unicode-property-regex",
{
"useUnicodeFlag": true
}
]
],
"env": {
"testing": {
"plugins": [
"transform-es2015-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
}
}
}