244 lines
10 KiB
JSON
244 lines
10 KiB
JSON
|
{
|
||
|
"name": "rollup",
|
||
|
"version": "4.9.6",
|
||
|
"description": "Next-generation ES module bundler",
|
||
|
"main": "dist/rollup.js",
|
||
|
"module": "dist/es/rollup.js",
|
||
|
"types": "dist/rollup.d.ts",
|
||
|
"bin": {
|
||
|
"rollup": "dist/bin/rollup"
|
||
|
},
|
||
|
"napi": {
|
||
|
"name": "rollup",
|
||
|
"package": {
|
||
|
"name": "@rollup/rollup"
|
||
|
},
|
||
|
"triples": {
|
||
|
"defaults": false,
|
||
|
"additional": [
|
||
|
"aarch64-apple-darwin",
|
||
|
"aarch64-linux-android",
|
||
|
"aarch64-pc-windows-msvc",
|
||
|
"aarch64-unknown-linux-gnu",
|
||
|
"aarch64-unknown-linux-musl",
|
||
|
"armv7-linux-androideabi",
|
||
|
"armv7-unknown-linux-gnueabihf",
|
||
|
"i686-pc-windows-msvc",
|
||
|
"riscv64gc-unknown-linux-gnu",
|
||
|
"x86_64-apple-darwin",
|
||
|
"x86_64-pc-windows-msvc",
|
||
|
"x86_64-unknown-linux-gnu",
|
||
|
"x86_64-unknown-linux-musl"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"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",
|
||
|
"build:quick": "concurrently -c green,blue 'npm:build:napi' 'npm:build:cjs' && npm run build:copy-native",
|
||
|
"build:napi": "napi build --platform --dts native.d.ts --js false --cargo-cwd rust -p bindings_napi --cargo-name bindings_napi",
|
||
|
"build:wasm": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
|
||
|
"build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
|
||
|
"update:napi": "npm run build:napi && npm run build:copy-native",
|
||
|
"build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
|
||
|
"build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit",
|
||
|
"build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
|
||
|
"update:js": "npm run build:js && npm run build:copy-native",
|
||
|
"build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
|
||
|
"dev": "vitepress dev docs",
|
||
|
"build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
|
||
|
"build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
|
||
|
"build:docs": "vitepress build docs",
|
||
|
"build:ast-converters": "node scripts/generate-ast-converters.js",
|
||
|
"preview:docs": "vitepress preview docs",
|
||
|
"ci:artifacts": "napi artifacts",
|
||
|
"ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
|
||
|
"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",
|
||
|
"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'",
|
||
|
"ci:coverage": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && nyc --reporter lcovonly mocha",
|
||
|
"lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
|
||
|
"lint:js": "eslint . --fix --cache",
|
||
|
"lint:js:nofix": "eslint . --cache",
|
||
|
"lint:native-js": "node scripts/lint-native-js.js",
|
||
|
"lint:markdown": "prettier --write \"**/*.md\"",
|
||
|
"lint:markdown:nofix": "prettier --check \"**/*.md\"",
|
||
|
"lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
|
||
|
"lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
|
||
|
"perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
|
||
|
"perf:init": "node scripts/perf-init.js",
|
||
|
"prepare": "husky install && node scripts/check-release.js || npm run build:prepare",
|
||
|
"prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
|
||
|
"postpublish": "node scripts/postpublish.js",
|
||
|
"prepublish:napi": "napi prepublish --skip-gh-release",
|
||
|
"release": "node scripts/prepare-release.js",
|
||
|
"release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
|
||
|
"test": "npm run build && npm run test:all",
|
||
|
"test:update-snapshots": "node scripts/update-snapshots.js",
|
||
|
"test:cjs": "npm run build:cjs && npm run test:only",
|
||
|
"test:quick": "mocha -b test/test.js",
|
||
|
"test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan,red 'npm:test:only' 'npm:test:browser' 'npm:test:typescript' 'npm:test:leak' 'npm:test:package' 'npm:test:options'",
|
||
|
"test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
||
|
"test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
||
|
"test:leak": "node --expose-gc test/leak/index.js",
|
||
|
"test:package": "node scripts/test-package.js",
|
||
|
"test:options": "node scripts/test-options.js",
|
||
|
"test:only": "mocha test/test.js",
|
||
|
"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",
|
||
|
"test:browser": "mocha test/browser/index.js",
|
||
|
"watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
|
||
|
},
|
||
|
"repository": "rollup/rollup",
|
||
|
"keywords": [
|
||
|
"modules",
|
||
|
"bundler",
|
||
|
"bundling",
|
||
|
"es6",
|
||
|
"optimizer"
|
||
|
],
|
||
|
"author": "Rich Harris",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/rollup/rollup/issues"
|
||
|
},
|
||
|
"homepage": "https://rollupjs.org/",
|
||
|
"optionalDependencies": {
|
||
|
"fsevents": "~2.3.2",
|
||
|
"@rollup/rollup-darwin-arm64": "4.9.6",
|
||
|
"@rollup/rollup-android-arm64": "4.9.6",
|
||
|
"@rollup/rollup-win32-arm64-msvc": "4.9.6",
|
||
|
"@rollup/rollup-linux-arm64-gnu": "4.9.6",
|
||
|
"@rollup/rollup-linux-arm64-musl": "4.9.6",
|
||
|
"@rollup/rollup-android-arm-eabi": "4.9.6",
|
||
|
"@rollup/rollup-linux-arm-gnueabihf": "4.9.6",
|
||
|
"@rollup/rollup-win32-ia32-msvc": "4.9.6",
|
||
|
"@rollup/rollup-linux-riscv64-gnu": "4.9.6",
|
||
|
"@rollup/rollup-darwin-x64": "4.9.6",
|
||
|
"@rollup/rollup-win32-x64-msvc": "4.9.6",
|
||
|
"@rollup/rollup-linux-x64-gnu": "4.9.6",
|
||
|
"@rollup/rollup-linux-x64-musl": "4.9.6"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/estree": "1.0.5"
|
||
|
},
|
||
|
"devDependenciesComments": {
|
||
|
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@codemirror/commands": "^6.3.3",
|
||
|
"@codemirror/lang-javascript": "^6.2.1",
|
||
|
"@codemirror/language": "^6.10.0",
|
||
|
"@codemirror/search": "^6.5.5",
|
||
|
"@codemirror/state": "^6.4.0",
|
||
|
"@codemirror/view": "^6.23.0",
|
||
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
||
|
"@mermaid-js/mermaid-cli": "^10.6.1",
|
||
|
"@napi-rs/cli": "^2.17.0",
|
||
|
"@rollup/plugin-alias": "^5.1.0",
|
||
|
"@rollup/plugin-buble": "^1.0.3",
|
||
|
"@rollup/plugin-commonjs": "^25.0.7",
|
||
|
"@rollup/plugin-json": "^6.1.0",
|
||
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||
|
"@rollup/plugin-replace": "^5.0.5",
|
||
|
"@rollup/plugin-terser": "^0.4.4",
|
||
|
"@rollup/plugin-typescript": "11.1.5",
|
||
|
"@rollup/pluginutils": "^5.1.0",
|
||
|
"@types/eslint": "^8.56.2",
|
||
|
"@types/inquirer": "^9.0.7",
|
||
|
"@types/mocha": "^10.0.6",
|
||
|
"@types/node": "^18.11.19",
|
||
|
"@types/yargs-parser": "^21.0.3",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||
|
"@typescript-eslint/parser": "^6.19.0",
|
||
|
"@vue/eslint-config-prettier": "^9.0.0",
|
||
|
"@vue/eslint-config-typescript": "^12.0.0",
|
||
|
"acorn": "^8.11.3",
|
||
|
"acorn-import-assertions": "^1.9.0",
|
||
|
"buble": "^0.20.0",
|
||
|
"builtin-modules": "^3.3.0",
|
||
|
"chokidar": "^3.5.3",
|
||
|
"colorette": "^2.0.20",
|
||
|
"concurrently": "^8.2.2",
|
||
|
"core-js": "^3.35.0",
|
||
|
"date-time": "^4.0.0",
|
||
|
"es5-shim": "^4.6.7",
|
||
|
"es6-shim": "^0.35.8",
|
||
|
"eslint": "^8.56.0",
|
||
|
"eslint-config-prettier": "^9.1.0",
|
||
|
"eslint-plugin-import": "^2.29.1",
|
||
|
"eslint-plugin-prettier": "^5.1.3",
|
||
|
"eslint-plugin-unicorn": "^50.0.1",
|
||
|
"eslint-plugin-vue": "^9.20.1",
|
||
|
"fixturify": "^3.0.0",
|
||
|
"flru": "^1.0.2",
|
||
|
"fs-extra": "^11.2.0",
|
||
|
"github-api": "^3.4.0",
|
||
|
"husky": "^8.0.3",
|
||
|
"inquirer": "^9.2.12",
|
||
|
"is-reference": "^3.0.2",
|
||
|
"lint-staged": "^15.2.0",
|
||
|
"locate-character": "^3.0.0",
|
||
|
"magic-string": "^0.30.5",
|
||
|
"mocha": "^10.2.0",
|
||
|
"nyc": "^15.1.0",
|
||
|
"pinia": "^2.1.7",
|
||
|
"prettier": "^3.2.2",
|
||
|
"pretty-bytes": "^6.1.1",
|
||
|
"pretty-ms": "^8.0.0",
|
||
|
"requirejs": "^2.3.6",
|
||
|
"rollup": "^4.9.5",
|
||
|
"rollup-plugin-license": "^3.2.0",
|
||
|
"rollup-plugin-string": "^3.0.0",
|
||
|
"semver": "^7.5.4",
|
||
|
"shx": "^0.3.4",
|
||
|
"signal-exit": "^4.1.0",
|
||
|
"source-map": "^0.7.4",
|
||
|
"source-map-support": "^0.5.21",
|
||
|
"systemjs": "^6.14.3",
|
||
|
"terser": "^5.26.0",
|
||
|
"tslib": "^2.6.2",
|
||
|
"typescript": "^5.3.3",
|
||
|
"vite": "^5.0.11",
|
||
|
"vitepress": "^1.0.0-rc.39",
|
||
|
"vue": "^3.4.14",
|
||
|
"wasm-pack": "^0.12.1",
|
||
|
"weak-napi": "^2.0.2",
|
||
|
"yargs-parser": "^21.1.1"
|
||
|
},
|
||
|
"overrides": {
|
||
|
"axios": "^1.6.5",
|
||
|
"semver": "^7.5.4"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist/*.node",
|
||
|
"dist/**/*.js",
|
||
|
"dist/*.d.ts",
|
||
|
"dist/bin/rollup",
|
||
|
"dist/es/package.json"
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">=18.0.0",
|
||
|
"npm": ">=8.0.0"
|
||
|
},
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"types": "./dist/rollup.d.ts",
|
||
|
"require": "./dist/rollup.js",
|
||
|
"import": "./dist/es/rollup.js"
|
||
|
},
|
||
|
"./loadConfigFile": {
|
||
|
"types": "./dist/loadConfigFile.d.ts",
|
||
|
"require": "./dist/loadConfigFile.js",
|
||
|
"default": "./dist/loadConfigFile.js"
|
||
|
},
|
||
|
"./getLogFilter": {
|
||
|
"types": "./dist/getLogFilter.d.ts",
|
||
|
"require": "./dist/getLogFilter.js",
|
||
|
"import": "./dist/es/getLogFilter.js"
|
||
|
},
|
||
|
"./parseAst": {
|
||
|
"types": "./dist/parseAst.d.ts",
|
||
|
"require": "./dist/parseAst.js",
|
||
|
"import": "./dist/es/parseAst.js"
|
||
|
},
|
||
|
"./dist/*": "./dist/*"
|
||
|
}
|
||
|
}
|