forked from refined-github/refined-github
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
162 lines (162 loc) · 4.34 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"private": true,
"scripts": {
"lint": "run-p --silent lint:*",
"lint:js": "xo",
"lint:css": "stylelint 'source/**/*.css'",
"lint-fix": "run-p --silent 'lint:* -- --fix'",
"test": "run-s ava lint:* build",
"ava": "TS_NODE_FILES=true ava",
"build": "webpack --mode=production",
"watch": "webpack --mode=development --watch",
"version": "dot-json distribution/manifest.json version $VER",
"release:cws": "webstore upload --source=distribution --auto-publish",
"release:amo": "web-ext-submit --source-dir distribution",
"release": "VER=$(daily-version) run-s build version release:*"
},
"dependencies": {
"@primer/octicons": "^9.6.0",
"copy-text-to-clipboard": "^2.2.0",
"debounce-fn": "^4.0.0",
"delay": "^4.3.0",
"delegate-it": "^2.0.0",
"dom-chef": "^4.1.0-0",
"dom-loaded": "^2.0.0",
"doma": "^3.0.0",
"element-ready": "^4.1.1",
"fit-textarea": "^2.0.0",
"github-reserved-names": "^1.1.8",
"image-promise": "^7.0.0",
"indent-textarea": "^2.0.1",
"linkify-issues": "2.0.0-nolookbehind",
"linkify-urls": "3.1.0-nolookbehind",
"mem": "^6.0.1",
"onetime": "^5.1.0",
"select-dom": "^6.0.1",
"shorten-repo-url": "^1.6.0",
"strip-indent": "^3.0.0",
"text-field-edit": "^3.0.0-0",
"tiny-version-compare": "^2.0.0",
"twas": "^2.1.1",
"webext-additional-permissions": "^0.1.0",
"webext-base-css": "^1.1.0",
"webext-detect-page": "^2.0.4",
"webext-domain-permission-toggle": "^1.0.0",
"webext-dynamic-content-scripts": "^6.0.3",
"webext-options-sync": "^1.2.3",
"webext-storage-cache": "^3.0.0",
"webextension-polyfill": "^0.6.0",
"zip-text-nodes": "^1.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@sindresorhus/tsconfig": "^0.7.0",
"@types/chrome": "0.0.104",
"@types/codemirror": "0.0.91",
"@types/copy-webpack-plugin": "^5.0.0",
"@types/firefox-webext-browser": "^70.0.1",
"@types/jsdom": "^16.2.1",
"@types/mini-css-extract-plugin": "^0.9.1",
"@types/react": "^16.9.34",
"@types/terser-webpack-plugin": "^2.2.0",
"ava": "^3.6.0",
"chrome-webstore-upload-cli": "^1.2.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.5.1",
"daily-version": "^1.0.0",
"dot-json": "^1.2.0",
"eslint": "^6.8.0",
"eslint-config-xo-react": "^0.23.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"esm": "^3.2.25",
"fork-ts-checker-webpack-plugin": "^4.1.3",
"jsdom": "^16.2.2",
"mini-css-extract-plugin": "^0.9.0",
"npm-run-all": "^4.1.5",
"size-plugin": "^2.0.1",
"string-replace-loader": "^2.2.0",
"stylelint": "^13.3.0",
"stylelint-config-xo": "^0.16.1",
"terser-webpack-plugin": "^2.3.5",
"ts-loader": "^7.0.1",
"ts-node": "^8.9.0",
"type-fest": "^0.13.1",
"typescript": "^3.8.3",
"web-ext": "^4.1.0",
"web-ext-submit": "^4.1.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"xo": "^0.28.3"
},
"xo": {
"extends": "xo-react",
"envs": [
"browser"
],
"globals": [
"browser",
"__featuresOptionDefaults__",
"__featuresMeta__",
"__filebasename"
],
"rules": {
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/no-empty-function": "off",
"no-alert": "off",
"react/function-component-definition": [
"error",
{
"namedComponents": "function-declaration"
}
],
"react/jsx-first-prop-new-line": "error",
"react/jsx-key": "off",
"react/no-unknown-property": "off",
"import/extensions": [
"error",
"never",
{
"svg": "always"
}
],
"import/no-unassigned-import": "off",
"unicorn/prevent-abbreviations": "error",
"unicorn/string-content": "off"
},
"settings": {
"react": {
"version": "16.3"
}
}
},
"ava": {
"files": [
"test/*.ts"
],
"extensions": [
"ts"
],
"require": [
"esm",
"ts-node/register"
]
},
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"selector-type-no-unknown": null,
"declaration-no-important": null,
"property-no-vendor-prefix": null,
"property-blacklist": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"rule-empty-line-before": null,
"at-rule-empty-line-before": null,
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-comma-newline-after": "always-multi-line",
"function-comma-space-after": "always-single-line"
}
}
}