UNPKG

10.9 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "4.18.0",
4 "description": "Next-generation ES module bundler",
5 "main": "dist/rollup.js",
6 "module": "dist/es/rollup.js",
7 "types": "dist/rollup.d.ts",
8 "bin": {
9 "rollup": "dist/bin/rollup"
10 },
11 "napi": {
12 "name": "rollup",
13 "package": {
14 "name": "@rollup/rollup"
15 },
16 "triples": {
17 "defaults": false,
18 "additional": [
19 "aarch64-apple-darwin",
20 "aarch64-linux-android",
21 "aarch64-pc-windows-msvc",
22 "aarch64-unknown-linux-gnu",
23 "aarch64-unknown-linux-musl",
24 "armv7-linux-androideabi",
25 "armv7-unknown-linux-gnueabihf",
26 "armv7-unknown-linux-musleabihf",
27 "i686-pc-windows-msvc",
28 "riscv64gc-unknown-linux-gnu",
29 "powerpc64le-unknown-linux-gnu",
30 "s390x-unknown-linux-gnu",
31 "x86_64-apple-darwin",
32 "x86_64-pc-windows-msvc",
33 "x86_64-unknown-linux-gnu",
34 "x86_64-unknown-linux-musl"
35 ]
36 }
37 },
38 "scripts": {
39 "build": "concurrently -c green,blue \"npm run build:wasm\" \"npm:build:ast-converters\" && concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js\" && npm run build:copy-native",
40 "build:quick": "concurrently -c green,blue 'npm:build:napi' 'npm:build:cjs' && npm run build:copy-native",
41 "build:napi": "napi build --platform --dts native.d.ts --js false --cargo-cwd rust -p bindings_napi --cargo-name bindings_napi",
42 "build:wasm": "cross-env RUSTFLAGS=\"-C opt-level=z\" wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
43 "build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
44 "update:napi": "npm run build:napi && npm run build:copy-native",
45 "build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
46 "build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit",
47 "build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
48 "update:js": "npm run build:js && npm run build:copy-native",
49 "build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
50 "dev": "vitepress dev docs",
51 "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
52 "build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
53 "build:bootstrap:cjs": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit && shx rm -rf dist-build",
54 "build:docs": "vitepress build docs",
55 "build:ast-converters": "node scripts/generate-ast-converters.js",
56 "preview:docs": "vitepress preview docs",
57 "ci:artifacts": "napi artifacts",
58 "ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
59 "ci:test:only": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && npm run test:only",
60 "ci:test:all": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && concurrently --kill-others-on-fail -c green,blue,magenta,cyan 'npm:test:only' 'npm:test:typescript' 'npm:test:leak' 'npm:test:browser'",
61 "ci:coverage": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && nyc --reporter lcovonly mocha",
62 "lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
63 "lint:js": "eslint . --fix --cache",
64 "lint:js:nofix": "eslint . --cache",
65 "lint:native-js": "node scripts/lint-native-js.js",
66 "lint:markdown": "prettier --write \"**/*.md\"",
67 "lint:markdown:nofix": "prettier --check \"**/*.md\"",
68 "lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
69 "lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
70 "perf": "npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js",
71 "prepare": "husky && node scripts/check-release.js || npm run build:prepare",
72 "prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
73 "postpublish": "node scripts/postpublish.js",
74 "prepublish:napi": "napi prepublish --skip-gh-release",
75 "release": "node scripts/prepare-release.js",
76 "release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
77 "test": "npm run build && npm run test:all",
78 "test:update-snapshots": "node scripts/update-snapshots.js",
79 "test:cjs": "npm run build:cjs && npm run test:only",
80 "test:quick": "mocha -b test/test.js",
81 "test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan,red 'npm:test:only' 'npm:test:browser' 'npm:test:typescript' 'npm:test:package' 'npm:test:options'",
82 "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
83 "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
84 "test:leak": "node --expose-gc test/leak/index.js",
85 "test:package": "node scripts/test-package.js",
86 "test:options": "node scripts/test-options.js",
87 "test:only": "mocha test/test.js",
88 "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit && tsc --noEmit -p scripts",
89 "test:browser": "mocha test/browser/index.js",
90 "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
91 },
92 "repository": "rollup/rollup",
93 "keywords": [
94 "modules",
95 "bundler",
96 "bundling",
97 "es6",
98 "optimizer"
99 ],
100 "author": "Rich Harris",
101 "license": "MIT",
102 "bugs": {
103 "url": "https://github.com/rollup/rollup/issues"
104 },
105 "homepage": "https://rollupjs.org/",
106 "optionalDependencies": {
107 "fsevents": "~2.3.2",
108 "@rollup/rollup-darwin-arm64": "4.18.0",
109 "@rollup/rollup-android-arm64": "4.18.0",
110 "@rollup/rollup-win32-arm64-msvc": "4.18.0",
111 "@rollup/rollup-linux-arm64-gnu": "4.18.0",
112 "@rollup/rollup-linux-arm64-musl": "4.18.0",
113 "@rollup/rollup-android-arm-eabi": "4.18.0",
114 "@rollup/rollup-linux-arm-gnueabihf": "4.18.0",
115 "@rollup/rollup-linux-arm-musleabihf": "4.18.0",
116 "@rollup/rollup-win32-ia32-msvc": "4.18.0",
117 "@rollup/rollup-linux-riscv64-gnu": "4.18.0",
118 "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0",
119 "@rollup/rollup-linux-s390x-gnu": "4.18.0",
120 "@rollup/rollup-darwin-x64": "4.18.0",
121 "@rollup/rollup-win32-x64-msvc": "4.18.0",
122 "@rollup/rollup-linux-x64-gnu": "4.18.0",
123 "@rollup/rollup-linux-x64-musl": "4.18.0"
124 },
125 "dependencies": {
126 "@types/estree": "1.0.5"
127 },
128 "devDependenciesComments": {
129 "@types/node": "Version 18.19.0 breaks chokidar and vite types",
130 "core-js": "We only update manually as every update requires a snapshot update"
131 },
132 "devDependencies": {
133 "@codemirror/commands": "^6.5.0",
134 "@codemirror/lang-javascript": "^6.2.2",
135 "@codemirror/language": "^6.10.1",
136 "@codemirror/search": "^6.5.6",
137 "@codemirror/state": "^6.4.1",
138 "@codemirror/view": "^6.26.3",
139 "@jridgewell/sourcemap-codec": "^1.4.15",
140 "@mermaid-js/mermaid-cli": "^10.9.0",
141 "@napi-rs/cli": "^2.18.3",
142 "@rollup/plugin-alias": "^5.1.0",
143 "@rollup/plugin-buble": "^1.0.3",
144 "@rollup/plugin-commonjs": "^25.0.7",
145 "@rollup/plugin-json": "^6.1.0",
146 "@rollup/plugin-node-resolve": "^15.2.3",
147 "@rollup/plugin-replace": "^5.0.5",
148 "@rollup/plugin-terser": "^0.4.4",
149 "@rollup/plugin-typescript": "^11.1.6",
150 "@rollup/pluginutils": "^5.1.0",
151 "@shikijs/vitepress-twoslash": "^1.5.1",
152 "@types/eslint": "^8.56.10",
153 "@types/inquirer": "^9.0.7",
154 "@types/mocha": "^10.0.6",
155 "@types/node": "~18.18.14",
156 "@types/semver": "^7.5.8",
157 "@types/yargs-parser": "^21.0.3",
158 "@typescript-eslint/eslint-plugin": "^7.9.0",
159 "@typescript-eslint/parser": "^7.9.0",
160 "@vue/eslint-config-prettier": "^9.0.0",
161 "@vue/eslint-config-typescript": "^13.0.0",
162 "acorn": "^8.11.3",
163 "acorn-import-assertions": "^1.9.0",
164 "buble": "^0.20.0",
165 "builtin-modules": "^4.0.0",
166 "chokidar": "^3.6.0",
167 "colorette": "^2.0.20",
168 "concurrently": "^8.2.2",
169 "core-js": "3.36.0",
170 "cross-env": "^7.0.3",
171 "date-time": "^4.0.0",
172 "es5-shim": "^4.6.7",
173 "es6-shim": "^0.35.8",
174 "eslint": "^8.57.0",
175 "eslint-config-prettier": "^9.1.0",
176 "eslint-plugin-import": "^2.29.1",
177 "eslint-plugin-prettier": "^5.1.3",
178 "eslint-plugin-unicorn": "^53.0.0",
179 "eslint-plugin-vue": "^9.26.0",
180 "fixturify": "^3.0.0",
181 "flru": "^1.0.2",
182 "fs-extra": "^11.2.0",
183 "github-api": "^3.4.0",
184 "husky": "^9.0.11",
185 "inquirer": "^9.2.21",
186 "is-reference": "^3.0.2",
187 "lint-staged": "^15.2.2",
188 "locate-character": "^3.0.0",
189 "magic-string": "^0.30.10",
190 "mocha": "^10.4.0",
191 "nyc": "^15.1.0",
192 "pinia": "^2.1.7",
193 "prettier": "^3.2.5",
194 "pretty-bytes": "^6.1.1",
195 "pretty-ms": "^9.0.0",
196 "requirejs": "^2.3.6",
197 "rollup": "^4.17.2",
198 "rollup-plugin-license": "^3.3.1",
199 "rollup-plugin-string": "^3.0.0",
200 "semver": "^7.6.2",
201 "shx": "^0.3.4",
202 "signal-exit": "^4.1.0",
203 "source-map": "^0.7.4",
204 "source-map-support": "^0.5.21",
205 "systemjs": "^6.15.1",
206 "terser": "^5.31.0",
207 "tslib": "^2.6.2",
208 "typescript": "^5.4.5",
209 "vite": "^5.2.11",
210 "vitepress": "^1.1.4",
211 "vue": "^3.4.27",
212 "wasm-pack": "^0.12.1",
213 "weak-napi": "^2.0.2",
214 "yargs-parser": "^21.1.1"
215 },
216 "overrides": {
217 "axios": "^1.6.8",
218 "semver": "^7.6.2"
219 },
220 "files": [
221 "dist/*.node",
222 "dist/**/*.js",
223 "dist/*.d.ts",
224 "dist/bin/rollup",
225 "dist/es/package.json"
226 ],
227 "engines": {
228 "node": ">=18.0.0",
229 "npm": ">=8.0.0"
230 },
231 "exports": {
232 ".": {
233 "types": "./dist/rollup.d.ts",
234 "require": "./dist/rollup.js",
235 "import": "./dist/es/rollup.js"
236 },
237 "./loadConfigFile": {
238 "types": "./dist/loadConfigFile.d.ts",
239 "require": "./dist/loadConfigFile.js",
240 "default": "./dist/loadConfigFile.js"
241 },
242 "./getLogFilter": {
243 "types": "./dist/getLogFilter.d.ts",
244 "require": "./dist/getLogFilter.js",
245 "import": "./dist/es/getLogFilter.js"
246 },
247 "./parseAst": {
248 "types": "./dist/parseAst.d.ts",
249 "require": "./dist/parseAst.js",
250 "import": "./dist/es/parseAst.js"
251 },
252 "./dist/*": "./dist/*"
253 }
254}
\No newline at end of file