package.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. {
  2. "name": "rollup",
  3. "version": "3.29.5",
  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. "scripts": {
  12. "build": "rollup --config rollup.config.ts --configPlugin typescript",
  13. "dev": "vitepress dev docs",
  14. "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest",
  15. "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript",
  16. "build:docs": "vitepress build docs",
  17. "preview:docs": "vitepress preview docs",
  18. "ci:lint": "concurrently 'npm:lint:js:nofix' 'npm:lint:markdown:nofix'",
  19. "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
  20. "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
  21. "ci:coverage": "npm run build:cjs && npm run build:bootstrap && nyc --reporter lcovonly mocha",
  22. "lint": "concurrently -c red,green 'npm:lint:js' 'npm:lint:markdown'",
  23. "lint:js": "eslint . --fix --cache",
  24. "lint:js:nofix": "eslint . --cache",
  25. "lint:markdown": "prettier --write \"**/*.md\"",
  26. "lint:markdown:nofix": "prettier --check \"**/*.md\"",
  27. "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
  28. "perf:init": "node scripts/perf-init.js",
  29. "prepare": "husky install && node scripts/check-release.js || npm run build",
  30. "prepublishOnly": "node scripts/check-release.js",
  31. "release": "node scripts/release.js",
  32. "release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
  33. "test": "npm run build && npm run test:all",
  34. "test:update-snapshots": "node scripts/update-snapshots.js",
  35. "test:cjs": "npm run build:cjs && npm run test:only",
  36. "test:quick": "mocha -b test/test.js",
  37. "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'",
  38. "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
  39. "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
  40. "test:leak": "node --expose-gc test/leak/index.js",
  41. "test:package": "node scripts/test-package.js",
  42. "test:options": "node scripts/test-options.js",
  43. "test:only": "mocha test/test.js",
  44. "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
  45. "test:browser": "mocha test/browser/index.js",
  46. "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
  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.3.2"
  64. },
  65. "devDependenciesComments": {
  66. "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
  67. },
  68. "devDependencies": {
  69. "@codemirror/commands": "^6.2.5",
  70. "@codemirror/lang-javascript": "^6.2.1",
  71. "@codemirror/language": "^6.9.0",
  72. "@codemirror/search": "^6.5.3",
  73. "@codemirror/state": "^6.2.1",
  74. "@codemirror/view": "^6.19.0",
  75. "@jridgewell/sourcemap-codec": "^1.4.15",
  76. "@mermaid-js/mermaid-cli": "^10.4.0",
  77. "@rollup/plugin-alias": "^5.0.0",
  78. "@rollup/plugin-buble": "^1.0.2",
  79. "@rollup/plugin-commonjs": "^25.0.4",
  80. "@rollup/plugin-json": "^6.0.0",
  81. "@rollup/plugin-node-resolve": "^15.2.1",
  82. "@rollup/plugin-replace": "^5.0.2",
  83. "@rollup/plugin-terser": "^0.4.3",
  84. "@rollup/plugin-typescript": "11.1.2",
  85. "@rollup/pluginutils": "^5.0.4",
  86. "@types/estree": "1.0.1",
  87. "@types/mocha": "^10.0.1",
  88. "@types/node": "~14.18.61",
  89. "@types/yargs-parser": "^21.0.0",
  90. "@typescript-eslint/eslint-plugin": "^6.7.2",
  91. "@typescript-eslint/parser": "^6.7.2",
  92. "@vue/eslint-config-prettier": "^8.0.0",
  93. "@vue/eslint-config-typescript": "^12.0.0",
  94. "acorn": "^8.10.0",
  95. "acorn-import-assertions": "^1.9.0",
  96. "acorn-jsx": "^5.3.2",
  97. "acorn-walk": "^8.2.0",
  98. "buble": "^0.20.0",
  99. "builtin-modules": "^3.3.0",
  100. "chokidar": "^3.5.3",
  101. "colorette": "^2.0.20",
  102. "concurrently": "^8.2.1",
  103. "core-js": "^3.32.2",
  104. "date-time": "^4.0.0",
  105. "es5-shim": "^4.6.7",
  106. "es6-shim": "^0.35.8",
  107. "eslint": "^8.49.0",
  108. "eslint-config-prettier": "^9.0.0",
  109. "eslint-plugin-import": "^2.28.1",
  110. "eslint-plugin-prettier": "^5.0.0",
  111. "eslint-plugin-unicorn": "^48.0.1",
  112. "eslint-plugin-vue": "^9.17.0",
  113. "fixturify": "^3.0.0",
  114. "flru": "^1.0.2",
  115. "fs-extra": "^11.1.1",
  116. "github-api": "^3.4.0",
  117. "hash.js": "^1.1.7",
  118. "husky": "^8.0.3",
  119. "inquirer": "^9.2.11",
  120. "is-reference": "^3.0.2",
  121. "lint-staged": "^14.0.1",
  122. "locate-character": "^3.0.0",
  123. "magic-string": "^0.30.3",
  124. "mocha": "^10.2.0",
  125. "nyc": "^15.1.0",
  126. "pinia": "^2.1.6",
  127. "prettier": "^3.0.3",
  128. "pretty-bytes": "^6.1.1",
  129. "pretty-ms": "^8.0.0",
  130. "requirejs": "^2.3.6",
  131. "rollup": "^3.29.2",
  132. "rollup-plugin-license": "^3.1.0",
  133. "rollup-plugin-string": "^3.0.0",
  134. "rollup-plugin-thatworks": "^1.0.4",
  135. "semver": "^7.5.4",
  136. "shx": "^0.3.4",
  137. "signal-exit": "^4.1.0",
  138. "source-map": "^0.7.4",
  139. "source-map-support": "^0.5.21",
  140. "systemjs": "^6.14.2",
  141. "terser": "^5.19.4",
  142. "tslib": "^2.6.2",
  143. "typescript": "^5.2.2",
  144. "vite": "^4.4.9",
  145. "vitepress": "^1.0.0-rc.14",
  146. "vue": "^3.3.4",
  147. "weak-napi": "^2.0.2",
  148. "yargs-parser": "^21.1.1"
  149. },
  150. "overrides": {
  151. "semver": "^7.5.4"
  152. },
  153. "files": [
  154. "dist/**/*.js",
  155. "dist/*.d.ts",
  156. "dist/bin/rollup",
  157. "dist/es/package.json"
  158. ],
  159. "engines": {
  160. "node": ">=14.18.0",
  161. "npm": ">=8.0.0"
  162. },
  163. "exports": {
  164. ".": {
  165. "types": "./dist/rollup.d.ts",
  166. "require": "./dist/rollup.js",
  167. "import": "./dist/es/rollup.js"
  168. },
  169. "./loadConfigFile": {
  170. "types": "./dist/loadConfigFile.d.ts",
  171. "require": "./dist/loadConfigFile.js",
  172. "default": "./dist/loadConfigFile.js"
  173. },
  174. "./getLogFilter": {
  175. "types": "./dist/getLogFilter.d.ts",
  176. "require": "./dist/getLogFilter.js",
  177. "import": "./dist/es/getLogFilter.js"
  178. },
  179. "./dist/*": "./dist/*"
  180. }
  181. }