package.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "name": "rollup",
  3. "version": "2.78.0",
  4. "description": "Next-generation ES module bundler",
  5. "main": "dist/rollup.js",
  6. "module": "dist/es/rollup.js",
  7. "typings": "dist/rollup.d.ts",
  8. "bin": {
  9. "rollup": "dist/bin/rollup"
  10. },
  11. "scripts": {
  12. "build": "shx rm -rf dist && node scripts/update-git-commit.js && rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
  13. "build:cjs": "shx rm -rf dist && rollup --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
  14. "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup && cp -r dist browser/",
  15. "ci:lint": "npm run lint: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": "eslint . --fix --cache && prettier --write \"**/*.md\"",
  20. "lint:nofix": "eslint . --cache && prettier --check \"**/*.md\"",
  21. "lint:markdown": "prettier --write \"**/*.md\"",
  22. "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
  23. "perf:debug": "node --inspect-brk scripts/perf-debug.js",
  24. "perf:init": "node scripts/perf-init.js",
  25. "postpublish": "git push && git push --tags",
  26. "security": "npm audit",
  27. "test": "npm run build && npm run test:all",
  28. "test:cjs": "npm run build:cjs && npm run test:only",
  29. "test:quick": "mocha -b test/test.js",
  30. "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
  31. "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
  32. "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
  33. "test:leak": "node --expose-gc test/leak/index.js",
  34. "test:package": "node scripts/test-package.js",
  35. "test:only": "mocha test/test.js",
  36. "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
  37. "test:browser": "mocha test/browser/index.js",
  38. "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
  39. },
  40. "repository": "rollup/rollup",
  41. "keywords": [
  42. "modules",
  43. "bundler",
  44. "bundling",
  45. "es6",
  46. "optimizer"
  47. ],
  48. "author": "Rich Harris",
  49. "license": "MIT",
  50. "bugs": {
  51. "url": "https://github.com/rollup/rollup/issues"
  52. },
  53. "homepage": "https://rollupjs.org/",
  54. "optionalDependencies": {
  55. "fsevents": "~2.3.2"
  56. },
  57. "devDependencies": {
  58. "@rollup/plugin-alias": "^3.1.9",
  59. "@rollup/plugin-buble": "^0.21.3",
  60. "@rollup/plugin-commonjs": "^22.0.1",
  61. "@rollup/plugin-json": "^4.1.0",
  62. "@rollup/plugin-node-resolve": "^13.3.0",
  63. "@rollup/plugin-replace": "^4.0.0",
  64. "@rollup/plugin-typescript": "^8.3.3",
  65. "@rollup/pluginutils": "^4.2.1",
  66. "@types/estree": "0.0.52",
  67. "@types/node": "^10.17.60",
  68. "@types/signal-exit": "^3.0.1",
  69. "@types/yargs-parser": "^20.2.2",
  70. "@typescript-eslint/eslint-plugin": "^5.30.7",
  71. "@typescript-eslint/parser": "^5.30.7",
  72. "acorn": "^8.7.1",
  73. "acorn-jsx": "^5.3.2",
  74. "acorn-walk": "^8.2.0",
  75. "buble": "^0.20.0",
  76. "chokidar": "^3.5.3",
  77. "colorette": "^2.0.19",
  78. "core-js": "^3.23.5",
  79. "date-time": "^4.0.0",
  80. "es5-shim": "^4.6.7",
  81. "es6-shim": "^0.35.6",
  82. "eslint": "^8.20.0",
  83. "eslint-config-prettier": "^8.5.0",
  84. "eslint-plugin-import": "^2.26.0",
  85. "eslint-plugin-prettier": "^4.2.1",
  86. "execa": "^5.1.1",
  87. "fixturify": "^2.1.1",
  88. "fs-extra": "^10.1.0",
  89. "hash.js": "^1.1.7",
  90. "husky": "^7.0.4",
  91. "is-reference": "^3.0.0",
  92. "lint-staged": "^10.5.4",
  93. "locate-character": "^2.0.5",
  94. "magic-string": "^0.26.2",
  95. "mocha": "^9.2.2",
  96. "nyc": "^15.1.0",
  97. "prettier": "^2.7.1",
  98. "pretty-bytes": "^5.6.0",
  99. "pretty-ms": "^7.0.1",
  100. "requirejs": "^2.3.6",
  101. "rollup": "^2.77.0",
  102. "rollup-plugin-license": "^2.8.1",
  103. "rollup-plugin-string": "^3.0.0",
  104. "rollup-plugin-terser": "^7.0.2",
  105. "rollup-plugin-thatworks": "^1.0.4",
  106. "shx": "^0.3.4",
  107. "signal-exit": "^3.0.7",
  108. "source-map": "^0.7.4",
  109. "source-map-support": "^0.5.21",
  110. "sourcemap-codec": "^1.4.8",
  111. "systemjs": "^6.12.1",
  112. "terser": "^5.14.2",
  113. "tslib": "^2.4.0",
  114. "typescript": "^4.7.4",
  115. "weak-napi": "^2.0.2",
  116. "yargs-parser": "^20.2.9"
  117. },
  118. "files": [
  119. "dist/**/*.js",
  120. "dist/*.d.ts",
  121. "dist/bin/rollup",
  122. "dist/es/package.json",
  123. "dist/rollup.browser.js.map"
  124. ],
  125. "engines": {
  126. "node": ">=10.0.0"
  127. },
  128. "exports": {
  129. ".": {
  130. "types": "./dist/rollup.d.ts",
  131. "node": {
  132. "require": "./dist/rollup.js",
  133. "import": "./dist/es/rollup.js"
  134. },
  135. "default": "./dist/es/rollup.browser.js"
  136. },
  137. "./loadConfigFile": "./dist/loadConfigFile.js",
  138. "./dist/loadConfigFile": "./dist/loadConfigFile.js",
  139. "./dist/*": "./dist/*"
  140. }
  141. }