package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "schema-utils",
  3. "version": "3.3.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": ">= 10.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.8",
  49. "ajv": "^6.12.5",
  50. "ajv-keywords": "^3.5.2"
  51. },
  52. "devDependencies": {
  53. "@babel/cli": "^7.14.3",
  54. "@babel/core": "^7.14.6",
  55. "@babel/preset-env": "^7.14.7",
  56. "@commitlint/cli": "^12.1.4",
  57. "@commitlint/config-conventional": "^12.1.4",
  58. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  59. "babel-jest": "^27.0.6",
  60. "cross-env": "^7.0.3",
  61. "del": "^6.0.0",
  62. "del-cli": "^3.0.1",
  63. "eslint": "^7.31.0",
  64. "eslint-config-prettier": "^8.3.0",
  65. "eslint-plugin-import": "^2.23.4",
  66. "husky": "^6.0.0",
  67. "jest": "^27.0.6",
  68. "lint-staged": "^11.0.1",
  69. "npm-run-all": "^4.1.5",
  70. "prettier": "^2.3.2",
  71. "standard-version": "^9.3.1",
  72. "typescript": "^4.3.5",
  73. "webpack": "^5.45.1"
  74. },
  75. "keywords": [
  76. "webpack"
  77. ]
  78. }