generated from fregante/browser-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.9 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
{
"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 --no-content-hash",
"run:safari": "bash runsafari.sh",
"run:chrome": "web-ext run -t chromium --keep-profile-changes",
"run:firefox": "web-ext run -t firefox-desktop --firefox=nightly",
"clean": "rm distribution/*"
},
"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": {
"@parcel/transformer-typescript-tsc": "^2.6.2",
"@parcel/validator-typescript": "^2.6.2",
"@primer/octicons-react": "^17.3.0",
"@primer/react": "^35.4.0",
"bootstrap": "5.2.0-beta1",
"preact": "^10.10.0",
"react-tiny-popover": "^7.1.0",
"styled-components": "^5.3.5",
"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/transformer-sass": "2.6.2",
"npm-run-all": "^4.1.5",
"parcel": "^2.5.0",
"process": "^0.11.10",
"stylelint": "^14.6.0",
"stylelint-config-xo": "^0.21.0",
"web-ext-types": "^3.2.1",
"xo": "^0.48.0"
},
"webExt": {
"sourceDir": "distribution",
"run": {
"startUrl": [
"https://github.com/fregante/browser-extension-template"
]
}
},
"alias": {
"react": "preact/compat",
"react-dom/test-utils": "preact/test-utils",
"react-dom": "preact/compat",
"react/jsx-runtime": "preact/jsx-runtime"
}
}