UNPKG

@liascript/editor

Version:

An extended Markdown interpreter for the creation of interactive online courses.

126 lines (125 loc) 6 kB
{ "name": "@liascript/editor", "version": "1.1.34--0.17.3", "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#editor" }, "bugs": { "url": "https://github.com/LiaScript/LiaScript/issues", "email": "LiaScript@web.de" }, "homepage": "https://github.com/LiaScript/LiaScript/blob/development/docs/EDITOR.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", "prebuild": "npx parcel build --no-source-maps --no-optimize --public-url . 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", "watch:opal": "npx parcel serve src/entry/opal/index.html", "build:opal": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/opal/index.html", "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", "build:xapi": "npm run clean && npx parcel build --no-source-maps --public-url . src/entry/xapi/index.html", "watch:xapi": "npx parcel serve src/entry/xapi/index.html", "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'" }, "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", "@types/katex": "^0.16.7", "@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/parser": "^8.31.0", "@webcomponents/webcomponentsjs": "^2.8.0", "abortcontroller-polyfill": "^1.7.8", "ace-builds": "^1.42.0", "caniuse-lite": "^1.0.30001722", "crypto-browserify": "^3.5.1", "dexie": "^4.0.11", "easy-speech": "^2.4.0", "echarts": "^5.6.0", "echarts-wordcloud": "^2.1.0", "elm": "^0.19.1-5", "elm-hot": "^1.1.6", "elm-optimize-level-2": "^0.3.5", "elm-review": "^2.13.2", "elm-test": "^0.19.1-revision12", "eslint": "^9.25.1", "events": "^3.3.0", "jszip": "^3.10.1", "katex": "^0.16.22", "logger.ts": "^1.0.5", "minify": "^9.2.0", "node-elm-compiler": "^5.0.6", "p2pt": "^1.5.1", "parcel": "^2.8.3", "parcel-reporter-static-files-copy": "^1.5.3", "path-browserify": "^1.0.1", "pdfast": "^0.2.0", "process": "^0.11.10", "resize-observer-polyfill": "^1.5.1", "sass": "^1.87.0", "tsc": "^2.0.4", "typescript": "^5.8.3", "uint8-to-base64": "^0.2.0", "util": "^0.12.5", "workbox-cli": "^7.1.0", "y-utility": "^0.1.3", "yjs": "^13.6.12" }, "browserslist": [ "cover 83.0%" ], "staticFiles": [ { "staticPath": "static" }, { "staticPath": "node_modules/ace-builds/src-min-noconflict" } ], "directories": { "test": "tests" }, "dependencies": { "pako": "^2.1.0" } }