package.json 2.7 KB

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