-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
75 lines (75 loc) · 3.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
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "liveeditor",
"version": "1.0.0",
"description": "LiveEditor for LiaScript",
"scripts": {
"sw": "npx workbox injectManifest workbox-config.js",
"build": "rm -rf dist && npm run build:index && npm run purge && npm run sw && npm run build:examples && npm run minify:js",
"build:index": "npx parcel build src/index.html --no-source-maps --public-url ./",
"build:examples": "npx parcel build src/examples.html --no-source-maps --public-url ./",
"watch": "rm -rf dist && npx parcel serve src/*.html --no-cache --no-source-maps --open --port 4321",
"webrtc": "PORT=4444 node node_modules/y-webrtc/bin/server.js",
"minify:js": "find dist -name \"index*.js\" -print0 | xargs -0 -P 4 -I {} sh -c 'before=$(wc -c < {}); npx 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'",
"purge": "cd dist && rm a* bat* bicep* c*.js d* ecl* elixir* f* g* h* ini* j* k* less* liquid* lua* lexon* m3* mips* msdax* mysql* obj* p* q* r* s*.*.js t* v* w* x* y* && cd ..",
"analyze": "rm -rf dist && npx parcel build --no-source-maps --reporter @parcel/reporter-bundle-analyzer src/index.html"
},
"author": "André Dietrich",
"license": "ISC",
"dependencies": {
"@liascript/editor": "^1.1.7--0.16.7",
"@susisu/mte-kernel": "^2.1.1",
"mathjs": "^12.0.0",
"minisearch": "^6.3.0",
"pako": "^2.1.0",
"splitpanes": "^3.1.5"
},
"devDependencies": {
"@parcel/packager-raw-url": "^2.12.0",
"@parcel/reporter-bundle-analyzer": "^2.12.0",
"@parcel/transformer-sass": "^2.12.0",
"@parcel/transformer-vue": "^2.12.0",
"@parcel/transformer-webmanifest": "^2.12.0",
"@types/node": "^22.1.0",
"assert": "^2.0.0",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"browserify-zlib": "^0.2.0",
"buffer": "^5.7.1",
"caniuse-lite": "^1.0.30001651",
"date-format-simple": "^1.1.5",
"dexie": "^3.2.4",
"events": "^3.3.0",
"jszip": "^3.10.1",
"minify": "^9.2.0",
"monaco-editor": "^0.39.0",
"parcel": "^2.12.0",
"parcel-reporter-multiple-static-file-copier": "^1.0.5",
"parcel-reporter-static-files-copy": "^1.4.0",
"parcel-resolver-ignore": "^2.1.3",
"process": "^0.11.10",
"sass": "^1.69.5",
"shrink-string": "^3.0.11",
"stream-browserify": "^3.0.0",
"vue": "^3.3.9",
"vue3-mic-recorder": "github:andre-dietrich/vue3-mic-recorder",
"workbox-cli": "^7.0.0",
"y-indexeddb": "^9.0.9",
"y-monaco": "^0.1.4",
"y-webrtc": "github:disarticulate/y-webrtc",
"y-websocket": "^1.5.0",
"yjs": "^13.6.5"
},
"multipleStaticFileCopier": [
{
"origin": "node_modules/@liascript/editor/dist",
"destination": "dist/liascript"
}
],
"parcelIgnore": [
"liascript/.+",
"show/.+"
],
"browserslist": [
"cover 80.0%"
]
}