UNPKG

5.53 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.55.1",
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 --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
13 "build:cjs": "shx rm -rf dist && rollup --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
14 "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && 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:cjs && npm run build:bootstrap && npm run test:all",
17 "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
18 "ci:coverage": "npm run build:cjs && npm run build:bootstrap && nyc --reporter lcovonly mocha",
19 "lint": "npx eslint . --fix --cache && npm run lint:markdown",
20 "lint:nofix": "npx eslint . && npm run lint:markdown",
21 "lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",
22 "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
23 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
24 "perf:init": "node scripts/perf-init.js",
25 "_postinstall": "husky install",
26 "postpublish": "pinst --enable && git push && git push --tags",
27 "prepare": "husky install && npm run build",
28 "prepublishOnly": "pinst --disable && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
29 "security": "npm audit",
30 "test": "npm run build && npm run test:all",
31 "test:cjs": "npm run build:cjs && npm run test:only",
32 "test:quick": "mocha -b test/test.js",
33 "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
34 "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
35 "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
36 "test:leak": "node --expose-gc test/leak/index.js",
37 "test:package": "node scripts/test-package.js",
38 "test:only": "mocha test/test.js",
39 "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
40 "test:browser": "mocha test/browser/index.js",
41 "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
42 },
43 "repository": "rollup/rollup",
44 "keywords": [
45 "modules",
46 "bundler",
47 "bundling",
48 "es6",
49 "optimizer"
50 ],
51 "author": "Rich Harris",
52 "license": "MIT",
53 "bugs": {
54 "url": "https://github.com/rollup/rollup/issues"
55 },
56 "homepage": "https://rollupjs.org/",
57 "optionalDependencies": {
58 "fsevents": "~2.3.2"
59 },
60 "devDependencies": {
61 "@rollup/plugin-alias": "^3.1.2",
62 "@rollup/plugin-buble": "^0.21.3",
63 "@rollup/plugin-commonjs": "19.0.0",
64 "@rollup/plugin-json": "^4.1.0",
65 "@rollup/plugin-node-resolve": "^13.0.0",
66 "@rollup/plugin-replace": "^2.4.2",
67 "@types/micromatch": "^4.0.1",
68 "@types/node": "^10.17.60",
69 "@types/require-relative": "^0.8.0",
70 "@types/signal-exit": "^3.0.0",
71 "@types/yargs-parser": "^20.2.0",
72 "@typescript-eslint/eslint-plugin": "^4.27.0",
73 "@typescript-eslint/parser": "^4.27.0",
74 "acorn": "^8.4.0",
75 "acorn-jsx": "^5.3.1",
76 "acorn-walk": "^8.1.0",
77 "buble": "^0.20.0",
78 "chokidar": "^3.5.2",
79 "colorette": "^1.2.2",
80 "core-js": "^3.14.0",
81 "date-time": "^4.0.0",
82 "es5-shim": "^4.5.15",
83 "es6-shim": "^0.35.6",
84 "eslint": "^7.28.0",
85 "eslint-config-prettier": "^8.3.0",
86 "eslint-plugin-import": "^2.23.4",
87 "eslint-plugin-prettier": "^3.4.0",
88 "execa": "^5.1.1",
89 "fixturify": "^2.1.1",
90 "hash.js": "^1.1.7",
91 "husky": "^6.0.0",
92 "is-reference": "^3.0.0",
93 "lint-staged": "^10.5.4",
94 "locate-character": "^2.0.5",
95 "magic-string": "^0.25.7",
96 "markdownlint-cli": "^0.27.1",
97 "micromatch": "^4.0.4",
98 "mocha": "^8.4.0",
99 "nyc": "^15.1.0",
100 "pinst": "^2.1.6",
101 "prettier": "^2.3.1",
102 "pretty-bytes": "^5.6.0",
103 "pretty-ms": "^7.0.1",
104 "require-relative": "^0.8.7",
105 "requirejs": "^2.3.6",
106 "rollup": "^2.52.0",
107 "rollup-plugin-license": "^2.5.0",
108 "rollup-plugin-string": "^3.0.0",
109 "rollup-plugin-terser": "^7.0.2",
110 "rollup-plugin-thatworks": "^1.0.4",
111 "rollup-plugin-typescript": "^1.0.1",
112 "rollup-pluginutils": "^2.8.2",
113 "sander": "^0.6.0",
114 "shx": "^0.3.3",
115 "signal-exit": "^3.0.3",
116 "source-map": "^0.7.3",
117 "source-map-support": "^0.5.19",
118 "sourcemap-codec": "^1.4.8",
119 "systemjs": "^6.10.1",
120 "terser": "^5.7.0",
121 "tslib": "^2.3.0",
122 "typescript": "^4.3.2",
123 "weak-napi": "^2.0.2",
124 "yargs-parser": "^20.2.7"
125 },
126 "files": [
127 "dist/**/*.js",
128 "dist/*.d.ts",
129 "dist/bin/rollup",
130 "dist/rollup.browser.js.map"
131 ],
132 "engines": {
133 "node": ">=10.0.0"
134 },
135 "exports": {
136 ".": {
137 "node": {
138 "require": "./dist/rollup.js",
139 "import": "./dist/es/rollup.js"
140 },
141 "default": "./dist/es/rollup.browser.js"
142 },
143 "./dist/": "./dist/"
144 }
145}