package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "name": "rollup",
  3. "version": "3.7.4",
  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. "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest",
  14. "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript",
  15. "ci:lint": "concurrently 'npm:lint:js:nofix' 'npm:lint:markdown:nofix'",
  16. "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
  17. "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
  18. "ci:coverage": "npm run build:cjs && npm run build:bootstrap && nyc --reporter lcovonly mocha",
  19. "lint": "concurrently -c red,green 'npm:lint:js' 'npm:lint:markdown'",
  20. "lint:js": "eslint . --fix --cache",
  21. "lint:js:nofix": "eslint . --cache",
  22. "lint:markdown": "prettier --write \"**/*.md\"",
  23. "lint:markdown:nofix": "prettier --check \"**/*.md\"",
  24. "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
  25. "perf:init": "node scripts/perf-init.js",
  26. "prepare": "husky install && node scripts/check-release.js || npm run build",
  27. "prepublishOnly": "node scripts/check-release.js",
  28. "release": "node scripts/release.js",
  29. "test": "npm run build && npm run test:all",
  30. "test:cjs": "npm run build:cjs && npm run test:only",
  31. "test:quick": "mocha -b test/test.js",
  32. "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'",
  33. "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
  34. "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
  35. "test:leak": "node --expose-gc test/leak/index.js",
  36. "test:package": "node scripts/test-package.js",
  37. "test:options": "node scripts/test-options.js",
  38. "test:only": "mocha test/test.js",
  39. "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
  40. "test:browser": "mocha test/browser/index.js",
  41. "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
  42. },
  43. "repository": "rollup/rollup",
  44. "keywords": [
  45. "modules",
  46. "bundler",
  47. "bundling",
  48. "es6",
  49. "optimizer"
  50. ],
  51. "author": "Rich Harris",
  52. "license": "MIT",
  53. "bugs": {
  54. "url": "https://github.com/rollup/rollup/issues"
  55. },
  56. "homepage": "https://rollupjs.org/",
  57. "optionalDependencies": {
  58. "fsevents": "~2.3.2"
  59. },
  60. "devDependencies": {
  61. "@rollup/plugin-alias": "^4.0.0",
  62. "@rollup/plugin-buble": "^1.0.0",
  63. "@rollup/plugin-commonjs": "^23.0.0",
  64. "@rollup/plugin-json": "^5.0.0",
  65. "@rollup/plugin-node-resolve": "^15.0.0",
  66. "@rollup/plugin-replace": "^5.0.0",
  67. "@rollup/plugin-typescript": "^9.0.1",
  68. "@rollup/pluginutils": "^5.0.0",
  69. "@types/estree": "1.0.0",
  70. "@types/node": "^14.18.32",
  71. "@types/signal-exit": "^3.0.1",
  72. "@types/yargs-parser": "^21.0.0",
  73. "@typescript-eslint/eslint-plugin": "^5.40.0",
  74. "@typescript-eslint/parser": "^5.40.0",
  75. "acorn": "^8.8.0",
  76. "acorn-import-assertions": "^1.8.0",
  77. "acorn-jsx": "^5.3.2",
  78. "acorn-walk": "^8.2.0",
  79. "buble": "^0.20.0",
  80. "chokidar": "^3.5.3",
  81. "colorette": "^2.0.19",
  82. "concurrently": "^7.4.0",
  83. "core-js": "^3.25.5",
  84. "date-time": "^4.0.0",
  85. "es5-shim": "^4.6.7",
  86. "es6-shim": "^0.35.6",
  87. "eslint": "^8.25.0",
  88. "eslint-config-prettier": "^8.5.0",
  89. "eslint-plugin-import": "^2.26.0",
  90. "eslint-plugin-prettier": "^4.2.1",
  91. "eslint-plugin-unicorn": "^44.0.2",
  92. "fixturify": "^2.1.1",
  93. "fs-extra": "^10.1.0",
  94. "github-api": "^3.4.0",
  95. "hash.js": "^1.1.7",
  96. "husky": "^8.0.1",
  97. "inquirer": "^9.1.3",
  98. "is-reference": "^3.0.0",
  99. "lint-staged": "^13.0.3",
  100. "locate-character": "^2.0.5",
  101. "magic-string": "^0.26.7",
  102. "mocha": "^10.0.0",
  103. "nyc": "^15.1.0",
  104. "prettier": "^2.7.1",
  105. "pretty-bytes": "^6.0.0",
  106. "pretty-ms": "^8.0.0",
  107. "requirejs": "^2.3.6",
  108. "rollup": "^2.79.1",
  109. "rollup-plugin-license": "^2.8.1",
  110. "rollup-plugin-string": "^3.0.0",
  111. "rollup-plugin-terser": "^7.0.2",
  112. "rollup-plugin-thatworks": "^1.0.4",
  113. "semver": "^7.3.8",
  114. "shx": "^0.3.4",
  115. "signal-exit": "^3.0.7",
  116. "source-map": "^0.7.4",
  117. "source-map-support": "^0.5.21",
  118. "sourcemap-codec": "^1.4.8",
  119. "systemjs": "^6.13.0",
  120. "terser": "^5.15.1",
  121. "tslib": "^2.4.0",
  122. "typescript": "^4.8.4",
  123. "weak-napi": "^2.0.2",
  124. "yargs-parser": "^21.1.1"
  125. },
  126. "files": [
  127. "dist/**/*.js",
  128. "dist/*.d.ts",
  129. "dist/bin/rollup",
  130. "dist/es/package.json"
  131. ],
  132. "engines": {
  133. "node": ">=14.18.0",
  134. "npm": ">=8.0.0"
  135. },
  136. "exports": {
  137. ".": {
  138. "types": "./dist/rollup.d.ts",
  139. "require": "./dist/rollup.js",
  140. "import": "./dist/es/rollup.js"
  141. },
  142. "./loadConfigFile": "./dist/loadConfigFile.js",
  143. "./dist/*": "./dist/*"
  144. }
  145. }