package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "webpack-manifest-plugin",
  3. "version": "4.1.1",
  4. "description": "A Webpack Plugin for generating Asset Manifests",
  5. "license": "MIT",
  6. "repository": "shellscape/webpack-manifest-plugin",
  7. "author": "Dane Thurber <dane.thurber@gmail.com>",
  8. "homepage": "https://github.com/shellscape/webpack-manifest-plugin",
  9. "bugs": "https://github.com/shellscape/webpack-manifest-plugin/issues",
  10. "main": "dist/index.js",
  11. "engines": {
  12. "node": ">=12.22.0"
  13. },
  14. "scripts": {
  15. "build": "tsc --project tsconfig.json",
  16. "ci:coverage": "nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov",
  17. "ci:lint": "pnpm lint && pnpm security",
  18. "ci:test": "pnpm test -- --verbose",
  19. "lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:js",
  20. "lint-staged": "lint-staged",
  21. "lint:docs": "prettier --write README.md",
  22. "lint:js": "eslint --cache --fix --cache scripts src test",
  23. "lint:json": "prettier --write codecov.yml package.json",
  24. "posttest": "pnpm switch -- \"4\" && pnpm install",
  25. "prepublishOnly": "pnpm lint && pnpm build",
  26. "pretest": "pnpm build",
  27. "security": "pnpm audit --audit-level=high --prod",
  28. "switch": "cd scripts && ts-node --project ./tsconfig.json ./set-webpack-version.ts",
  29. "test": "pnpm test:v4 && pnpm test:v5",
  30. "test:v4": "ava",
  31. "test:v5": "pnpm switch -- \"5\" && pnpm install && ava"
  32. },
  33. "files": [
  34. "dist",
  35. "README.md",
  36. "LICENSE"
  37. ],
  38. "peerDependencies": {
  39. "webpack": "^4.44.2 || ^5.47.0"
  40. },
  41. "dependencies": {
  42. "tapable": "^2.0.0",
  43. "webpack-sources": "^2.2.0"
  44. },
  45. "devDependencies": {
  46. "@ava/babel": "^1.0.1",
  47. "@commitlint/cli": "^13.1.0",
  48. "@commitlint/config-conventional": "^13.1.0",
  49. "@svgr/webpack": "^5.4.0",
  50. "@types/node": "^16.4.3",
  51. "@types/webpack": "^4.41.26",
  52. "@types/webpack-sources": "^2.1.1",
  53. "@wordpress/dependency-extraction-webpack-plugin": "^3.1.0",
  54. "ava": "^3.13.0",
  55. "codecov": "^3.1.0",
  56. "copy-webpack-plugin": "^6.2.1",
  57. "css-loader": "^1.0.0",
  58. "del": "^6.0.0",
  59. "eslint-config-shellscape": "^4.2.0",
  60. "extract-text-webpack-plugin": "^3.0.2",
  61. "file-loader": "^2.0.0",
  62. "husky": "4.3.8",
  63. "lint-staged": "11.1.1",
  64. "memory-fs": "^0.4.1",
  65. "nyc": "^15.1.0",
  66. "pre-commit": "^1.2.2",
  67. "prettier": "^2.1.2",
  68. "prettier-plugin-package": "^1.2.0",
  69. "react": "^16.3.2",
  70. "style-loader": "^0.23.0",
  71. "ts-node": "^10.1.0",
  72. "tslib": "^2.3.0",
  73. "typescript": "^4.3.5",
  74. "webpack": "^4.44.2",
  75. "webpack-merge": "^5.2.0"
  76. },
  77. "ava": {
  78. "files": [
  79. "!**/fixtures/**",
  80. "!**/helpers/**",
  81. "!**/output/**"
  82. ]
  83. },
  84. "husky": {
  85. "hooks": {
  86. "pre-commit": "lint-staged"
  87. }
  88. },
  89. "jest": {
  90. "testEnvironment": "node",
  91. "coverageDirectory": "./coverage/",
  92. "collectCoverage": true
  93. },
  94. "lint-staged": {
  95. "*.js": [
  96. "eslint --fix"
  97. ]
  98. },
  99. "maintainers": [
  100. "Andrew Powell <andrew@shellscape.org>"
  101. ],
  102. "nyc": {
  103. "include": [
  104. "src/*.ts"
  105. ],
  106. "exclude": [
  107. "test/"
  108. ]
  109. },
  110. "pre-commit": "lint-staged",
  111. "webpack-versions": {
  112. "4": {
  113. "webpack": "^4.44.2",
  114. "@types/webpack": "^4.41.26"
  115. },
  116. "5": {
  117. "webpack": "latest",
  118. "@types/webpack": "latest"
  119. }
  120. }
  121. }