package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "babel-loader",
  3. "version": "10.0.0",
  4. "description": "babel module loader for webpack",
  5. "files": [
  6. "lib"
  7. ],
  8. "main": "lib/index.js",
  9. "engines": {
  10. "node": "^18.20.0 || ^20.10.0 || >=22.0.0"
  11. },
  12. "dependencies": {
  13. "find-up": "^5.0.0"
  14. },
  15. "peerDependencies": {
  16. "@babel/core": "^7.12.0",
  17. "webpack": ">=5.61.0"
  18. },
  19. "devDependencies": {
  20. "@babel/cli": "^7.23.0",
  21. "@babel/core": "^7.23.3",
  22. "@babel/eslint-parser": "^7.23.3",
  23. "@babel/preset-env": "^7.23.3",
  24. "c8": "^10.1.2",
  25. "eslint": "^9.6.0",
  26. "eslint-config-prettier": "^9.1.0",
  27. "eslint-plugin-prettier": "^5.1.3",
  28. "globals": "^15.8.0",
  29. "husky": "^9.1.5",
  30. "lint-staged": "^15.2.9",
  31. "prettier": "^3.0.0",
  32. "webpack": "^5.93.0"
  33. },
  34. "scripts": {
  35. "clean": "node ./scripts/rimraf.mjs lib",
  36. "build": "babel src/ --out-dir lib/ --copy-files",
  37. "format": "prettier --write --trailing-comma all 'src/**/*.js' 'test/**/*.test.js' 'test/helpers/*.js' && prettier --write --trailing-comma es5 'scripts/*.js'",
  38. "lint": "eslint src test",
  39. "precommit": "lint-staged",
  40. "prepublish": "yarn run clean && yarn run build",
  41. "preversion": "yarn run test",
  42. "test": "yarn run lint && yarn run build --source-maps && c8 yarn run test-only",
  43. "test-only": "node --test test/**/*.test.js"
  44. },
  45. "resolutions": {
  46. "minipass": "6.0.2"
  47. },
  48. "repository": {
  49. "type": "git",
  50. "url": "https://github.com/babel/babel-loader.git"
  51. },
  52. "keywords": [
  53. "webpack",
  54. "loader",
  55. "babel",
  56. "es6",
  57. "transpiler",
  58. "module"
  59. ],
  60. "author": "Luis Couto <hello@luiscouto.pt>",
  61. "license": "MIT",
  62. "bugs": {
  63. "url": "https://github.com/babel/babel-loader/issues"
  64. },
  65. "homepage": "https://github.com/babel/babel-loader",
  66. "nyc": {
  67. "all": true,
  68. "include": [
  69. "src/**/*.js"
  70. ],
  71. "reporter": [
  72. "text",
  73. "json"
  74. ],
  75. "sourceMap": false,
  76. "instrument": false
  77. },
  78. "lint-staged": {
  79. "scripts/*.js": [
  80. "prettier --trailing-comma es5 --write",
  81. "git add"
  82. ],
  83. "src/**/*.js": [
  84. "prettier --trailing-comma all --write",
  85. "git add"
  86. ],
  87. "test/**/*.test.js": [
  88. "prettier --trailing-comma all --write",
  89. "git add"
  90. ],
  91. "test/helpers/*.js": [
  92. "prettier --trailing-comma all --write",
  93. "git add"
  94. ],
  95. "package.json": [
  96. "node ./scripts/yarn-install.js",
  97. "git add yarn.lock"
  98. ]
  99. },
  100. "packageManager": "yarn@3.6.4"
  101. }