{ "name": "hyperhtml", "version": "2.24.0", "description": "A Fast & Light Virtual DOM Alternative", "homepage": "https://viperhtml.js.org/hyper.html", "unpkg": "min.js", "main": "cjs/index.js", "module": "esm/index.js", "types": "index.d.ts", "scripts": { "$": "npm-dollar", "build": "npm run $ build", "bundle": "npm run $ bundle", "coveralls": "cat ./coverage/lcov.info | coveralls", "postinstall": "lightercollective", "test": "npm run $ test" }, "$": { "bundle": { "max": [ "rollup --config rollup.config.js", "$ clean.esm", "drop-babel-typeof index.js" ], "min": [ [ "echo \"/*! (c) Andrea Giammarchi (ISC) */$(", "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m", ")\" > min.js" ] ], "ie": [ [ "rollup --config rollup.ie.js" ] ], "umd": [ [ "echo \"(function(A,G){if(typeof define=='function'&&define.amd)define([],G);else", "if(typeof module=='object'&&module.exports)module.exports=G();else", "A.hyperHTML=G()}(typeof self!='undefined'?self:this,function(){\">umd.js;cat", "min.js>>umd.js;echo \"return hyperHTML}));\">>umd.js" ] ], "esm": [ "cp min.js esm.js", "echo 'export default hyperHTML;' >> esm.js", "echo 'export const {Component, bind, define, diff, hyper, wire} = hyperHTML;' >> esm.js" ] }, "build": [ "$ cjs", "$ clean.cjs index.js", "$ clean.cjs classes/Component.js", "$ clean.cjs hyper/render.js", "$ clean.cjs objects/Updates.js", "$ clean.cjs shared/utils.js", "$ clean.cjs hyper/wire.js", "$ bundle.max", "$ bundle.min", "$ bundle.umd", "$ bundle.esm", "$ bundle.ie", "$ test", "$ size" ], "clean": { "cjs": "sed -i.bck 's/m.default : m/\\/* istanbul ignore next *\\/ m.default : \\/* istanbul ignore next *\\/ m/g' cjs/$1 && rm -f cjs/$1.bck", "esm": [ [ "cat index.js |", "sed 's/(exports)/(document)/' |", "sed 's/return exports;/return hyper;/' |", "sed -e 's/exports.*;//g' |", "sed '/var createContent$1 =/,/(document);/d' |", "sed 's/createContent$1/createContent/' |", "sed 's/({})/(document)/' > index.clean" ], "mv index.clean index.js" ] }, "cjs": [ "ascjs ./esm ./cjs" ], "size": { "gzip": [ [ "cat index.js |", "wc -c;cat min.js |", "wc -c;gzip -c9 min.js |", "wc -c" ] ], "brotli": "cat min.js | brotli | wc -c" }, "test": [ "istanbul cover test/runner.js" ] }, "repository": { "type": "git", "url": "git+https://github.com/WebReflection/hyperhtml.git" }, "keywords": [ "dom", "diff", "performance", "template", "literals", "lightweight", "fast", "react", "virtual", "lit-html", "alternative" ], "author": "Andrea Giammarchi", "license": "ISC", "bugs": { "url": "https://github.com/WebReflection/hyperhtml/issues" }, "devDependencies": { "@babel/core": "^7.2.2", "@babel/preset-env": "^7.2.0", "ascjs": "^2.4.0", "basichtml": "^0.21.0", "coveralls": "^3.0.2", "drop-babel-typeof": "^1.0.1", "istanbul": "^0.4.5", "npm-dollar": "^2.1.3", "rollup": "^0.67.0", "rollup-plugin-babel": "^4.1.0", "rollup-plugin-node-resolve": "^4.0.0", "tressa": "^0.3.1", "uglify-js": "^2.8.29" }, "greenkeeper": { "ignore": [ "rollup-plugin-babel", "uglify-js" ] }, "dependencies": { "@ungap/create-content": "^0.1.4", "@ungap/custom-event": "^0.2.0", "@ungap/essential-map": "^0.1.7", "@ungap/essential-weakset": "^0.1.2", "@ungap/is-array": "^0.1.1", "@ungap/template-literal": "^0.1.0", "@ungap/weakmap": "^0.1.4", "disconnected": "^0.1.6", "domdiff": "^2.0.2", "domtagger": "^0.2.3", "hyperhtml-style": "^0.1.2", "hyperhtml-wire": "^1.0.0", "lightercollective": "^0.2.0" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/hyperhtml", "logo": "logo.txt" } }