generated from fregante/browser-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.06 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
{
"name": "bananacamp",
"browser": {
"buffer": false
},
"private": true,
"scripts": {
"prebuild": "npm run test",
"build": "webpack --mode=production && web-ext build -o && zip -vr source.zip source/ -x \"*.DS_Store\"",
"build:dev": "webpack --mode=development",
"release:chrome": "npm run build && env-cmd webstore upload --auto-publish --source distribution",
"release:firefox": "npm run build && env-cmd web-ext-submit",
"watch": "webpack --mode=development --watch",
"test": "jest",
"dev": "npm run build:dev && concurrently -c cyan,red -n webpack,web-ext npm:watch npm:run",
"dev:chrome": "npm run build:dev && concurrently -c cyan,red -n webpack,web-ext npm:watch npm:run:chrome",
"run": "web-ext run --verbose --args https://open.spotify.com/ about:devtools-toolbox?type=extension\\&id=bananacamp%40addiebarron.github.io",
"run:chrome": "web-ext run -t chromium --args https://open.spotify.com/"
},
"webExt": {
"sourceDir": "./distribution"
},
"jest": {
"verbose": true,
"moduleFileExtensions": [
"js",
"json"
],
"setupFiles": [
"jest-webextension-mock"
],
"moduleNameMapper": {
"@/(.*)$": "<rootDir>/source/$1"
}
},
"dependencies": {
"arrive": "^2.4.1",
"bandcamp-search-scraper": "github:addiebarron/bandcamp-search-scraper",
"env-cmd": "^10.1.0",
"jquery": "^3.5.1",
"webextension-polyfill": "^0.4.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/preset-env": "^7.12.11",
"babel-loader": "^8.2.2",
"chrome-webstore-upload-cli": "^1.2.0",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^5.3.0",
"copy-webpack-plugin": "^5.0.3",
"daily-version": "^0.12.0",
"jest": "^26.6.3",
"jest-webextension-mock": "^3.7.7",
"regenerator-runtime": "^0.13.7",
"size-plugin": "^1.2.0",
"terser-webpack-plugin": "^1.3.0",
"web-ext": "^5.4.1",
"web-ext-submit": "^5.4.1",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6"
}
}