package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "name": "rollup",
  3. "version": "3.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. "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.0",
  67. "@codemirror/lang-javascript": "^6.1.2",
  68. "@codemirror/language": "^6.4.0",
  69. "@codemirror/search": "^6.2.3",
  70. "@codemirror/state": "^6.2.0",
  71. "@codemirror/view": "^6.7.3",
  72. "@jridgewell/sourcemap-codec": "^1.4.14",
  73. "@rollup/plugin-alias": "^4.0.2",
  74. "@rollup/plugin-buble": "^1.0.1",
  75. "@rollup/plugin-commonjs": "^24.0.0",
  76. "@rollup/plugin-json": "^6.0.0",
  77. "@rollup/plugin-node-resolve": "^15.0.1",
  78. "@rollup/plugin-replace": "^5.0.2",
  79. "@rollup/plugin-terser": "^0.3.0",
  80. "@rollup/plugin-typescript": "^11.0.0",
  81. "@rollup/pluginutils": "^5.0.2",
  82. "@types/estree": "1.0.0",
  83. "@types/node": "^14.18.36",
  84. "@types/signal-exit": "^3.0.1",
  85. "@types/yargs-parser": "^21.0.0",
  86. "@typescript-eslint/eslint-plugin": "^5.50.0",
  87. "@typescript-eslint/parser": "^5.50.0",
  88. "@vue/eslint-config-prettier": "^7.0.0",
  89. "@vue/eslint-config-typescript": "^11.0.2",
  90. "acorn": "^8.8.1",
  91. "acorn-import-assertions": "^1.8.0",
  92. "acorn-jsx": "^5.3.2",
  93. "acorn-walk": "^8.2.0",
  94. "buble": "^0.20.0",
  95. "builtin-modules": "^3.3.0",
  96. "chokidar": "^3.5.3",
  97. "colorette": "^2.0.19",
  98. "concurrently": "^7.6.0",
  99. "core-js": "^3.27.1",
  100. "date-time": "^4.0.0",
  101. "es5-shim": "^4.6.7",
  102. "es6-shim": "^0.35.7",
  103. "eslint": "^8.33.0",
  104. "eslint-config-prettier": "^8.6.0",
  105. "eslint-plugin-import": "^2.27.5",
  106. "eslint-plugin-prettier": "^4.2.1",
  107. "eslint-plugin-unicorn": "^45.0.2",
  108. "eslint-plugin-vue": "^9.9.0",
  109. "fixturify": "^3.0.0",
  110. "flru": "^1.0.2",
  111. "fs-extra": "^11.1.0",
  112. "github-api": "^3.4.0",
  113. "hash.js": "^1.1.7",
  114. "husky": "^8.0.3",
  115. "inquirer": "^9.1.4",
  116. "is-reference": "^3.0.1",
  117. "lint-staged": "^13.1.0",
  118. "locate-character": "^2.0.5",
  119. "magic-string": "^0.29.0",
  120. "mocha": "^10.2.0",
  121. "nyc": "^15.1.0",
  122. "pinia": "^2.0.29",
  123. "prettier": "^2.8.3",
  124. "pretty-bytes": "^6.0.0",
  125. "pretty-ms": "^8.0.0",
  126. "requirejs": "^2.3.6",
  127. "rollup": "^3.16.0",
  128. "rollup-plugin-license": "^3.0.1",
  129. "rollup-plugin-string": "^3.0.0",
  130. "rollup-plugin-thatworks": "^1.0.4",
  131. "semver": "^7.3.8",
  132. "shx": "^0.3.4",
  133. "signal-exit": "^3.0.7",
  134. "source-map": "^0.7.4",
  135. "source-map-support": "^0.5.21",
  136. "systemjs": "^6.13.0",
  137. "terser": "^5.16.1",
  138. "tslib": "^2.4.1",
  139. "typescript": "^4.9.4",
  140. "vitepress": "^1.0.0-alpha.44",
  141. "vitepress-plugin-mermaid": "^2.0.8",
  142. "vue": "^3.2.45",
  143. "weak-napi": "^2.0.2",
  144. "yargs-parser": "^21.1.1"
  145. },
  146. "overrides": {
  147. "d3": "7.8.0"
  148. },
  149. "files": [
  150. "dist/**/*.js",
  151. "dist/*.d.ts",
  152. "dist/bin/rollup",
  153. "dist/es/package.json"
  154. ],
  155. "engines": {
  156. "node": ">=14.18.0",
  157. "npm": ">=8.0.0"
  158. },
  159. "exports": {
  160. ".": {
  161. "types": "./dist/rollup.d.ts",
  162. "require": "./dist/rollup.js",
  163. "import": "./dist/es/rollup.js"
  164. },
  165. "./loadConfigFile": {
  166. "types": "./dist/loadConfigFile.d.ts",
  167. "require": "./dist/loadConfigFile.js",
  168. "default": "./dist/loadConfigFile.js"
  169. },
  170. "./dist/*": "./dist/*"
  171. }
  172. }