generated from fregante/browser-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.42 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
{
"private": true,
"scripts": {
"build": "parcel build source/manifest.json --no-content-hash --no-source-maps --dist-dir distribution --no-cache --detailed-report 0",
"check": "tsc --noEmit",
"clean": "rm -rf distribution web-ext-artifacts",
"lint": "run-p lint:*",
"lint-fix": "run-p 'lint:* -- --fix'",
"lint:css": "stylelint source/**/*.css",
"lint:js": "xo",
"lint2:web-ext": "web-ext lint",
"package": "run-s clean build package:build",
"package:build": "web-ext build --overwrite-dest",
"test": "run-p check lint:* build",
"watch": "parcel watch source/manifest.json --dist-dir distribution --no-cache --no-hmr"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"stylelint": {
"extends": "stylelint-config-xo"
},
"dependencies": {
"jquery": "^3.6.0",
"webext-base-css": "^1.4.0",
"webext-options-sync": "^3.0.1",
"webextension-polyfill": "^0.8.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.5.0",
"@parcel/css": "^1.12.0",
"@types/jquery": "^3.5.14",
"@types/webextension-polyfill": "^0.9.0",
"npm-run-all": "^4.1.5",
"parcel": "^2.5.0",
"stylelint": "^16.6.1",
"stylelint-config-xo": "^1.0.2",
"web-ext": "^8.0.0",
"xo": "^0.58.0"
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://app.storypark.com/"
]
}
}
}