package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "babel",
  3. "private": true,
  4. "license": "MIT",
  5. "scripts": {
  6. "build": "make build",
  7. "fix": "make fix",
  8. "lint": "make lint",
  9. "precommit": "lint-staged",
  10. "test": "make test"
  11. },
  12. "devDependencies": {
  13. "@babel/cli": "7.0.0-beta.48",
  14. "@babel/core": "7.0.0-beta.48",
  15. "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.48",
  16. "@babel/preset-env": "7.0.0-beta.48",
  17. "@babel/preset-flow": "7.0.0-beta.48",
  18. "@babel/preset-stage-0": "7.0.0-beta.48",
  19. "@babel/register": "7.0.0-beta.48",
  20. "babel-core": "^7.0.0-0",
  21. "babel-eslint": "^8.0.1",
  22. "babel-jest": "^22.4.1",
  23. "babel-loader": "8.0.0-beta.0",
  24. "babel-plugin-transform-charcodes": "^0.1.0",
  25. "browserify": "^13.1.1",
  26. "bundle-collapser": "^1.2.1",
  27. "chalk": "^2.3.2",
  28. "charcodes": "^0.1.0",
  29. "derequire": "^2.0.2",
  30. "enhanced-resolve": "^3.0.0",
  31. "eslint": "^4.18.2",
  32. "eslint-config-babel": "^7.0.2",
  33. "eslint-plugin-flowtype": "^2.20.0",
  34. "eslint-plugin-prettier": "^2.6.0",
  35. "flow-bin": "^0.73.0",
  36. "graceful-fs": "^4.1.11",
  37. "gulp": "^4.0.0",
  38. "gulp-babel": "^8.0.0-beta.2",
  39. "gulp-filter": "^5.1.0",
  40. "gulp-newer": "^1.0.0",
  41. "gulp-plumber": "^1.0.1",
  42. "gulp-rename": "^1.2.2",
  43. "gulp-uglify": "^3.0.0",
  44. "gulp-util": "^3.0.7",
  45. "gulp-watch": "^5.0.0",
  46. "husky": "^0.14.3",
  47. "jest": "^22.4.2",
  48. "lerna": "2.0.0",
  49. "lerna-changelog": "^0.5.0",
  50. "lint-staged": "^6.0.1",
  51. "lodash": "^4.17.5",
  52. "merge-stream": "^1.0.1",
  53. "output-file-sync": "^2.0.0",
  54. "prettier": "1.13.2",
  55. "pump": "^1.0.2",
  56. "rimraf": "^2.4.3",
  57. "rollup-plugin-babel": "^4.0.0-beta.0",
  58. "rollup-plugin-node-resolve": "^3.0.2",
  59. "rollup-stream": "^1.24.1",
  60. "test262-stream": "^1.1.0",
  61. "through2": "^2.0.0",
  62. "uglify-js": "^2.4.16",
  63. "vinyl-buffer": "^1.0.1",
  64. "vinyl-source-stream": "^2.0.0",
  65. "webpack": "^3.4.1",
  66. "webpack-dependency-suite": "^2.4.4",
  67. "webpack-stream": "^4.0.0"
  68. },
  69. "engines": {
  70. "node": ">= 6.9.0 <= 11.0.0-0",
  71. "npm": ">= 2.x <= 5.x",
  72. "yarn": ">=0.27.5 || >=1.0.0-20170811"
  73. },
  74. "lint-staged": {
  75. "*.js": [
  76. "eslint --format=codeframe --rulesdir='./scripts/eslint_rules'"
  77. ]
  78. },
  79. "jest": {
  80. "collectCoverageFrom": [
  81. "packages/*/src/**/*.mjs",
  82. "packages/*/src/**/*.js",
  83. "codemods/*/src/**/*.mjs",
  84. "codemods/*/src/**/*.js"
  85. ],
  86. "testRegex": "./(packages|codemods)/[^/]+/test/.+\\.m?js$",
  87. "testPathIgnorePatterns": [
  88. "/node_modules/",
  89. "/test/fixtures/",
  90. "/test/debug-fixtures/",
  91. "/babel-parser/test/expressions/",
  92. "/test/tmp/",
  93. "/test/__data__/",
  94. "/test/helpers/",
  95. "<rootDir>/test/warning\\.js",
  96. "<rootDir>/build/",
  97. "_browser\\.js"
  98. ],
  99. "testEnvironment": "node",
  100. "setupTestFrameworkScriptFile": "<rootDir>/test/testSetupFile.js",
  101. "transformIgnorePatterns": [
  102. "/node_modules/",
  103. "<rootDir>/packages/babel-standalone/babel(\\.min)?\\.js",
  104. "<rootDir>/packages/babel-preset-env-standalone/babel-preset-env(\\.min)?\\.js",
  105. "/test/(fixtures|tmp|__data__)/",
  106. "<rootDir>/(packages|codemods)/[^/]+/lib/"
  107. ],
  108. "coveragePathIgnorePatterns": [
  109. "/node_modules/",
  110. "<rootDir>/packages/babel-standalone/babel(\\.min)?\\.js",
  111. "<rootDir>/packages/babel-preset-env-standalone/babel-preset-env(\\.min)?\\.js",
  112. "/test/(fixtures|tmp|__data__)/"
  113. ],
  114. "modulePathIgnorePatterns": [
  115. "/test/fixtures/",
  116. "/test/tmp/",
  117. "/test/__data__/",
  118. "<rootDir>/build/"
  119. ]
  120. }
  121. }