package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@webpack-contrib/schema-utils",
  3. "version": "1.0.0-beta.0",
  4. "description": "Webpack Schema Validation Utilities",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/schema-utils",
  7. "author": "Webpack Contrib (https://github.com/webpack-contrib)",
  8. "homepage": "https://github.com/webpack-contrib/schema-utils",
  9. "bugs": "https://github.com/webpack-contrib/schema-utils/issues",
  10. "main": "dist/cjs.js",
  11. "engines": {
  12. "node": ">= 6.9.0 || >= 8.9.0"
  13. },
  14. "scripts": {
  15. "start": "npm run build -- -w",
  16. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
  17. "clean": "del-cli dist",
  18. "commitlint": "commitlint",
  19. "commitmsg": "commitlint -e $GIT_PARAMS",
  20. "lint": "eslint --cache src test",
  21. "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
  22. "lint-staged": "lint-staged",
  23. "prebuild": "npm run clean",
  24. "prepublish": "npm run build",
  25. "release": "standard-version",
  26. "release:ci": "conventional-github-releaser -p angular",
  27. "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
  28. "security": "nsp check",
  29. "test": "jest",
  30. "test:watch": "jest --watch",
  31. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  32. "ci:lint": "npm run lint && npm run security",
  33. "ci:test": "npm run test -- --runInBand",
  34. "ci:coverage": "npm run test:coverage -- --runInBand",
  35. "defaults": "webpack-defaults"
  36. },
  37. "files": [
  38. "dist/",
  39. "schema/"
  40. ],
  41. "keywords": [
  42. "webpack"
  43. ],
  44. "peerDependencies": {
  45. "webpack": "^3.0.0 || ^4.0.0"
  46. },
  47. "dependencies": {
  48. "ajv": "^6.1.0",
  49. "ajv-keywords": "^3.1.0",
  50. "chalk": "^2.3.2",
  51. "strip-ansi": "^4.0.0",
  52. "text-table": "^0.2.0",
  53. "webpack-log": "^1.1.2"
  54. },
  55. "devDependencies": {
  56. "@commitlint/cli": "^5.2.8",
  57. "@commitlint/config-angular": "^5.1.1",
  58. "@webpack-contrib/eslint-config-webpack": "^2.0.2",
  59. "babel-cli": "^6.26.0",
  60. "babel-jest": "^22.4.3",
  61. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  62. "babel-polyfill": "^6.26.0",
  63. "babel-preset-env": "^1.6.1",
  64. "conventional-github-releaser": "^2.0.0",
  65. "cross-env": "^5.1.3",
  66. "del": "^3.0.0",
  67. "del-cli": "^1.1.0",
  68. "eslint": "^4.17.0",
  69. "eslint-plugin-import": "^2.8.0",
  70. "eslint-plugin-prettier": "^2.6.0",
  71. "husky": "^0.14.3",
  72. "jest": "^22.4.3",
  73. "lint-staged": "^6.1.0",
  74. "memory-fs": "^0.4.1",
  75. "nsp": "^3.1.0",
  76. "pre-commit": "^1.2.2",
  77. "prettier": "^1.10.2",
  78. "standard-version": "^4.3.0",
  79. "webpack": "^4.4.1",
  80. "webpack-defaults": "^2.1.4"
  81. },
  82. "pre-commit": "lint-staged",
  83. "lint-staged": {
  84. "*.js": [
  85. "eslint --fix",
  86. "git add"
  87. ]
  88. }
  89. }