web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
2.9 KiB

  1. {
  2. "name": "babel-loader",
  3. "version": "8.1.0",
  4. "description": "babel module loader for webpack",
  5. "files": [
  6. "lib"
  7. ],
  8. "main": "lib/index.js",
  9. "engines": {
  10. "node": ">= 6.9"
  11. },
  12. "dependencies": {
  13. "find-cache-dir": "^2.1.0",
  14. "loader-utils": "^1.4.0",
  15. "mkdirp": "^0.5.3",
  16. "pify": "^4.0.1",
  17. "schema-utils": "^2.6.5"
  18. },
  19. "peerDependencies": {
  20. "@babel/core": "^7.0.0",
  21. "webpack": ">=2"
  22. },
  23. "devDependencies": {
  24. "@babel/cli": "^7.2.0",
  25. "@babel/core": "^7.2.0",
  26. "@babel/preset-env": "^7.2.0",
  27. "ava": "^2.4.0",
  28. "babel-eslint": "^10.0.1",
  29. "babel-plugin-istanbul": "^5.1.0",
  30. "babel-plugin-react-intl": "^4.1.19",
  31. "cross-env": "^6.0.0",
  32. "eslint": "^6.5.1",
  33. "eslint-config-babel": "^9.0.0",
  34. "eslint-config-prettier": "^6.3.0",
  35. "eslint-plugin-flowtype": "^4.3.0",
  36. "eslint-plugin-prettier": "^3.0.0",
  37. "husky": "^3.0.7",
  38. "lint-staged": "^9.4.1",
  39. "nyc": "^14.1.1",
  40. "prettier": "^1.15.3",
  41. "react": "^16.0.0",
  42. "react-intl": "^3.3.2",
  43. "react-intl-webpack-plugin": "^0.3.0",
  44. "rimraf": "^3.0.0",
  45. "webpack": "^4.0.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. "helpers": [
  95. "**/helpers/**/*"
  96. ],
  97. "sources": [
  98. "src/**/*.js"
  99. ]
  100. },
  101. "lint-staged": {
  102. "scripts/*.js": [
  103. "prettier --trailing-comma es5 --write",
  104. "git add"
  105. ],
  106. "src/**/*.js": [
  107. "prettier --trailing-comma all --write",
  108. "git add"
  109. ],
  110. "test/**/*.test.js": [
  111. "prettier --trailing-comma all --write",
  112. "git add"
  113. ],
  114. "test/helpers/*.js": [
  115. "prettier --trailing-comma all --write",
  116. "git add"
  117. ],
  118. "package.json": [
  119. "node ./scripts/yarn-install.js",
  120. "git add yarn.lock"
  121. ]
  122. }
  123. }