-
-
Notifications
You must be signed in to change notification settings - Fork 131
/
package.json
79 lines (79 loc) · 1.68 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
{
"private": true,
"type": "module",
"scripts": {
"lint": "run-p lint:*",
"lint:js": "xo",
"lint:css": "stylelint source/**/*.css",
"lint-fix": "run-p 'lint:* -- --fix'",
"test": "run-s lint:* test:* build",
"test:js": "ava",
"build": "parcel build source/manifest.json source/offscreen.html --dist-dir distribution --no-cache --no-content-hash --no-source-maps --no-optimize --no-scope-hoist --detailed-report 0",
"watch": "parcel watch source/manifest.json source/offscreen.html --dist-dir distribution --no-cache --no-hmr"
},
"browserslist": [
"Chrome 74",
"Firefox 67"
],
"dependencies": {
"delay": "^5.0.0",
"webext-base-css": "^1.3.1",
"webext-options-sync": "^2.0.1",
"webextension-polyfill": "^0.7.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@types/chrome": "0.0.134",
"ava": "^3.15.0",
"esm": "^3.2.25",
"lodash.merge": "^4.6.2",
"moment": "^2.29.1",
"npm-run-all": "^4.1.5",
"parcel": "^2.12.0",
"sinon": "^10.0.0",
"sinon-chrome": "^3.0.1",
"stylelint": "^13.12.0",
"stylelint-config-xo": "^0.20.0",
"xo": "^0.38.2"
},
"ava": {
"files": [
"test/*-test.js",
"!test/badge-test.js"
],
"require": [
"esm",
"./test/fixture/globals.js"
]
},
"xo": {
"envs": [
"browser"
],
"ignores": [
"distribution"
],
"rules": {
"import/no-unassigned-import": "off",
"no-await-in-loop": "off",
"ava/no-ignored-test-files": "off"
},
"overrides": [
{
"files": "test/*.js",
"globals": [
"browser"
]
}
]
},
"stylelint": {
"extends": "stylelint-config-xo",
"rules": {
"declaration-no-important": null
}
},
"webExt": {
"sourceDir": "distribution"
}
}