package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "html-loader",
  3. "version": "1.3.2",
  4. "description": "Html loader module for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/html-loader",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/html-loader",
  9. "bugs": "https://github.com/webpack-contrib/html-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 10.13.0"
  17. },
  18. "scripts": {
  19. "start": "npm run build -- -w",
  20. "clean": "del-cli dist",
  21. "validate:runtime": "es-check es5 \"dist/runtime/**/*.js\"",
  22. "prebuild": "npm run clean",
  23. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  24. "postbuild": "npm run validate:runtime",
  25. "commitlint": "commitlint --from=master",
  26. "security": "npm audit",
  27. "lint:prettier": "prettier --list-different .",
  28. "lint:js": "eslint --cache .",
  29. "lint": "npm-run-all -l -p \"lint:**\"",
  30. "test:only": "cross-env NODE_ENV=test jest",
  31. "test:watch": "npm run test:only -- --watch",
  32. "test:coverage": "npm run test:only -- --coverage",
  33. "pretest": "npm run lint",
  34. "test": "npm run test:coverage",
  35. "prepare": "npm run build",
  36. "release": "standard-version",
  37. "defaults": "webpack-defaults"
  38. },
  39. "files": [
  40. "dist"
  41. ],
  42. "peerDependencies": {
  43. "webpack": "^4.0.0 || ^5.0.0"
  44. },
  45. "dependencies": {
  46. "html-minifier-terser": "^5.1.1",
  47. "htmlparser2": "^4.1.0",
  48. "loader-utils": "^2.0.0",
  49. "schema-utils": "^3.0.0"
  50. },
  51. "devDependencies": {
  52. "@babel/cli": "^7.11.6",
  53. "@babel/core": "^7.11.6",
  54. "@babel/preset-env": "^7.11.5",
  55. "@commitlint/cli": "^11.0.0",
  56. "@commitlint/config-conventional": "^11.0.0",
  57. "@webpack-contrib/defaults": "^6.3.0",
  58. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  59. "babel-jest": "^26.5.2",
  60. "cross-env": "^7.0.2",
  61. "del": "^6.0.0",
  62. "del-cli": "^3.0.1",
  63. "es-check": "^5.1.1",
  64. "eslint": "^7.10.0",
  65. "eslint-config-prettier": "^6.12.0",
  66. "eslint-plugin-import": "^2.22.1",
  67. "file-loader": "^6.1.1",
  68. "handlebars": "^4.7.6",
  69. "husky": "^4.3.0",
  70. "jest": "^26.5.2",
  71. "lint-staged": "^10.4.0",
  72. "memfs": "^3.2.0",
  73. "npm-run-all": "^4.1.5",
  74. "posthtml": "^0.13.3",
  75. "posthtml-webp": "^2.1.0",
  76. "prettier": "^2.1.2",
  77. "standard-version": "^9.0.0",
  78. "url-loader": "^4.1.1",
  79. "webpack": "^4.44.2"
  80. },
  81. "keywords": [
  82. "webpack",
  83. "html",
  84. "loader"
  85. ]
  86. }