-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
117 lines (117 loc) · 5.19 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "liascript",
"version": "0.14.12",
"author": "André Dietrich",
"license": "BSD-3-Clause",
"description": "An extended Markdown interpreter for the creation of interactive online courses.",
"repository": {
"type": "git",
"url": "git://github.com/liascript/liascript.git"
},
"bugs": {
"url": "https://github.com/LiaScript/LiaScript/issues",
"email": "LiaScript@web.de"
},
"homepage": "https://github.com/LiaScript/LiaScript/tree/master/README.md",
"keywords": [
"LiaScript",
"education",
"OER",
"Markdown"
],
"man": [
"https://github.com/LiaScript/docs/README.md"
],
"scripts": {
"clean": "rm -rf dist .parcel-cache",
"sw": "npx workbox injectManifest workbox-config.js",
"translate": "elm-i18n-gen lia-localization/locale src/elm/Translations.elm",
"test": "npx elm-test",
"analyze": "npm run clean && npx parcel build --no-source-maps --reporter @parcel/reporter-bundle-analyzer src/entry/app/index.html",
"watch": "npm run watch:dev",
"build": "npm run build:app",
"build:app": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/app/index.html && npm run sw",
"watch:app": "npx parcel serve src/entry/app/index.html --open",
"build:indexeddb": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/indexeddb/index.html",
"watch:indexeddb": "npx parcel serve src/entry/indexeddb/index.html --open",
"watch:base": "npx parcel serve src/entry/base/index.html",
"build:base": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/base/index.html",
"build:dev": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/dev/index.html && npm run sw",
"watch:dev": "npx parcel serve src/entry/dev/index.html --open",
"build:library": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/library/index.ts",
"watch:library": "npx parcel serve src/entry/library/index.html --open",
"build:preview": "npx parcel build --no-source-maps --public-url . src/typescript/webcomponents/preview-lia.ts",
"build:scorm1.2": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/scorm1.2/index.html",
"watch:scorm1.2": "npx parcel serve src/entry/scorm1.2/index.html",
"build:scorm2004": "npm run clean && ./node_modules/parcel/lib/bin.js build --no-source-maps --public-url . src/entry/scorm2004/index.html",
"watch:scorm2004": "npx parcel serve src/entry/scorm2004/index.html",
"build:worker": "npm run clean && npx parcel build --no-source-maps --target node src/entry/worker/index.js",
"watch:webcomponent": "npx parcel serve src/entry/webcomponent/index.html --open",
"build:webcomponent": "npm run clean && npx parcel build --no-source-maps src/entry/webcomponent/index.ts && rm dist/README.md",
"build:webcomponentPublic": "npm run clean && npx parcel build --no-source-maps --public-url https://liascript.github.io/webcomponent/ src/entry/webcomponent/index.ts && rm dist/README.md",
"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'"
},
"devDependencies": {
"@convergencelabs/ace-collab-ext": "^0.6.0",
"@parcel/packager-raw-url": "^2.8.3",
"@parcel/reporter-bundle-analyzer": "^2.8.3",
"@parcel/transformer-elm": "^2.8.3",
"@parcel/transformer-image": "^2.8.3",
"@parcel/transformer-inline-string": "^2.8.3",
"@parcel/transformer-sass": "^2.8.3",
"@parcel/transformer-webmanifest": "^2.8.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"ace-builds": "^1.32.8",
"caniuse-lite": "^1.0.30001600",
"crypto-browserify": "^3.12.0",
"dexie": "^2.0.4",
"easy-speech": "^2.3.1",
"echarts": "^5.5.0",
"echarts-wordcloud": "^2.0.0",
"elm": "^0.19.1-5",
"elm-hot": "^1.1.6",
"elm-review": "^2.10.2",
"elm-test": "^0.19.1-revision6",
"eslint": "^7.32.0",
"events": "^3.3.0",
"katex": "^0.16.10",
"logger.ts": "^1.0.5",
"node-elm-compiler": "^5.0.6",
"p2pt": "^1.5.1",
"parcel": "^2.8.3",
"parcel-reporter-static-files-copy": "^1.5.0",
"pdfast": "^0.2.0",
"process": "^0.11.10",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.71.1",
"tsc": "^2.0.4",
"typescript": "^4.9.5",
"uint8-to-base64": "^0.2.0",
"util": "^0.12.5",
"workbox-cli": "^7.0.0",
"y-utility": "^0.1.3",
"yjs": "^13.6.12"
},
"browserslist": [
"cover 95.0%"
],
"staticFiles": [
{
"staticPath": "static"
},
{
"staticPath": "node_modules/katex/dist/katex.min.css"
},
{
"staticPath": "node_modules/ace-builds/src-min-noconflict"
}
],
"directories": {
"test": "tests"
},
"dependencies": {
"pako": "^2.1.0"
}
}