UNPKG

5.24 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "0.66.4",
4 "description": "Next-generation ES module bundler",
5 "main": "dist/rollup.js",
6 "module": "dist/rollup.es.js",
7 "jsnext:main": "dist/rollup.es.js",
8 "typings": "dist/rollup.d.ts",
9 "bin": {
10 "rollup": "./bin/rollup"
11 },
12 "scripts": {
13 "build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
14 "build:test": "shx rm -rf dist && rollup -c --noBrowser && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
15 "build:bootstrap": "bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
16 "ci:coverage": "npm run test:coverage",
17 "ci:lint": "npm run lint:nofix && npm run security",
18 "ci:test": "npm run test && npm run build:bootstrap && npm run test:only",
19 "lint": "tslint --project . --fix && eslint --fix test/test.js test/*/index.js test/utils.js test/**/_config.js",
20 "lint:nofix": "tslint --project . && eslint test/test.js test/*/index.js test/utils.js test/**/_config.js",
21 "perf": "npm run build:test && node --expose-gc scripts/perf.js",
22 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
23 "perf:init": "node scripts/perf-init.js",
24 "postcommit": "git reset",
25 "posttest:coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist",
26 "precommit": "lint-staged",
27 "prepare": "npm run build",
28 "prepublishOnly": "npm run lint:nofix && npm run security && npm run build && npm run build:bootstrap && npm run test:only && npm run test:typescript && npm run test:leak",
29 "pretest": "npm run build:test",
30 "pretest:coverage": "npm run build:test",
31 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
32 "security": "npm audit",
33 "test": "npm run test:only && npm run test:typescript && npm run test:leak",
34 "test:coverage": "shx rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
35 "test:leak": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
36 "test:only": "mocha",
37 "test:quick": "mocha -b",
38 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
39 "watch": "rollup -cw"
40 },
41 "repository": "rollup/rollup",
42 "keywords": [
43 "modules",
44 "bundler",
45 "bundling",
46 "es6",
47 "optimizer"
48 ],
49 "author": "Rich Harris",
50 "contributors": [
51 "Oskar Segersvärd <victorystick@gmail.com>",
52 "Bogdan Chadkin <trysound@yandex.ru>"
53 ],
54 "license": "MIT",
55 "bugs": {
56 "url": "https://github.com/rollup/rollup/issues"
57 },
58 "homepage": "https://github.com/rollup/rollup",
59 "dependencies": {
60 "@types/estree": "0.0.39",
61 "@types/node": "*"
62 },
63 "devDependencies": {
64 "@types/acorn": "^4.0.3",
65 "@types/chokidar": "^1.7.5",
66 "@types/minimist": "^1.2.0",
67 "@types/pretty-ms": "^3.0.0",
68 "acorn": "^5.7.3",
69 "acorn-dynamic-import": "^3.0.0",
70 "acorn-import-meta": "^0.2.1",
71 "ansi-escapes": "^3.1.0",
72 "buble": "^0.19.3",
73 "chokidar": "^2.0.4",
74 "console-group": "^0.3.1",
75 "date-time": "^2.1.0",
76 "eslint": "^5.6.0",
77 "eslint-plugin-import": "^2.14.0",
78 "execa": "^1.0.0",
79 "fixturify": "^0.3.4",
80 "hash.js": "^1.1.5",
81 "husky": "^0.14.3",
82 "immutable": "^3.8.2",
83 "is-reference": "^1.1.0",
84 "istanbul": "^0.4.3",
85 "lint-staged": "^7.2.2",
86 "locate-character": "^2.0.5",
87 "magic-string": "^0.25.1",
88 "minimist": "^1.2.0",
89 "mocha": "^5.2.0",
90 "prettier": "^1.14.2",
91 "pretty-bytes": "^5.1.0",
92 "pretty-ms": "^4.0.0",
93 "remap-istanbul": "^0.12.0",
94 "require-relative": "^0.8.7",
95 "rollup": "^0.66.2",
96 "rollup-plugin-buble": "^0.19.2",
97 "rollup-plugin-commonjs": "^9.1.8",
98 "rollup-plugin-json": "^3.1.0",
99 "rollup-plugin-node-resolve": "^3.4.0",
100 "rollup-plugin-replace": "^2.0.0",
101 "rollup-plugin-string": "^2.0.2",
102 "rollup-plugin-terser": "^2.0.2",
103 "rollup-plugin-typescript": "^1.0.0",
104 "rollup-pluginutils": "^2.3.3",
105 "sander": "^0.6.0",
106 "shx": "^0.3.2",
107 "signal-exit": "^3.0.2",
108 "source-map": "^0.6.1",
109 "source-map-support": "^0.5.9",
110 "sourcemap-codec": "^1.4.1",
111 "terser": "^3.8.2",
112 "tslib": "^1.9.3",
113 "tslint": "^5.11.0",
114 "turbocolor": "^2.6.1",
115 "typescript": "^3.1.1",
116 "url-parse": "^1.4.3"
117 },
118 "files": [
119 "dist/rollup.browser.js",
120 "dist/rollup.es.js",
121 "dist/rollup.js",
122 "dist/**/*.d.ts",
123 "bin/rollup",
124 "README.md"
125 ],
126 "lint-staged": {
127 "{src,bin,browser,typings}/**/*.ts": [
128 "tslint --project . --fix",
129 "prettier --write",
130 "git add"
131 ],
132 "test/**/*.ts": [
133 "tslint --project test/typescript --fix",
134 "prettier --write",
135 "git add"
136 ],
137 "{test/test,test/*/index,test/utils,test/**/_config}.js": [
138 "eslint --fix",
139 "prettier --write",
140 "git add"
141 ]
142 }
143}