UNPKG

2.85 kBJSONView Raw
1{
2 "name": "rollup-plugin-babel-minify",
3 "version": "10.0.0",
4 "description": "Simple rollup plugin for minifying code using babel-minify.",
5 "main": "dist/rollup-plugin-babel-minify.js",
6 "jsnext:main": "dist/rollup-plugin-babel-minify.es2015.js",
7 "module": "dist/rollup-plugin-babel-minify.es2015.js",
8 "scripts": {
9 "prebuild-docs": "rimraf docs",
10 "build-docs": "npx jsdoc src -c .jsdocrc -R README.md -d docs",
11 "postbuild-docs": "cd docs && touch .nojekyll",
12 "prebuild": "rimraf dist",
13 "build": "rlb",
14 "lint": "eslint src/**/*.js tests/*.js tests/helpers/**/*.js",
15 "pretest": "npm run lint && npm run build",
16 "test": "nyc mocha tests/*.js --timeout 30000 --require @babel/register",
17 "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
18 "version": "npm test && git add -f dist/",
19 "postversion": "git rm -r --cached dist/ && git commit -m \"chore(dist): clean after release [ci skip]\" && git push origin && git push origin --tags"
20 },
21 "engines": {
22 "node": ">=10.13.0"
23 },
24 "repository": {
25 "type": "git",
26 "url": "git+https://github.com/Comandeer/rollup-plugin-babel-minify.git"
27 },
28 "files": [
29 "dist"
30 ],
31 "keywords": [
32 "rollup",
33 "rollup-plugin",
34 "babili",
35 "minify"
36 ],
37 "author": "Comandeer",
38 "license": "MIT",
39 "bugs": {
40 "url": "https://github.com/Comandeer/rollup-plugin-babel-minify/issues"
41 },
42 "homepage": "https://github.com/Comandeer/rollup-plugin-babel-minify#readme",
43 "nyc": {
44 "include": [
45 "src/**/*.js"
46 ],
47 "exclude": [
48 "dist/**/*.js",
49 "tests/**/*.js"
50 ]
51 },
52 "commitplease": {
53 "nohook": true,
54 "style": "angular",
55 "types": [
56 "feat",
57 "fix",
58 "docs",
59 "style",
60 "refactor",
61 "perf",
62 "test",
63 "build",
64 "ci",
65 "chore",
66 "revert"
67 ],
68 "scope": "\\S+.*"
69 },
70 "peerDependencies": {
71 "rollup": ">=1.6.0"
72 },
73 "devDependencies": {
74 "@babel/plugin-syntax-async-generators": "^7.8.4",
75 "@babel/preset-env": "^7.8.7",
76 "@babel/register": "^7.8.6",
77 "@comandeer/eslint-config": "^0.2.2",
78 "@comandeer/is-ci": "^2.0.0",
79 "@comandeer/rollup-lib-bundler": "^0.9.0",
80 "chai": "^4.2.0",
81 "codecov": "^3.6.5",
82 "commitplease": "^3.2.0",
83 "cz-conventional-changelog": "^3.1.0",
84 "eslint": "^6.8.0",
85 "husky": "^4.2.3",
86 "mocha": "^7.1.0",
87 "nyc": "^15.0.0",
88 "rimraf": "^3.0.2",
89 "rollup": "^2.0.6",
90 "sourcemap-validator": "^2.1.0"
91 },
92 "config": {
93 "commitizen": {
94 "path": "./node_modules/cz-conventional-changelog"
95 }
96 },
97 "dependencies": {
98 "@babel/core": "^7.8.7",
99 "@babel/plugin-syntax-dynamic-import": "^7.8.3",
100 "@comandeer/babel-plugin-banner": "^5.0.0",
101 "babel-preset-minify": "^0.5.1",
102 "sourcemap-codec": "^1.4.8"
103 }
104}