UNPKG

4.95 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "1.21.4",
4 "description": "Next-generation ES module bundler",
5 "main": "dist/rollup.js",
6 "module": "dist/rollup.es.js",
7 "typings": "dist/rollup.d.ts",
8 "bin": {
9 "rollup": "./dist/bin/rollup"
10 },
11 "scripts": {
12 "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 dist/bin/rollup",
13 "build:test": "shx rm -rf dist && rollup -c --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
14 "build:bootstrap": "dist/bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
15 "ci:lint": "npm run lint:nofix && npm run security",
16 "ci:test": "npm run build:test && npm run build:bootstrap && npm run test:all",
17 "ci:coverage": "npm run build:test && nyc --reporter lcovonly mocha && codecov",
18 "lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
19 "lint:nofix": "npm run lint:ts && npm run lint:js && npm run lint:markdown",
20 "lint:ts": "tslint --project .",
21 "lint:js": "eslint test/test.js test/*/index.js test/utils.js test/**/_config.js",
22 "lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",
23 "perf": "npm run build:test && node --expose-gc scripts/perf.js",
24 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
25 "perf:init": "node scripts/perf-init.js",
26 "prepare": "npm run build",
27 "prepublishOnly": "npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
28 "pretest": "npm run build:test",
29 "pretest:coverage": "npm run build:test && shx rm -rf coverage/*",
30 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
31 "security": "npm audit",
32 "test": "npm run test:all",
33 "test:all": "npm run test:only && npm run test:typescript && npm run test:leak",
34 "test:coverage": "nyc --reporter html mocha",
35 "test:leak": "cross-os test:leak:os",
36 "test:leak:os": {
37 "darwin": "npm run test:leak:nix",
38 "linux": "npm run test:leak:nix",
39 "win32": "echo 'Skipping test:leak on Windows'"
40 },
41 "test:leak:nix": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
42 "test:only": "mocha",
43 "test:quick": "mocha -b",
44 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
45 "watch": "rollup -cw"
46 },
47 "repository": "rollup/rollup",
48 "keywords": [
49 "modules",
50 "bundler",
51 "bundling",
52 "es6",
53 "optimizer"
54 ],
55 "author": "Rich Harris",
56 "contributors": [
57 "Oskar Segersvärd <victorystick@gmail.com>",
58 "Bogdan Chadkin <trysound@yandex.ru>"
59 ],
60 "license": "MIT",
61 "bugs": {
62 "url": "https://github.com/rollup/rollup/issues"
63 },
64 "homepage": "https://github.com/rollup/rollup",
65 "dependencies": {
66 "@types/estree": "0.0.39",
67 "@types/node": "^12.7.5",
68 "acorn": "^7.0.0"
69 },
70 "devDependencies": {
71 "@types/chokidar": "^2.1.3",
72 "@types/micromatch": "^3.1.0",
73 "@types/minimist": "^1.2.0",
74 "acorn-import-meta": "^1.0.0",
75 "acorn-jsx": "^5.0.2",
76 "acorn-walk": "^7.0.0",
77 "buble": "^0.19.8",
78 "chokidar": "^2.1.8",
79 "codecov": "^3.5.0",
80 "console-group": "^0.3.3",
81 "core-js": "^3.2.1",
82 "cross-os": "^1.3.0",
83 "date-time": "^3.1.0",
84 "es5-shim": "^4.5.13",
85 "es6-shim": "^0.35.5",
86 "eslint": "^6.4.0",
87 "eslint-plugin-import": "^2.18.2",
88 "execa": "^2.0.4",
89 "fixturify": "^1.2.0",
90 "hash.js": "^1.1.7",
91 "husky": "^3.0.5",
92 "immutable": "^4.0.0-rc.12",
93 "is-reference": "^1.1.3",
94 "lint-staged": "^9.2.5",
95 "locate-character": "^2.0.5",
96 "magic-string": "^0.25.3",
97 "markdownlint-cli": "^0.18.0",
98 "micromatch": "^4.0.2",
99 "minimist": "^1.2.0",
100 "mocha": "^6.2.0",
101 "nyc": "^14.1.1",
102 "prettier": "^1.18.2",
103 "pretty-bytes": "^5.3.0",
104 "pretty-ms": "^5.0.0",
105 "require-relative": "^0.8.7",
106 "requirejs": "^2.3.6",
107 "rollup": "^1.21.2",
108 "rollup-plugin-alias": "^2.0.0",
109 "rollup-plugin-buble": "^0.19.8",
110 "rollup-plugin-commonjs": "^10.1.0",
111 "rollup-plugin-json": "^4.0.0",
112 "rollup-plugin-license": "^0.12.1",
113 "rollup-plugin-node-resolve": "^5.2.0",
114 "rollup-plugin-replace": "^2.2.0",
115 "rollup-plugin-string": "^3.0.0",
116 "rollup-plugin-terser": "^5.1.2",
117 "rollup-plugin-typescript": "^1.0.1",
118 "rollup-pluginutils": "^2.8.2",
119 "sander": "^0.6.0",
120 "shx": "^0.3.2",
121 "signal-exit": "^3.0.2",
122 "source-map": "^0.6.1",
123 "source-map-support": "^0.5.13",
124 "sourcemap-codec": "^1.4.6",
125 "systemjs": "^6.1.1",
126 "terser": "^4.3.1",
127 "tslib": "^1.10.0",
128 "tslint": "^5.20.0",
129 "turbocolor": "^2.6.1",
130 "typescript": "^3.6.3",
131 "url-parse": "^1.4.7"
132 },
133 "files": [
134 "dist/**/*.js",
135 "dist/*.d.ts",
136 "dist/bin/rollup"
137 ]
138}