forked from fregante/browser-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.52 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
{
"private": true,
"scripts": {
"build": "parcel build source/manifest.json --no-content-hash --no-source-maps --dist-dir distribution --no-cache --detailed-report 0",
"lint": "run-p lint:*",
"lint-fix": "run-p 'lint:* -- --fix'",
"lint:css": "stylelint source/**/*.css",
"lint:js": "xo",
"test": "run-p lint:* build",
"watch": "parcel watch source/manifest.json --dist-dir distribution --no-cache --no-hmr"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"xo": {
"envs": [
"browser"
],
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "browser"
}
]
}
},
"stylelint": {
"extends": "stylelint-config-xo"
},
"dependencies": {
"webext-options-sync": "^2.0.1",
"webextension-polyfill": "^0.7.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.0.0-nightly.2220",
"@parcel/optimizer-cssnano": "^2.0.0-nightly.599",
"@parcel/optimizer-htmlnano": "^2.0.0-nightly.599",
"@parcel/packager-css": "^2.0.0-nightly.599",
"@parcel/packager-html": "^2.0.0-nightly.599",
"@parcel/transformer-css": "^2.0.0-nightly.599",
"@parcel/transformer-html": "^2.0.0-nightly.598",
"@parcel/transformer-postcss": "^2.0.0-nightly.599",
"@parcel/transformer-posthtml": "^2.0.0-nightly.598",
"@parcel/transformer-webextension": "^2.0.0-nightly.2220",
"npm-run-all": "^4.1.5",
"parcel": "^2.0.0-nightly.596",
"stylelint": "^13.10.0",
"stylelint-config-xo": "^0.20.0",
"xo": "^0.51.0"
},
"webExt": {
"sourceDir": "distribution"
}
}