UNPKG

veljs

Version:

VirtualElement.js - a lighterhtml based virtual elements for building web applications

66 lines (65 loc) 2.23 kB
{ "name": "veljs", "version": "0.7.3", "description": "VirtualElement.js - a lighterhtml based virtual elements for building web applications", "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 && sed -i.bck 's/var /\\/*! VirtualElement.js, by Cvetoslav Ludmiloff *\\/var /' es.js && rm es.js.bck", "min": "echo '/*! VirtualElement.js, by Cvetoslav Ludmiloff */' > min.js && uglifyjs index.js -c -m >> min.js", "rollup": "rollup --config rollup.config.js && drop-babel-typeof index.js", "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat es.js | wc -c;gzip -c9 es.js | wc -c" }, "keywords": [ "custom", "elements", "virtual", "lighterhtml" ], "author": "Cvetoslav Ludmiloff", "license": "MIT", "dependencies": { "@ungap/event": "^0.1.4", "@ungap/template-literal": "^0.4.1", "@ungap/weakmap": "^0.1.4", "@ungap/weakset": "^0.1.5", "hyphenizer": "^0.1.1", "lighterhtml": "^1.0.6" }, "peerDependencies": { "babel-plugin-veljs-jsx": "^0.7.1" }, "devDependencies": { "@babel/core": "^7.4.4", "@babel/preset-env": "^7.4.4", "@ungap/degap": "^0.1.2", "ascjs": "^3.0.1", "drop-babel-typeof": "^1.0.3", "rollup": "^1.10.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-includepaths": "^0.2.3", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^5.1.1", "uglify-es": "^3.3.9" }, "repository": { "type": "git", "url": "git+https://github.com/ludmiloff/VirtualElement.git" }, "greenkeeper": { "ignore": [ "uglify-js", "rollup", "rollup-plugin-babel", "rollup-plugin-node-resolve" ] }, "bugs": { "url": "https://github.com/ludmiloff/VirtualElement/issues" }, "homepage": "https://github.com/ludmiloff/VirtualElement" }