UNPKG

smartdown

Version:

A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.

121 lines (120 loc) 4.58 kB
{ "name": "smartdown", "version": "1.0.71", "description": "A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.", "main": "dist/lib/smartdown.js", "scripts": { "makeCert": "cd ssl/ && ./makeCert.sh", "clean": "rm -rf ./dist/", "doc": "npm run builddoc && cd distdoc/ && ln -fs . ./doc && ln -fs . ./smartdown && (sleep 1 && open http://127.0.0.1:4001/smartdown/doc/ &) && http-server -c-1 -p 4001 .", "rmdsstore": "find . -name '.DS_Store' -print -delete", "pack": "npm run rmdsstore && npm run build && npm run builddoc && npm pack", "analyze": "npm run clean && BUILD=analyze node_modules/.bin/webpack --progress", "devdoc": "node doc/build.js", "builddoc": "rm -rf distdoc/ distdocts/ && tsc --build doc/tsconfig_for_docs.json && BUILD=production node doc/build.js", "buildnoclean": "BUILD=production node_modules/.bin/webpack --progress", "build": "npm run clean && npm run builddoc && npm run buildnoclean", "devbuild": "npm run buildnoclean && (mkdir devdist/ && mv dist devdist/smartdown/ && mv devdist dist) && npm run serve", "serve": "http-server --cors -p 4000 -c-1 -S -C ./ssl/cert.crt -K ./ssl/cert.key dist", "ghpublish": "./publish.sh", "watch": "BUILD=development node_modules/.bin/webpack --devtool=source-map --watch --progress", "dev": "(npm run serve &) && npm run watch", "lint": "node_modules/.bin/eslint 'src/**.js' 'src/**.ts'", "linttest": "node_modules/.bin/eslint test/*.js test/*/*.js", "test": "npm run test:unit && npm run test:e2e", "test:e2e": "node_modules/.bin/nightwatch", "test:unit": "NODE_ENV=production BUILD=test instant-mocha --require test/mocha-setup.js test/mocha/*.spec.js" }, "files": [ "dist/lib", "dist/doc" ], "repository": { "type": "git", "url": "git+https://github.com/smartdown/smartdown.git" }, "keywords": [ "markdown", "smartdown", "marked", "p5js", "mathjax" ], "author": "Daniel Keith <dan@quantumclay.com> (https://doctorbud.com)", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/smartdown/smartdown/issues" }, "homepage": "https://github.com/smartdown/smartdown#readme", "devDependencies": { "@babel/core": "^7.24.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-modules-umd": "7.24.1", "@babel/plugin-transform-runtime": "^7.24.3", "@babel/preset-env": "^7.24.4", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", "autoprefixer": "^10.4.19", "babel-eslint": "^10.1.0", "babel-loader": "^9.1.3", "chromedriver": "^124.0.1", "copy-webpack-plugin": "^12.0.2", "css-loader": "6.10.0", "docma": "^3.2.2", "eslint": "^8.57.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-plugin-import": "^2.29.1", "file-loader": "^6.2.0", "filemanager-webpack-plugin": "^8.0.0", "html-webpack-plugin": "^5.6.0", "http-server": "^14.1.1", "instant-mocha": "^1.5.2", "jsdom": "^24.0.0", "mini-css-extract-plugin": "^2.9.0", "mkcert": "^3.2.0", "nightwatch": "^3.6.1", "node-sass": "^9.0.0", "null-loader": "^4.0.1", "postcss-loader": "8.1.1", "postcss-smart-import": "^0.7.6", "precss": "^4.0.0", "sass-loader": "^14.2.1", "source-map": "^0.7.4", "style-loader": "^3.3.4", "ts-loader": "^9.5.1", "typescript": "5.4.5", "webpack": "^5.91.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.0.4", "webpack-node-externals": "^3.0.0" }, "dependencies": { "@babel/runtime": "^7.24.4", "@stdlib/dist-datasets-sotu": "0.0.96", "@stdlib/dist-datasets-tree-exclude": "0.0.96", "@stdlib/dist-tree": "0.0.96", "@webcomponents/webcomponentsjs": "^2.8.0", "axios": "^1.6.8", "base64-js": "^1.5.1", "brython": "^3.12.3", "dompurify": "^3.1.1", "emoji-js": "^3.8.0", "file-saver": "^2.0.5", "gifffer": "^1.5.4", "highlight.js": "^11.9.0", "ieee754": "^1.2.1", "js-yaml": "^4.1.0", "localforage": "^1.10.0", "lodash": "^4.17.21", "marked": "^3.0.8", "p5": "^1.9.3", "smartdown-gallery": "0.0.85", "smoothscroll-polyfill": "^0.4.4", "stacktrace-js": "^2.0.2", "vdom-to-html": "^2.3.1", "virtual-dom": "^2.1.1", "viz.js": "^2.1.2", "web-audio-mock-api": "^1.0.0" } }