1 | {
|
2 | "name": "rollup",
|
3 | "version": "4.34.6",
|
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-freebsd",
|
23 | "aarch64-unknown-linux-gnu",
|
24 | "aarch64-unknown-linux-musl",
|
25 | "armv7-linux-androideabi",
|
26 | "armv7-unknown-linux-gnueabihf",
|
27 | "armv7-unknown-linux-musleabihf",
|
28 | "i686-pc-windows-msvc",
|
29 | "loongarch64-unknown-linux-gnu",
|
30 | "riscv64gc-unknown-linux-gnu",
|
31 | "powerpc64le-unknown-linux-gnu",
|
32 | "s390x-unknown-linux-gnu",
|
33 | "x86_64-apple-darwin",
|
34 | "x86_64-pc-windows-msvc",
|
35 | "x86_64-unknown-freebsd",
|
36 | "x86_64-unknown-linux-gnu",
|
37 | "x86_64-unknown-linux-musl"
|
38 | ]
|
39 | }
|
40 | },
|
41 | "scripts": {
|
42 | "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",
|
43 | "build:quick": "concurrently -c green,blue 'npm:build:napi' 'npm:build:cjs' && npm run build:copy-native",
|
44 | "build:napi": "napi build --platform --dts native.d.ts --js false --cargo-cwd rust -p bindings_napi --cargo-name bindings_napi",
|
45 | "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",
|
46 | "build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
|
47 | "update:napi": "npm run build:napi && npm run build:copy-native",
|
48 | "build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
|
49 | "build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit",
|
50 | "build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
|
51 | "update:js": "npm run build:js && npm run build:copy-native",
|
52 | "build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
|
53 | "dev": "concurrently -kc green,blue 'nodemon --watch rust -e rs --exec \"npm run build:wasm\"' 'vitepress dev docs'",
|
54 | "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
|
55 | "build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
|
56 | "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",
|
57 | "build:docs": "vitepress build docs",
|
58 | "build:ast-converters": "node scripts/generate-ast-converters.js",
|
59 | "preview:docs": "vitepress preview docs",
|
60 | "ci:artifacts": "napi artifacts",
|
61 | "ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
|
62 | "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",
|
63 | "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'",
|
64 | "ci:coverage": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && NODE_OPTIONS=--no-experimental-detect-module nyc --reporter lcovonly mocha",
|
65 | "lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
|
66 | "lint:js": "eslint . --fix --cache",
|
67 | "lint:js:nofix": "eslint . --cache",
|
68 | "lint:native-js": "node scripts/lint-native-js.js",
|
69 | "lint:markdown": "prettier --write \"**/*.md\"",
|
70 | "lint:markdown:nofix": "prettier --check \"**/*.md\"",
|
71 | "lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
|
72 | "lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
|
73 | "perf": "npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js",
|
74 | "prepare": "husky && node scripts/check-release.js || npm run build:prepare",
|
75 | "prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
|
76 | "postpublish": "node scripts/postpublish.js",
|
77 | "prepublish:napi": "napi prepublish --skip-gh-release",
|
78 | "release": "node scripts/prepare-release.js",
|
79 | "release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
|
80 | "check-audit": "check-audit",
|
81 | "resolve-audit": "resolve-audit",
|
82 | "test": "npm run build && npm run test:all",
|
83 | "test:update-snapshots": "node scripts/update-snapshots.js",
|
84 | "test:cjs": "npm run build:cjs && npm run test:only",
|
85 | "test:quick": "mocha -b test/test.js",
|
86 | "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'",
|
87 | "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
88 | "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
89 | "test:leak": "npm install --no-save weak-napi && node --expose-gc test/leak/index.js",
|
90 | "test:package": "node scripts/test-package.js",
|
91 | "test:options": "node scripts/test-options.js",
|
92 | "test:only": "mocha test/test.js",
|
93 | "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",
|
94 | "test:browser": "mocha test/browser/index.js",
|
95 | "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
|
96 | },
|
97 | "repository": "rollup/rollup",
|
98 | "keywords": [
|
99 | "modules",
|
100 | "bundler",
|
101 | "bundling",
|
102 | "es6",
|
103 | "optimizer"
|
104 | ],
|
105 | "author": "Rich Harris",
|
106 | "license": "MIT",
|
107 | "bugs": {
|
108 | "url": "https://github.com/rollup/rollup/issues"
|
109 | },
|
110 | "homepage": "https://rollupjs.org/",
|
111 | "optionalDependencies": {
|
112 | "fsevents": "~2.3.2",
|
113 | "@rollup/rollup-darwin-arm64": "4.34.6",
|
114 | "@rollup/rollup-android-arm64": "4.34.6",
|
115 | "@rollup/rollup-win32-arm64-msvc": "4.34.6",
|
116 | "@rollup/rollup-freebsd-arm64": "4.34.6",
|
117 | "@rollup/rollup-linux-arm64-gnu": "4.34.6",
|
118 | "@rollup/rollup-linux-arm64-musl": "4.34.6",
|
119 | "@rollup/rollup-android-arm-eabi": "4.34.6",
|
120 | "@rollup/rollup-linux-arm-gnueabihf": "4.34.6",
|
121 | "@rollup/rollup-linux-arm-musleabihf": "4.34.6",
|
122 | "@rollup/rollup-win32-ia32-msvc": "4.34.6",
|
123 | "@rollup/rollup-linux-loongarch64-gnu": "4.34.6",
|
124 | "@rollup/rollup-linux-riscv64-gnu": "4.34.6",
|
125 | "@rollup/rollup-linux-powerpc64le-gnu": "4.34.6",
|
126 | "@rollup/rollup-linux-s390x-gnu": "4.34.6",
|
127 | "@rollup/rollup-darwin-x64": "4.34.6",
|
128 | "@rollup/rollup-win32-x64-msvc": "4.34.6",
|
129 | "@rollup/rollup-freebsd-x64": "4.34.6",
|
130 | "@rollup/rollup-linux-x64-gnu": "4.34.6",
|
131 | "@rollup/rollup-linux-x64-musl": "4.34.6"
|
132 | },
|
133 | "dependencies": {
|
134 | "@types/estree": "1.0.6"
|
135 | },
|
136 | "devDependenciesComments": {
|
137 | "core-js": "We only update manually as every update requires a snapshot update"
|
138 | },
|
139 | "devDependencies": {
|
140 | "@codemirror/commands": "^6.8.0",
|
141 | "@codemirror/lang-javascript": "^6.2.2",
|
142 | "@codemirror/language": "^6.10.8",
|
143 | "@codemirror/search": "^6.5.8",
|
144 | "@codemirror/state": "^6.5.2",
|
145 | "@codemirror/view": "^6.36.2",
|
146 | "@eslint/js": "^9.19.0",
|
147 | "@inquirer/prompts": "^7.3.1",
|
148 | "@jridgewell/sourcemap-codec": "^1.5.0",
|
149 | "@mermaid-js/mermaid-cli": "^11.4.2",
|
150 | "@napi-rs/cli": "^2.18.4",
|
151 | "@rollup/plugin-alias": "^5.1.1",
|
152 | "@rollup/plugin-buble": "^1.0.3",
|
153 | "@rollup/plugin-commonjs": "^28.0.2",
|
154 | "@rollup/plugin-json": "^6.1.0",
|
155 | "@rollup/plugin-node-resolve": "^16.0.0",
|
156 | "@rollup/plugin-replace": "^6.0.2",
|
157 | "@rollup/plugin-terser": "^0.4.4",
|
158 | "@rollup/plugin-typescript": "^12.1.2",
|
159 | "@rollup/pluginutils": "^5.1.4",
|
160 | "@shikijs/vitepress-twoslash": "^2.2.0",
|
161 | "@types/mocha": "^10.0.10",
|
162 | "@types/node": "^18.19.75",
|
163 | "@types/semver": "^7.5.8",
|
164 | "@types/yargs-parser": "^21.0.3",
|
165 | "@vue/language-server": "^2.2.0",
|
166 | "acorn": "^8.14.0",
|
167 | "acorn-import-assertions": "^1.9.0",
|
168 | "acorn-jsx": "^5.3.2",
|
169 | "buble": "^0.20.0",
|
170 | "builtin-modules": "^4.0.0",
|
171 | "chokidar": "^3.6.0",
|
172 | "concurrently": "^9.1.2",
|
173 | "core-js": "3.38.1",
|
174 | "cross-env": "^7.0.3",
|
175 | "date-time": "^4.0.0",
|
176 | "es5-shim": "^4.6.7",
|
177 | "es6-shim": "^0.35.8",
|
178 | "eslint": "^9.19.0",
|
179 | "eslint-config-prettier": "^10.0.1",
|
180 | "eslint-plugin-prettier": "^5.2.3",
|
181 | "eslint-plugin-unicorn": "^56.0.1",
|
182 | "eslint-plugin-vue": "^9.32.0",
|
183 | "fixturify": "^3.0.0",
|
184 | "flru": "^1.0.2",
|
185 | "fs-extra": "^11.3.0",
|
186 | "github-api": "^3.4.0",
|
187 | "globals": "^15.14.0",
|
188 | "husky": "^9.1.7",
|
189 | "is-reference": "^3.0.3",
|
190 | "lint-staged": "^15.4.3",
|
191 | "locate-character": "^3.0.0",
|
192 | "magic-string": "^0.30.17",
|
193 | "mocha": "^11.1.0",
|
194 | "nodemon": "^3.1.9",
|
195 | "npm-audit-resolver": "^3.0.0-RC.0",
|
196 | "nyc": "^17.1.0",
|
197 | "picocolors": "^1.1.1",
|
198 | "pinia": "^2.3.1",
|
199 | "prettier": "^3.4.2",
|
200 | "prettier-plugin-organize-imports": "^4.1.0",
|
201 | "pretty-bytes": "^6.1.1",
|
202 | "pretty-ms": "^9.2.0",
|
203 | "requirejs": "^2.3.7",
|
204 | "rollup": "^4.34.1",
|
205 | "rollup-plugin-license": "^3.5.3",
|
206 | "rollup-plugin-string": "^3.0.0",
|
207 | "semver": "^7.7.1",
|
208 | "shx": "^0.3.4",
|
209 | "signal-exit": "^4.1.0",
|
210 | "source-map": "^0.7.4",
|
211 | "source-map-support": "^0.5.21",
|
212 | "systemjs": "^6.15.1",
|
213 | "terser": "^5.37.0",
|
214 | "tslib": "^2.8.1",
|
215 | "typescript": "^5.7.3",
|
216 | "typescript-eslint": "^8.23.0",
|
217 | "vite": "^6.0.11",
|
218 | "vitepress": "^1.6.3",
|
219 | "vue": "^3.5.13",
|
220 | "vue-tsc": "^2.2.0",
|
221 | "wasm-pack": "^0.13.1",
|
222 | "yargs-parser": "^21.1.1"
|
223 | },
|
224 | "overrides": {
|
225 | "axios": "^1.7.9",
|
226 | "semver": "^7.7.1",
|
227 | "readable-stream": "npm:@built-in/readable-stream@1"
|
228 | },
|
229 | "comments": {
|
230 | "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"
|
231 | },
|
232 | "files": [
|
233 | "dist/*.node",
|
234 | "dist/**/*.js",
|
235 | "dist/*.d.ts",
|
236 | "dist/bin/rollup",
|
237 | "dist/es/package.json"
|
238 | ],
|
239 | "engines": {
|
240 | "node": ">=18.0.0",
|
241 | "npm": ">=8.0.0"
|
242 | },
|
243 | "exports": {
|
244 | ".": {
|
245 | "types": "./dist/rollup.d.ts",
|
246 | "require": "./dist/rollup.js",
|
247 | "import": "./dist/es/rollup.js"
|
248 | },
|
249 | "./loadConfigFile": {
|
250 | "types": "./dist/loadConfigFile.d.ts",
|
251 | "require": "./dist/loadConfigFile.js",
|
252 | "default": "./dist/loadConfigFile.js"
|
253 | },
|
254 | "./getLogFilter": {
|
255 | "types": "./dist/getLogFilter.d.ts",
|
256 | "require": "./dist/getLogFilter.js",
|
257 | "import": "./dist/es/getLogFilter.js"
|
258 | },
|
259 | "./parseAst": {
|
260 | "types": "./dist/parseAst.d.ts",
|
261 | "require": "./dist/parseAst.js",
|
262 | "import": "./dist/es/parseAst.js"
|
263 | },
|
264 | "./dist/*": "./dist/*"
|
265 | }
|
266 | } |
\ | No newline at end of file |