forked from refined-github/refined-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.21 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
122
123
124
125
126
{
"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.3",
"debounce-fn": "^1.0.0",
"delegate": "^3.2.0",
"dom-chef": "^3.0.0",
"dom-loaded": "^1.0.0",
"element-ready": "^2.2.0",
"github-injection": "^1.0.1",
"github-reserved-names": "^1.0.6",
"linkify-issues": "^1.3.0",
"linkify-urls": "^1.6.0",
"onetime": "^2.0.1",
"p-event": "^1.3.0",
"select-dom": "^4.1.0",
"shorten-repo-url": "^1.1.0",
"storm-textarea": "1.0.4",
"to-semver": "^1.1.0",
"turndown": "^4.0.1",
"webext-domain-permission-toggle": "0.0.2",
"webext-dynamic-content-scripts": "^5.0.0-2",
"webext-options-sync": "^0.15.0",
"webextension-polyfill": "^0.2.1"
},
"devDependencies": {
"ava": "*",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-plugin-transform-unicode-property-regex": "^2.0.5",
"chrome-webstore-upload-cli": "^1.0.0",
"common-tags": "^1.7.2",
"copy-webpack-plugin": "^4.4.2",
"cross-env": "^5.1.3",
"dot-json": "^1.0.3",
"npm-run-all": "^4.1.1",
"stylelint": "^9.1.1",
"stylelint-config-xo": "*",
"uglifyjs-webpack-plugin": "^1.2.1",
"utc-version": "^1.1.0",
"webext": "^1.9.1-with-submit.1",
"webpack": "^4.0.0",
"webpack-cli": "^2.0.6",
"xo": "*"
},
"xo": {
"envs": [
"browser"
],
"rules": {
"import/no-unassigned-import": "off",
"no-unused-vars": [
2,
{
"varsIgnorePattern": "^h$"
}
],
"function-paren-newline": "off",
"unicorn/no-unsafe-regex": "off"
},
"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,
"no-descending-specificity": null,
"property-blacklist": null,
"selector-class-pattern": null,
"selector-max-class": null,
"rule-empty-line-before": null,
"at-rule-empty-line-before": null,
"selector-max-compound-selectors": null
}
}
}