UNPKG

uhtml

Version:
73 lines (72 loc) 2.3 kB
{ "name": "uhtml", "version": "2.6.1", "description": "A micro HTML/SVG render", "main": "cjs/index.js", "scripts": { "build": "npm run cjs && npm run rollup:async && npm run rollup:es && npm run rollup:babel && drop-babel-typeof ./index.js && npm run min && npm run test && npm run size", "cjs": "rm cjs/*.js && ascjs esm cjs", "rollup:async": "rollup --config rollup/async.config.js && sed -i.bck 's/^var /self./' async.js && rm -rf async.js.bck", "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck", "rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck", "min": "terser index.js -c -m -o min.js", "size": "cat min.js | brotli | wc -c && cat es.js | brotli | wc -c", "coveralls": "c8 report --reporter=text-lcov | coveralls", "test": "c8 node test/coverage.js" }, "keywords": [ "micro", "HTML", "render" ], "author": "Andrea Giammarchi", "license": "ISC", "devDependencies": { "@babel/core": "^7.13.8", "@babel/preset-env": "^7.13.9", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-node-resolve": "^11.2.0", "@ungap/degap": "^0.2.5", "ascjs": "^5.0.1", "c8": "^7.6.0", "coveralls": "^3.1.0", "drop-babel-typeof": "^1.0.3", "linkedom": "^0.5.5", "rollup": "^2.40.0", "rollup-plugin-includepaths": "^0.2.4", "rollup-plugin-terser": "^7.0.2", "terser": "^5.6.0" }, "dependencies": { "@ungap/create-content": "^0.3.1", "async-tag": "^0.2.0", "uarray": "^1.0.0", "udomdiff": "^1.1.0", "uhandlers": "^0.5.0", "umap": "^1.0.2", "uparser": "^0.2.1", "uwire": "^1.1.0" }, "module": "./esm/index.js", "type": "module", "exports": { ".": { "import": "./esm/index.js", "default": "./cjs/index.js" }, "./async": { "import": "./esm/async.js", "default": "./cjs/async.js" }, "./package.json": "./package.json" }, "unpkg": "min.js", "repository": { "type": "git", "url": "git+https://github.com/WebReflection/uhtml.git" }, "bugs": { "url": "https://github.com/WebReflection/uhtml/issues" }, "homepage": "https://github.com/WebReflection/uhtml#readme" }