package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "script-ext-html-webpack-plugin",
  3. "version": "2.1.3",
  4. "description": "Enhances html-webpack-plugin functionality with async and defer attributes for script elements",
  5. "main": "index.js",
  6. "files": [
  7. "index.js",
  8. "lib/"
  9. ],
  10. "scripts": {
  11. "pretest": "semistandard & install-module-versions dynavers.json",
  12. "test": "npm run test:hwp",
  13. "test:hwp": "npm run test:hwp3 && npm run test:hwp4",
  14. "test:hwp3": "cross-env VERSION=webpack1 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack2 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack3 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack4 HWP_VERSION=hwp3 jasmine",
  15. "test:hwp4": "cross-env VERSION=webpack4 HWP_VERSION=hwp4 jasmine",
  16. "test:webpack1": "cross-env VERSION=webpack1 jasmine",
  17. "test:webpack2": "cross-env VERSION=webpack2 jasmine",
  18. "test:webpack3": "cross-env VERSION=webpack3 jasmine",
  19. "test:webpack4": "cross-env VERSION=webpack4 jasmine",
  20. "debug": "cross-env DEBUG=ScriptExt VERSION=webpack4 HWP_VERSION=hwp4 jasmine",
  21. "node-debug": "cross-env DEBUG=ScriptExt VERSION=webpack4 HWP_VERSION=hwp4 node-debug jasmine"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/numical/script-ext-html-webpack-plugin.git"
  26. },
  27. "keywords": [
  28. "webpack",
  29. "plugin",
  30. "html-webpack-plugin",
  31. "async",
  32. "defer",
  33. "inline",
  34. "script",
  35. "module",
  36. "resource hints",
  37. "prefetch",
  38. "preload",
  39. "dynamic script",
  40. "async script"
  41. ],
  42. "author": "Mike Evans <mike.evans@numical.com> (https://github.com/numical)",
  43. "license": "MIT",
  44. "bugs": {
  45. "url": "https://github.com/numical/script-ext-html-webpack-plugin/issues"
  46. },
  47. "homepage": "https://github.com/numical/script-ext-html-webpack-plugin",
  48. "dependencies": {
  49. "debug": "^4.1.0"
  50. },
  51. "devDependencies": {
  52. "cross-env": "^5.2.0",
  53. "css-loader": "^1.0.1",
  54. "dynavers": "^0.3.1",
  55. "handlebars": "^4.0.12",
  56. "handlebars-loader": "1.7.0",
  57. "jasmine": "^3.3.0",
  58. "jasmine-spec-reporter": "^4.2.1",
  59. "jasmine2-custom-message": "^0.9.3",
  60. "rimraf": "^2.6.2",
  61. "semistandard": "^13.0.1",
  62. "uglifyjs-webpack-plugin": "^2.0.1",
  63. "webpack-config": "7.5.0"
  64. },
  65. "peerDependencies": {
  66. "webpack": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0",
  67. "html-webpack-plugin": "^3.0.0 || ^4.0.0"
  68. },
  69. "engines": {
  70. "node": ">=6.11.5"
  71. }
  72. }