package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "schema-utils",
  3. "version": "2.7.1",
  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": ">= 8.9.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",
  28. "lint:prettier": "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 -l -p \"lint:**\"",
  32. "test:only": "cross-env NODE_ENV=test jest",
  33. "test:watch": "npm run test:only -- --watch",
  34. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  35. "pretest": "npm run lint",
  36. "test": "npm run test:coverage",
  37. "prepare": "npm run build",
  38. "release": "standard-version",
  39. "defaults": "webpack-defaults"
  40. },
  41. "files": [
  42. "dist",
  43. "declarations"
  44. ],
  45. "dependencies": {
  46. "ajv": "^6.12.4",
  47. "ajv-keywords": "^3.5.2",
  48. "@types/json-schema": "^7.0.5"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.10.5",
  52. "@babel/core": "^7.11.4",
  53. "@babel/preset-env": "^7.11.0",
  54. "@commitlint/cli": "^10.0.0",
  55. "@commitlint/config-conventional": "^10.0.0",
  56. "@webpack-contrib/defaults": "^6.3.0",
  57. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  58. "babel-jest": "^25.5.1",
  59. "cross-env": "^6.0.3",
  60. "del": "^5.1.0",
  61. "del-cli": "^3.0.1",
  62. "eslint": "^7.7.0",
  63. "eslint-config-prettier": "^6.11.0",
  64. "eslint-plugin-import": "^2.22.0",
  65. "husky": "^4.2.5",
  66. "jest": "^25.5.4",
  67. "lint-staged": "^10.2.13",
  68. "npm-run-all": "^4.1.5",
  69. "prettier": "^1.19.1",
  70. "standard-version": "^9.0.0",
  71. "typescript": "^4.0.2"
  72. },
  73. "keywords": [
  74. "webpack"
  75. ]
  76. }