UNPKG

rollup-plugin-babel-minify

Version:

Simple rollup plugin for minifying code using babel-minify.

103 lines (102 loc) 2.77 kB
{ "name": "rollup-plugin-babel-minify", "version": "7.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": "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 15000 --require @babel/register", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "commitmsg": "is-ci && exit 0 || commitplease .git/COMMIT_EDITMSG", "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": ">=6.0.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.0.0" }, "devDependencies": { "@babel/plugin-syntax-async-generators": "^7.2.0", "@babel/preset-env": "^7.0.0", "@babel/register": "^7.0.0", "@comandeer/eslint-config": "^0.1.0", "@comandeer/is-ci": "^1.0.0", "@comandeer/rollup-lib-bundler": "^0.7.0", "chai": "^4.1.2", "codecov": "^3.0.1", "commitplease": "^3.1.0", "cz-conventional-changelog": "^2.1.0", "eslint": "^5.0.0", "husky": "^1.0.0", "mocha": "^5.0.0", "nyc": "^13.0.1", "rimraf": "^2.6.2", "rollup": "^1.0.0", "sourcemap-validator": "^1.0.6" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "@babel/core": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@comandeer/babel-plugin-banner": "^4.0.0", "babel-preset-minify": "^0.5.0", "sourcemap-codec": "^1.4.3" } }