UNPKG

rollup-plugin-babel-minify

Version:

Simple rollup plugin for minifying code using babel-minify.

105 lines (104 loc) 2.85 kB
{ "name": "rollup-plugin-babel-minify", "version": "10.0.0", "description": "Simple rollup plugin for minifying code using babel-minify.", "main": "dist/rollup-plugin-babel-minify.js", "jsnext:main": "dist/rollup-plugin-babel-minify.es2015.js", "module": "dist/rollup-plugin-babel-minify.es2015.js", "scripts": { "prebuild-docs": "rimraf docs", "build-docs": "npx jsdoc src -c .jsdocrc -R README.md -d docs", "postbuild-docs": "cd docs && touch .nojekyll", "prebuild": "rimraf dist", "build": "rlb", "lint": "eslint src/**/*.js tests/*.js tests/helpers/**/*.js", "pretest": "npm run lint && npm run build", "test": "nyc mocha tests/*.js --timeout 30000 --require @babel/register", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "version": "npm test && git add -f dist/", "postversion": "git rm -r --cached dist/ && git commit -m \"chore(dist): clean after release [ci skip]\" && git push origin && git push origin --tags" }, "engines": { "node": ">=10.13.0" }, "repository": { "type": "git", "url": "git+https://github.com/Comandeer/rollup-plugin-babel-minify.git" }, "files": [ "dist" ], "keywords": [ "rollup", "rollup-plugin", "babili", "minify" ], "author": "Comandeer", "license": "MIT", "bugs": { "url": "https://github.com/Comandeer/rollup-plugin-babel-minify/issues" }, "homepage": "https://github.com/Comandeer/rollup-plugin-babel-minify#readme", "nyc": { "include": [ "src/**/*.js" ], "exclude": [ "dist/**/*.js", "tests/**/*.js" ] }, "commitplease": { "nohook": true, "style": "angular", "types": [ "feat", "fix", "docs", "style", "refactor", "perf", "test", "build", "ci", "chore", "revert" ], "scope": "\\S+.*" }, "peerDependencies": { "rollup": ">=1.6.0" }, "devDependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/preset-env": "^7.8.7", "@babel/register": "^7.8.6", "@comandeer/eslint-config": "^0.2.2", "@comandeer/is-ci": "^2.0.0", "@comandeer/rollup-lib-bundler": "^0.9.0", "chai": "^4.2.0", "codecov": "^3.6.5", "commitplease": "^3.2.0", "cz-conventional-changelog": "^3.1.0", "eslint": "^6.8.0", "husky": "^4.2.3", "mocha": "^7.1.0", "nyc": "^15.0.0", "rimraf": "^3.0.2", "rollup": "^2.0.6", "sourcemap-validator": "^2.1.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "@babel/core": "^7.8.7", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@comandeer/babel-plugin-banner": "^5.0.0", "babel-preset-minify": "^0.5.1", "sourcemap-codec": "^1.4.8" } }