package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "name": "babel-loader",
  3. "version": "9.1.0",
  4. "description": "babel module loader for webpack",
  5. "files": [
  6. "lib"
  7. ],
  8. "main": "lib/index.js",
  9. "engines": {
  10. "node": ">= 14.15.0"
  11. },
  12. "dependencies": {
  13. "find-cache-dir": "^3.3.2",
  14. "schema-utils": "^4.0.0"
  15. },
  16. "peerDependencies": {
  17. "@babel/core": "^7.12.0",
  18. "webpack": ">=5"
  19. },
  20. "devDependencies": {
  21. "@ava/babel": "^1.0.1",
  22. "@babel/cli": "^7.19.3",
  23. "@babel/core": "^7.19.6",
  24. "@babel/preset-env": "^7.19.4",
  25. "ava": "^3.13.0",
  26. "babel-eslint": "^10.1.0",
  27. "babel-plugin-istanbul": "^6.1.1",
  28. "babel-plugin-react-intl": "^8.2.25",
  29. "cross-env": "^7.0.2",
  30. "eslint": "^7.13.0",
  31. "eslint-config-babel": "^9.0.0",
  32. "eslint-config-prettier": "^6.3.0",
  33. "eslint-plugin-flowtype": "^5.2.0",
  34. "eslint-plugin-prettier": "^3.0.0",
  35. "husky": "^4.3.0",
  36. "lint-staged": "^10.5.1",
  37. "nyc": "^15.1.0",
  38. "pnp-webpack-plugin": "^1.6.4",
  39. "prettier": "^2.1.2",
  40. "react": "^17.0.1",
  41. "react-intl": "^5.9.4",
  42. "react-intl-webpack-plugin": "^0.3.0",
  43. "rimraf": "^3.0.0",
  44. "semver": "7.3.2",
  45. "webpack": "^5.74.0"
  46. },
  47. "scripts": {
  48. "clean": "rimraf lib/",
  49. "build": "babel src/ --out-dir lib/ --copy-files",
  50. "format": "prettier --write --trailing-comma all 'src/**/*.js' 'test/**/*.test.js' 'test/helpers/*.js' && prettier --write --trailing-comma es5 'scripts/*.js'",
  51. "lint": "eslint src test",
  52. "precommit": "lint-staged",
  53. "prepublish": "yarn run clean && yarn run build",
  54. "preversion": "yarn run test",
  55. "test": "yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only",
  56. "test-only": "nyc ava"
  57. },
  58. "repository": {
  59. "type": "git",
  60. "url": "https://github.com/babel/babel-loader.git"
  61. },
  62. "keywords": [
  63. "webpack",
  64. "loader",
  65. "babel",
  66. "es6",
  67. "transpiler",
  68. "module"
  69. ],
  70. "author": "Luis Couto <hello@luiscouto.pt>",
  71. "license": "MIT",
  72. "bugs": {
  73. "url": "https://github.com/babel/babel-loader/issues"
  74. },
  75. "homepage": "https://github.com/babel/babel-loader",
  76. "nyc": {
  77. "all": true,
  78. "include": [
  79. "src/**/*.js"
  80. ],
  81. "reporter": [
  82. "text",
  83. "json"
  84. ],
  85. "sourceMap": false,
  86. "instrument": false
  87. },
  88. "ava": {
  89. "files": [
  90. "test/**/*.test.js",
  91. "!test/fixtures/**/*",
  92. "!test/helpers/**/*"
  93. ],
  94. "babel": {
  95. "compileAsTests": [
  96. "test/helpers/**/*"
  97. ]
  98. }
  99. },
  100. "lint-staged": {
  101. "scripts/*.js": [
  102. "prettier --trailing-comma es5 --write",
  103. "git add"
  104. ],
  105. "src/**/*.js": [
  106. "prettier --trailing-comma all --write",
  107. "git add"
  108. ],
  109. "test/**/*.test.js": [
  110. "prettier --trailing-comma all --write",
  111. "git add"
  112. ],
  113. "test/helpers/*.js": [
  114. "prettier --trailing-comma all --write",
  115. "git add"
  116. ],
  117. "package.json": [
  118. "node ./scripts/yarn-install.js",
  119. "git add yarn.lock"
  120. ]
  121. },
  122. "resolutions": {
  123. "nyc/node-preload": "0.2.0"
  124. }
  125. }