generated from averycrespi/react-parcel-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
65 lines (65 loc) · 2.15 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
{
"name": "vtt-bridge",
"description": "Connect Dungeon Master's Vault to Roll20.",
"author": "Avery Crespi",
"version": "1.6.3",
"license": "MIT",
"dependencies": {
"beedle": "^0.8.1",
"notyf": "^3.6.0"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"babel-jest": "^26.0.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-jest": "^23.9.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^26.0.1",
"parcel-bundler": "^1.12.4",
"prettier": "^2.0.2",
"web-ext": "^4.2.0",
"webextension-polyfill": "^0.6.0"
},
"scripts": {
"parcel:polyfill": "mkdir -p dist/ && cp node_modules/webextension-polyfill/dist/browser-polyfill.min.js dist/polyfill.js",
"parcel:build": "yarn parcel:polyfill && parcel build --no-source-maps src/scripts/*",
"parcel:watch": "yarn parcel:polyfill && parcel watch --no-source-maps src/scripts/*",
"parcel:clean": "rm -rf dist/*",
"parcel:rebuild": "yarn parcel:clean && yarn parcel:build",
"parcel:test": "jest",
"assets:optimize": "optipng assets/*",
"firefox:run": "mkdir -p .profiles/firefox/ && web-ext run",
"firefox:test": "./tests/run_firefox.sh",
"chromium:run": "mkdir -p .profiles/chromium/ && web-ext run --target chromium",
"chromium:test": "./tests/run_chromium.sh",
"build": "yarn parcel:rebuild && web-ext lint && web-ext build",
"clean": "yarn parcel:clean && rm -rf web-ext-artifacts/*",
"rebuild": "yarn clean && yarn build",
"test": "yarn parcel:test && yarn firefox:test && yarn chromium:test"
},
"webExt": {
"ignoreFiles": [
"assets/",
"node_modules/",
"tests/",
"web-ext-artifacts/"
],
"build": {
"overwriteDest": true
},
"run": {
"browserConsole": true,
"keepProfileChanges": true,
"firefoxProfile": ".profiles/firefox",
"chromiumProfile": ".profiles/chromium",
"watchFile": "dist/dmv.js",
"startUrl": [
"https://www.dungeonmastersvault.com/pages/dnd/5e/characters",
"https://app.roll20.net"
]
}
}
}