@liascript/editor 1.1.41--1.0.1 → 1.1.41--1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.4e5c4f77.js +1 -0
- package/dist/index.9f5223b1.js +1 -0
- package/dist/index.ad8ee51a.css +1 -0
- package/dist/index.html +1 -1
- package/package.json +3 -1
- package/dist/index.1711bf72.js +0 -1
- package/dist/index.571c392b.js +0 -1
- package/dist/index.aa2791ec.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liascript/editor",
|
|
3
|
-
"version": "1.1.41--1.0.
|
|
3
|
+
"version": "1.1.41--1.0.2",
|
|
4
4
|
"author": "André Dietrich",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"description": "An extended Markdown interpreter for the creation of interactive online courses.",
|
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
"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",
|
|
55
55
|
"build:xapi": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/xapi/index.html",
|
|
56
56
|
"watch:xapi": "npx parcel serve src/entry/xapi/index.html",
|
|
57
|
+
"build:h5p": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/h5p/index.html",
|
|
58
|
+
"watch:h5p": "npx parcel serve src/entry/h5p/index.html",
|
|
57
59
|
"minify:js": "find dist -name \"*.js\" -print0 | xargs -0 -P 4 -I {} sh -c 'before=$(wc -c < {}); if npx minify {} > {}.min 2>/dev/null; then 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; else echo \"{} minification failed, skipping\"; fi'"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|