-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.1 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
{
"private": true,
"version": "1.1.1",
"scripts": {
"start": "parcel watch src/manifest.json --host localhost --config @parcel/config-webextension",
"build": "NODE_NO_WARNINGS=1 parcel build",
"lint-fix": "run-p 'lint:* -- --fix'",
"test": "run-p build",
"watch": "NODE_NO_WARNINGS=1 parcel watch --no-hmr",
"ci": "CI=true pnpm i"
},
"browserslist": [
"last 1 Chrome version",
"last 1 Firefox version"
],
"xo": {
"envs": [
"browser",
"webextensions"
],
"rules": {
"unicorn/prefer-top-level-await": "off"
}
},
"dependencies": {
"webext-base-css": "^2.0.1",
"webext-options-sync": "^4.2.3"
},
"devDependencies": {
"@parcel/config-webextension": "^2.13.0",
"@parcel/resolver-default": "^2.13.0",
"npm-run-all2": "^7.0.1",
"parcel": "^2.13.0",
"xo": "^0.60.0"
},
"@parcel/resolver-default": {
"packageExports": true
},
"targets": {
"default": {
"source": "src/manifest.json",
"distDir": "./distribution"
}
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://github.com/fregante/browser-extension-template"
]
}
}
}