UNPKG

5.11 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.0.6",
4 "description": "Next-generation ES module bundler",
5 "main": "dist/rollup.js",
6 "module": "dist/es/rollup.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",
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 && npm run test:package",
34 "test:coverage": "nyc --reporter html mocha",
35 "test:leak": "cross-os test:leak:os",
36 "test:package": "node scripts/test-package.js",
37 "test:leak:os": {
38 "darwin": "npm run test:leak:nix",
39 "linux": "npm run test:leak:nix",
40 "win32": "echo 'Skipping test:leak on Windows'"
41 },
42 "test:leak:nix": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
43 "test:only": "mocha",
44 "test:quick": "mocha -b",
45 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
46 "watch": "rollup -cw"
47 },
48 "repository": "rollup/rollup",
49 "keywords": [
50 "modules",
51 "bundler",
52 "bundling",
53 "es6",
54 "optimizer"
55 ],
56 "author": "Rich Harris",
57 "license": "MIT",
58 "bugs": {
59 "url": "https://github.com/rollup/rollup/issues"
60 },
61 "homepage": "https://rollupjs.org/",
62 "optionalDependencies": {
63 "fsevents": "~2.1.2"
64 },
65 "devDependencies": {
66 "@rollup/plugin-alias": "^3.0.1",
67 "@rollup/plugin-buble": "^0.21.1",
68 "@rollup/plugin-commonjs": "^11.0.2",
69 "@rollup/plugin-json": "^4.0.2",
70 "@rollup/plugin-node-resolve": "^7.1.1",
71 "@rollup/plugin-replace": "^2.3.1",
72 "@types/micromatch": "^4.0.1",
73 "@types/node": "^13.9.0",
74 "@types/yargs-parser": "^15.0.0",
75 "acorn": "^7.1.1",
76 "acorn-export-ns-from": "^0.1.0",
77 "acorn-import-meta": "^1.0.0",
78 "acorn-jsx": "^5.2.0",
79 "acorn-walk": "^7.1.1",
80 "buble": "^0.19.8",
81 "chokidar": "^3.3.1",
82 "codecov": "^3.6.5",
83 "colorette": "^1.1.0",
84 "console-group": "^0.3.3",
85 "core-js": "^3.6.4",
86 "cross-os": "^1.3.0",
87 "date-time": "^3.1.0",
88 "es5-shim": "^4.5.13",
89 "es6-shim": "^0.35.5",
90 "eslint": "^6.8.0",
91 "eslint-plugin-import": "^2.20.1",
92 "execa": "^4.0.0",
93 "fixturify": "^2.1.0",
94 "hash.js": "^1.1.7",
95 "husky": "^4.2.3",
96 "is-reference": "^1.1.4",
97 "lint-staged": "^10.0.8",
98 "locate-character": "^2.0.5",
99 "magic-string": "^0.25.7",
100 "markdownlint-cli": "^0.22.0",
101 "micromatch": "^4.0.2",
102 "mocha": "^7.1.0",
103 "node-fetch": "^2.6.0",
104 "nyc": "^15.0.0",
105 "prettier": "^1.19.1",
106 "pretty-bytes": "^5.3.0",
107 "pretty-ms": "^6.0.1",
108 "require-relative": "^0.8.7",
109 "requirejs": "^2.3.6",
110 "rollup": "^2.0.0",
111 "rollup-plugin-license": "^0.13.0",
112 "rollup-plugin-string": "^3.0.0",
113 "rollup-plugin-terser": "^5.2.0",
114 "rollup-plugin-typescript": "^1.0.1",
115 "rollup-pluginutils": "^2.8.2",
116 "sander": "^0.6.0",
117 "shx": "^0.3.2",
118 "signal-exit": "^3.0.2",
119 "source-map": "^0.7.3",
120 "source-map-support": "^0.5.16",
121 "sourcemap-codec": "^1.4.8",
122 "systemjs": "^6.2.5",
123 "terser": "^4.6.6",
124 "tslib": "^1.11.1",
125 "tslint": "^6.0.0",
126 "typescript": "^3.8.3",
127 "url-parse": "^1.4.7",
128 "yargs-parser": "^16.1.0"
129 },
130 "files": [
131 "dist/**/*.js",
132 "dist/*.d.ts",
133 "dist/bin/rollup"
134 ],
135 "engines": {
136 "node": ">=10.0.0"
137 },
138 "exports": {
139 ".": {
140 "require": "./dist/rollup.js",
141 "import": "./dist/es/rollup.js",
142 "default": "./dist/rollup.js"
143 },
144 "./dist/": "./dist/"
145 }
146}