package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "vue-loader",
  3. "version": "17.4.2",
  4. "license": "MIT",
  5. "author": "Evan You",
  6. "repository": "vuejs/vue-loader",
  7. "main": "dist/index.js",
  8. "types": "dist/index.d.ts",
  9. "files": [
  10. "dist"
  11. ],
  12. "scripts": {
  13. "dev": "tsc --watch",
  14. "build": "tsc",
  15. "pretest": "tsc",
  16. "test": "jest",
  17. "pretest:match-resource": "tsc",
  18. "test:match-resource": "INLINE_MATCH_RESOURCE=true jest",
  19. "pretest:webpack4": "tsc",
  20. "test:webpack4": "WEBPACK4=true jest",
  21. "dev-example": "node example/devServer.js --config example/webpack.config.js --inline --hot",
  22. "build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod",
  23. "build-example-ssr": "rm -rf example/dist-ssr && webpack --config example/webpack.config.js --env.prod --env.ssr && node example/ssr.js",
  24. "lint": "prettier --write --parser typescript \"{src,test}/**/*.{j,t}s\"",
  25. "prepublishOnly": "tsc && conventional-changelog -p angular -i CHANGELOG.md -s -r 2"
  26. },
  27. "gitHooks": {
  28. "pre-commit": "lint-staged"
  29. },
  30. "lint-staged": {
  31. "*.js": [
  32. "prettier --write"
  33. ],
  34. "*.ts": [
  35. "prettier --parser=typescript --write"
  36. ]
  37. },
  38. "dependencies": {
  39. "chalk": "^4.1.0",
  40. "hash-sum": "^2.0.0",
  41. "watchpack": "^2.4.0"
  42. },
  43. "peerDependencies": {
  44. "webpack": "^4.1.0 || ^5.0.0-0"
  45. },
  46. "peerDependenciesMeta": {
  47. "@vue/compiler-sfc": {
  48. "optional": true
  49. },
  50. "vue": {
  51. "optional": true
  52. }
  53. },
  54. "devDependencies": {
  55. "@babel/core": "^7.7.7",
  56. "@babel/preset-env": "^7.11.5",
  57. "@intlify/vue-i18n-loader": "^3.0.0",
  58. "@types/estree": "^0.0.45",
  59. "@types/hash-sum": "^1.0.0",
  60. "@types/jest": "^26.0.13",
  61. "@types/jsdom": "^16.2.13",
  62. "@types/mini-css-extract-plugin": "^0.9.1",
  63. "@types/webpack-merge": "^4.1.5",
  64. "babel-loader": "^8.1.0",
  65. "cache-loader": "^4.1.0",
  66. "conventional-changelog-cli": "^2.1.1",
  67. "css-loader": "^4.3.0",
  68. "file-loader": "^6.1.0",
  69. "html-webpack-plugin": "^4.5.0",
  70. "html-webpack-plugin-v5": "npm:html-webpack-plugin@^5.3.2",
  71. "jest": "^26.4.1",
  72. "jsdom": "^16.4.0",
  73. "lint-staged": "^10.3.0",
  74. "markdown-loader": "^6.0.0",
  75. "memfs": "^3.1.2",
  76. "mini-css-extract-plugin": "^1.6.2",
  77. "normalize-newline": "^3.0.0",
  78. "null-loader": "^4.0.1",
  79. "postcss-loader": "^4.0.4",
  80. "prettier": "^2.1.1",
  81. "pug": "^2.0.0",
  82. "pug-plain-loader": "^1.0.0",
  83. "source-map": "^0.6.1",
  84. "style-loader": "^2.0.0",
  85. "stylus": "^0.54.7",
  86. "stylus-loader": "^4.1.1",
  87. "sugarss": "^3.0.1",
  88. "ts-jest": "^26.2.0",
  89. "ts-loader": "^8.0.6",
  90. "ts-loader-v9": "npm:ts-loader@^9.2.4",
  91. "typescript": "^4.4.3",
  92. "url-loader": "^4.1.0",
  93. "vue": "^3.4.3",
  94. "vue-i18n": "^9.1.7",
  95. "webpack": "^5.79.0",
  96. "webpack-cli": "^3.3.12",
  97. "webpack-dev-server": "^3.11.3",
  98. "webpack-merge": "^5.1.4",
  99. "webpack4": "npm:webpack@^4.46.0",
  100. "yorkie": "^2.0.0"
  101. }
  102. }