UNPKG

lighterhtml

Version:

The hyperHTML strength & experience without its complexity

67 lines (66 loc) 2.36 kB
{ "name": "lighterhtml", "version": "4.2.0", "description": "The hyperHTML strength & experience without its complexity", "main": "cjs/index.js", "module": "esm/index.js", "unpkg": "min.js", "scripts": { "build": "npm run rollup && npm run es && npm run clean && npm run cjs && npm run min && npm run size", "cjs": "ascjs esm cjs", "clean": "sed -i.bck -e 's/var isNoOp =.*/var isNoOp = false;/' index.js && sed -i.bck 's/(exports)/(document,exports)/;s/({}));/(document,{}));/' index.js && rm index.js.bck", "es": "rollup --config es.config.js && echo '/*! (c) Andrea Giammarchi - ISC */' > es.mjs && cat es.js | sed 's/\\/\\*! (c) Andrea Giammarchi - ISC \\*\\///' >> es.mjs && mv es.mjs es.js", "min": "echo '/*! (c) Andrea Giammarchi - ISC */' > min.js && terser index.js -c -m | sed 's/\\/\\*! (c) Andrea Giammarchi - ISC \\*\\///' >> min.js", "rollup": "rollup --config rollup.config.js && drop-babel-typeof index.js", "test": "echo 'no test for CI'", "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;brotli -c9 min.js | wc -c;cat es.js | wc -c;gzip -c9 es.js | wc -c;brotli -c9 es.js | wc -c" }, "keywords": [ "html", "svg", "render", "hyper", "lit", "alternative" ], "author": "Andrea Giammarchi", "license": "ISC", "devDependencies": { "@babel/core": "^7.11.4", "@babel/preset-env": "^7.11.0", "@rollup/plugin-babel": "^5.2.0", "@rollup/plugin-node-resolve": "^9.0.0", "ascjs": "^4.0.1", "babel-plugin-remove-ungap": "^1.2.0", "drop-babel-typeof": "^1.0.3", "rollup": "^2.26.5", "rollup-plugin-terser": "^7.0.0", "terser": "^5.2.1" }, "dependencies": { "@ungap/create-content": "^0.2.0", "@ungap/weakmap": "^0.2.1", "domsanitizer": "^0.2.3", "domtagger": "^0.7.1", "hyperhtml-style": "^0.1.2", "udomdiff": "^1.1.0", "uhandlers": "^0.4.2", "umap": "^1.0.2", "uwire": "^1.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/WebReflection/lighterhtml.git" }, "greenkeeper": { "ignore": [ "rollup", "rollup-plugin-babel", "rollup-plugin-node-resolve" ] }, "bugs": { "url": "https://github.com/WebReflection/lighterhtml/issues" }, "homepage": "https://github.com/WebReflection/lighterhtml#readme" }