-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·54 lines (54 loc) · 1.49 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
{
"name": "web-extension-boilerplate",
"version": "2.0.0",
"license": "MIT",
"author": "Saiya",
"repository": "https://github.com/oe/web-extension-boilerplate/",
"description": "browser extension boilerplate base on parcel",
"targets": {
"webext-dev": {
"sourceMap": {
"inline": true,
"inlineSources": true
},
"distDir": "./dist",
"context": "browser"
},
"webext-prod": {
"distDir": "./dist",
"sourceMap": false,
"context": "browser"
}
},
"scripts": {
"start": "yarn run dev",
"predev": "yarn run clean",
"dev": "parcel watch src/manifest.json --host localhost --port 7891 --target webext-dev --no-cache --config @parcel/config-webextension",
"clean": "node scripts/clean.js",
"prebuild": "yarn run clean",
"build": "parcel build src/manifest.json --target webext-prod --no-cache --config @parcel/config-webextension",
"postbuild": "yarn run zip-ext",
"zip-ext": "node scripts/zip-ext.js"
},
"devDependencies": {
"@parcel/config-webextension": "^2.10.3",
"@parcel/core": "^2.10.3",
"@parcel/transformer-sass": "^2.10.3",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"chrome-types": "^0.1.246",
"parcel": "^2.10.3",
"process": "^0.11.10",
"zip-folder": "^1.0.0"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"@parcel/resolver-default": {
"packageExports": true
},
"engines": {
"node": ">=12.10.0"
}
}