-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
40 lines (40 loc) · 1.71 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
{
"name": "edrys-lite",
"version": "1.0.0",
"description": "Browser based edrys-clone that uses the WebTorrent network sharing labs",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sw": "npx workbox injectManifest workbox-config.js",
"build": "rm -rf .parcel-cache && rm -rf dist && npx parcel build src/index.html --log-level verbose --no-source-maps --public-url ./",
"watch": "rm -rf dist && npx parcel serve src/*.html --no-cache --no-source-maps --open --port 6999",
"minify:js": "find dist -name \"*.js\" -print0 | xargs -0 -P 4 -I {} sh -c 'before=$(wc -c < {}); minify {} > {}.min && after=$(wc -c < {}.min); if [ ${after} -lt ${before} ]; then mv {}.min {}; reduction=$((${before}-${after})); percent=$(awk \"BEGIN {printf \\\"%.2f\\\", ${reduction}/${before}*100}\"); echo \"{} reduced from ${before} to ${after} bytes (${percent}% reduction)\"; else rm {}.min; echo \"{} no reduction achieved, file size unchanged\"; fi'"
},
"author": "André Dietrich",
"license": "Mozilla Public License Version 2.0",
"devDependencies": {
"@parcel/transformer-sass": "^2.9.3",
"@parcel/transformer-vue": "^2.9.3",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"caniuse-lite": "^1.0.30001579",
"create-vuetify": "^1.1.0",
"dexie": "^3.2.4",
"events": "^3.3.0",
"js-yaml": "^4.1.0",
"p2pt": "^1.5.1",
"parcel": "^2.9.3",
"parcel-reporter-static-files-copy": "^1.5.3",
"process": "^0.11.10",
"vue-prism-editor": "^2.0.0-alpha.2",
"vuedraggable": "^4.1.0",
"vuetify": "^3.3.16"
},
"dependencies": {
"material-design-icons-iconfont": "^6.7.0",
"muuri": "^0.9.5",
"prismjs": "^1.29.0"
},
"browserslist": [
"cover 95.0%"
]
}