package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "name": "rollup",
  3. "version": "3.23.1",
  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. "devDependencies": {
  66. "@codemirror/commands": "^6.2.4",
  67. "@codemirror/lang-javascript": "^6.1.8",
  68. "@codemirror/language": "^6.7.0",
  69. "@codemirror/search": "^6.4.0",
  70. "@codemirror/state": "^6.2.1",
  71. "@codemirror/view": "^6.12.0",
  72. "@jridgewell/sourcemap-codec": "^1.4.15",
  73. "@mermaid-js/mermaid-cli": "^10.1.0",
  74. "@rollup/plugin-alias": "^5.0.0",
  75. "@rollup/plugin-buble": "^1.0.2",
  76. "@rollup/plugin-commonjs": "^25.0.0",
  77. "@rollup/plugin-json": "^6.0.0",
  78. "@rollup/plugin-node-resolve": "^15.1.0",
  79. "@rollup/plugin-replace": "^5.0.2",
  80. "@rollup/plugin-terser": "^0.4.3",
  81. "@rollup/plugin-typescript": "^11.1.1",
  82. "@rollup/pluginutils": "^5.0.2",
  83. "@types/estree": "1.0.1",
  84. "@types/mocha": "^10.0.1",
  85. "@types/node": "~14.18.48",
  86. "@types/yargs-parser": "^21.0.0",
  87. "@typescript-eslint/eslint-plugin": "^5.59.8",
  88. "@typescript-eslint/parser": "^5.59.8",
  89. "@vue/eslint-config-prettier": "^7.1.0",
  90. "@vue/eslint-config-typescript": "^11.0.3",
  91. "acorn": "^8.8.2",
  92. "acorn-import-assertions": "^1.9.0",
  93. "acorn-jsx": "^5.3.2",
  94. "acorn-walk": "^8.2.0",
  95. "buble": "^0.20.0",
  96. "builtin-modules": "^3.3.0",
  97. "chokidar": "^3.5.3",
  98. "colorette": "^2.0.20",
  99. "concurrently": "^8.0.1",
  100. "core-js": "^3.30.2",
  101. "date-time": "^4.0.0",
  102. "es5-shim": "^4.6.7",
  103. "es6-shim": "^0.35.8",
  104. "eslint": "^8.41.0",
  105. "eslint-config-prettier": "^8.8.0",
  106. "eslint-plugin-import": "^2.27.5",
  107. "eslint-plugin-prettier": "^4.2.1",
  108. "eslint-plugin-unicorn": "^47.0.0",
  109. "eslint-plugin-vue": "^9.14.1",
  110. "fixturify": "^3.0.0",
  111. "flru": "^1.0.2",
  112. "fs-extra": "^11.1.1",
  113. "github-api": "^3.4.0",
  114. "hash.js": "^1.1.7",
  115. "husky": "^8.0.3",
  116. "inquirer": "^9.2.6",
  117. "is-reference": "^3.0.1",
  118. "lint-staged": "^13.2.2",
  119. "locate-character": "^2.0.5",
  120. "magic-string": "^0.30.0",
  121. "mocha": "^10.2.0",
  122. "nyc": "^15.1.0",
  123. "pinia": "^2.1.3",
  124. "prettier": "^2.8.8",
  125. "pretty-bytes": "^6.1.0",
  126. "pretty-ms": "^8.0.0",
  127. "requirejs": "^2.3.6",
  128. "rollup": "^3.23.0",
  129. "rollup-plugin-license": "^3.0.1",
  130. "rollup-plugin-string": "^3.0.0",
  131. "rollup-plugin-thatworks": "^1.0.4",
  132. "semver": "^7.5.1",
  133. "shx": "^0.3.4",
  134. "signal-exit": "^4.0.2",
  135. "source-map": "^0.7.4",
  136. "source-map-support": "^0.5.21",
  137. "systemjs": "^6.14.1",
  138. "terser": "^5.17.6",
  139. "tslib": "^2.5.2",
  140. "typescript": "^5.0.4",
  141. "vitepress": "^1.0.0-beta.1",
  142. "vue": "^3.3.4",
  143. "weak-napi": "^2.0.2",
  144. "yargs-parser": "^21.1.1"
  145. },
  146. "files": [
  147. "dist/**/*.js",
  148. "dist/*.d.ts",
  149. "dist/bin/rollup",
  150. "dist/es/package.json"
  151. ],
  152. "engines": {
  153. "node": ">=14.18.0",
  154. "npm": ">=8.0.0"
  155. },
  156. "exports": {
  157. ".": {
  158. "types": "./dist/rollup.d.ts",
  159. "require": "./dist/rollup.js",
  160. "import": "./dist/es/rollup.js"
  161. },
  162. "./loadConfigFile": {
  163. "types": "./dist/loadConfigFile.d.ts",
  164. "require": "./dist/loadConfigFile.js",
  165. "default": "./dist/loadConfigFile.js"
  166. },
  167. "./dist/*": "./dist/*"
  168. }
  169. }