UNPKG

4.23 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "0.61.0",
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 "pretest": "npm run build",
14 "test": "npm run test:only && npm run test:typescript",
15 "test:only": "mocha",
16 "test:leak": "node --expose-gc test/leak/index.js",
17 "test:quick": "mocha -b",
18 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
19 "test:typescript": "tsc -p test/typescript",
20 "pretest-coverage": "npm run build",
21 "test-coverage": "shx rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
22 "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",
23 "ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov",
24 "prebuild": "shx rm -rf dist",
25 "build": "git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
26 "watch": "rollup -cw",
27 "prepublishOnly": "npm run lint && npm run test && npm run test:leak",
28 "prepare": "npm run build",
29 "lint": "tslint --project . --fix && eslint --fix src browser bin test/test.js test/*/index.js test/utils test/**/_config.js",
30 "precommit": "lint-staged",
31 "postcommit": "git reset",
32 "perf": "npm run build && node --expose-gc scripts/perf.js",
33 "perf:init": "node scripts/perf-init.js",
34 "perf:debug": "node --inspect-brk scripts/perf-debug.js"
35 },
36 "repository": "rollup/rollup",
37 "keywords": [
38 "modules",
39 "bundler",
40 "bundling",
41 "es6",
42 "optimizer"
43 ],
44 "author": "Rich Harris",
45 "contributors": [
46 "Oskar Segersvärd <victorystick@gmail.com>",
47 "Bogdan Chadkin <trysound@yandex.ru>"
48 ],
49 "license": "MIT",
50 "bugs": {
51 "url": "https://github.com/rollup/rollup/issues"
52 },
53 "homepage": "https://github.com/rollup/rollup",
54 "dependencies": {
55 "@types/estree": "0.0.39",
56 "@types/node": "*"
57 },
58 "devDependencies": {
59 "@types/acorn": "^4.0.3",
60 "@types/chokidar": "^1.7.5",
61 "@types/minimist": "^1.2.0",
62 "@types/pretty-ms": "^3.0.0",
63 "acorn": "^5.5.3",
64 "acorn-dynamic-import": "^3.0.0",
65 "acorn-import-meta": "^0.2.1",
66 "ansi-escapes": "^3.1.0",
67 "buble": "^0.19.3",
68 "chalk": "^2.4.1",
69 "codecov.io": "^0.1.6",
70 "console-group": "^0.3.1",
71 "date-time": "^2.1.0",
72 "eslint": "^4.19.1",
73 "eslint-plugin-import": "^2.12.0",
74 "execa": "^0.10.0",
75 "fixturify": "^0.3.4",
76 "hash.js": "^1.1.3",
77 "husky": "^0.14.3",
78 "immutable": "^3.8.2",
79 "is-reference": "^1.1.0",
80 "istanbul": "^0.4.3",
81 "lint-staged": "^7.1.1",
82 "locate-character": "^2.0.5",
83 "magic-string": "^0.25.0",
84 "minimist": "^1.2.0",
85 "mocha": "^5.2.0",
86 "prettier": "^1.12.1",
87 "pretty-ms": "^3.1.0",
88 "remap-istanbul": "^0.11.1",
89 "require-relative": "^0.8.7",
90 "rollup": "^0.59.1",
91 "rollup-plugin-buble": "^0.19.2",
92 "rollup-plugin-commonjs": "^9.1.3",
93 "rollup-plugin-json": "^3.0.0",
94 "rollup-plugin-node-resolve": "^3.3.0",
95 "rollup-plugin-replace": "^2.0.0",
96 "rollup-plugin-string": "^2.0.0",
97 "rollup-plugin-typescript": "^0.8.1",
98 "rollup-pluginutils": "^2.2.0",
99 "rollup-watch": "^4.3.1",
100 "sander": "^0.6.0",
101 "shx": "^0.2.2",
102 "signal-exit": "^3.0.2",
103 "source-map": "^0.6.1",
104 "source-map-support": "^0.5.6",
105 "sourcemap-codec": "^1.4.1",
106 "tslint": "^5.10.0",
107 "typescript": "^2.8.3",
108 "uglify-js": "^3.3.25",
109 "url-parse": "^1.4.0"
110 },
111 "files": [
112 "dist/rollup.browser.js",
113 "dist/rollup.es.js",
114 "dist/rollup.js",
115 "dist/**/*.d.ts",
116 "bin/rollup",
117 "README.md"
118 ],
119 "lint-staged": {
120 "*.ts": [
121 "tslint --project . --fix",
122 "prettier --write",
123 "git add"
124 ]
125 }
126}