uparser
Version:
The uhtml template parser
52 lines (51 loc) • 1.69 kB
JSON
{
"name": "uparser",
"version": "0.2.1",
"description": "The uhtml template parser",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run fix:default && npm run test && npm run size",
"cjs": "ascjs --no-default esm cjs",
"rollup:es": "rollup --config rollup/es.config.js",
"rollup:babel": "rollup --config rollup/babel.config.js",
"min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js",
"fix:default": "sed -i 's/({})/({}).default/' index.js && sed -i 's/({})/({}).default/' es.js && sed -i 's/({})/({}).default/' min.js",
"size": "cat min.js | brotli | wc -c && cat es.js | brotli | wc -c",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc node test/index.js"
},
"keywords": [
"uhtml",
"template",
"parser"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"ascjs": "^3.1.2",
"coveralls": "^3.0.9",
"nyc": "^15.0.0",
"rollup": "^1.32.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.2.0",
"uglify-js": "^3.8.0"
},
"module": "./esm/index.js",
"type": "module",
"exports": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"unpkg": "min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/uparser.git"
},
"bugs": {
"url": "https://github.com/WebReflection/uparser/issues"
},
"homepage": "https://github.com/WebReflection/uparser#readme"
}