-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.6 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
{
"name": "browser-extension-boilerplate",
"version": "1.0.0",
"main": "index.js",
"author": "Jon Sakas <[email protected]>",
"license": "MIT",
"scripts": {
"start": "TS_NODE_PROJECT=tsconfig.webpack.json webpack --watch",
"build": "rm -rf build && TS_NODE_PROJECT=tsconfig.webpack.json WEBPACK_ENV=production webpack",
"sign:firefox": "web-ext sign -s build/chrome --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET --config-discovery=false --artifacts-dir=build/firefox",
"build:firefox": "web-ext build -s build/chrome --o --config-discovery=false --artifacts-dir=build/firefox",
"dist": "mkdir dist || true; zip -r ./dist/plugin-$(node -e \"console.log(require('./package.json').version)\").zip build",
"package": "yarn build && yarn sign:firefox && yarn dist"
},
"dependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0",
"stream-browserify": "^3.0.0",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
"@babel/preset-env": "^7.18.0",
"@babel/preset-react": "^7.17.12",
"@types/chrome": "^0.0.188",
"@types/node": "^18.6.3",
"@types/webpack": "^5.28.0",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^11.0.0",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"html-webpack-plugin": "^5.5.0",
"process": "^0.11.10",
"ts-loader": "^9.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"web-ext": "^6.8.0",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
}
}