package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "schema-utils",
  3. "version": "4.0.0",
  4. "description": "webpack Validation Utils",
  5. "license": "MIT",
  6. "repository": "webpack/schema-utils",
  7. "author": "webpack Contrib (https://github.com/webpack-contrib)",
  8. "homepage": "https://github.com/webpack/schema-utils",
  9. "bugs": "https://github.com/webpack/schema-utils/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/index.js",
  15. "types": "declarations/index.d.ts",
  16. "engines": {
  17. "node": ">= 12.13.0"
  18. },
  19. "scripts": {
  20. "start": "npm run build -- -w",
  21. "clean": "del-cli dist declarations",
  22. "prebuild": "npm run clean",
  23. "build:types": "tsc --declaration --emitDeclarationOnly --outDir declarations && prettier \"declarations/**/*.ts\" --write",
  24. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  25. "build": "npm-run-all -p \"build:**\"",
  26. "commitlint": "commitlint --from=master",
  27. "security": "npm audit --production",
  28. "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
  29. "lint:js": "eslint --cache .",
  30. "lint:types": "tsc --pretty --noEmit",
  31. "lint": "npm-run-all lint:js lint:types fmt:check",
  32. "fmt": "npm run fmt:check -- --write",
  33. "fix:js": "npm run lint:js -- --fix",
  34. "fix": "npm-run-all fix:js fmt",
  35. "test:only": "cross-env NODE_ENV=test jest",
  36. "test:watch": "npm run test:only -- --watch",
  37. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  38. "pretest": "npm run lint",
  39. "test": "npm run test:coverage",
  40. "prepare": "npm run build && husky install",
  41. "release": "standard-version"
  42. },
  43. "files": [
  44. "dist",
  45. "declarations"
  46. ],
  47. "dependencies": {
  48. "@types/json-schema": "^7.0.9",
  49. "ajv": "^8.8.0",
  50. "ajv-keywords": "^5.0.0",
  51. "ajv-formats": "^2.1.1"
  52. },
  53. "devDependencies": {
  54. "@babel/cli": "^7.16.0",
  55. "@babel/core": "^7.16.0",
  56. "@babel/preset-env": "^7.16.0",
  57. "@commitlint/cli": "^14.1.0",
  58. "@commitlint/config-conventional": "^14.1.0",
  59. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  60. "babel-jest": "^27.3.1",
  61. "cross-env": "^7.0.3",
  62. "del": "^6.0.0",
  63. "del-cli": "^4.0.1",
  64. "eslint": "^8.0.1",
  65. "eslint-config-prettier": "^8.3.0",
  66. "eslint-plugin-import": "^2.25.3",
  67. "husky": "^7.0.4",
  68. "jest": "^27.3.1",
  69. "lint-staged": "^12.0.2",
  70. "npm-run-all": "^4.1.5",
  71. "prettier": "^2.4.1",
  72. "standard-version": "^9.3.2",
  73. "typescript": "^4.3.5",
  74. "webpack": "^5.64.1"
  75. },
  76. "keywords": [
  77. "webpack"
  78. ]
  79. }