tag-params
Version:
Transform a generic string into parameters suitable for template literals functions tags
51 lines (50 loc) • 1.64 kB
JSON
{
"name": "tag-params",
"version": "1.0.6",
"description": "Transform a generic string into parameters suitable for template literals functions tags",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run test",
"cjs": "ascjs --no-default esm cjs",
"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 --comments='/^!/' -c -m -o min.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc node test/index.js"
},
"keywords": [
"template",
"tag",
"parameters",
"transformer"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"ascjs": "^4.0.1",
"coveralls": "^3.1.0",
"nyc": "^15.1.0",
"rollup": "^2.16.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^6.1.0",
"terser": "^4.7.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/tag-params.git"
},
"bugs": {
"url": "https://github.com/WebReflection/tag-params/issues"
},
"homepage": "https://github.com/WebReflection/tag-params#readme"
}