package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "vendure",
  3. "version": "10.2.2",
  4. "private": true,
  5. "engines": {
  6. "node": ">= 10.12.0 < 11 || >= 12.00"
  7. },
  8. "scripts": {
  9. "watch": "lerna run watch --parallel",
  10. "watch:core-common": "lerna run --scope @vendure/common --scope @vendure/core watch --parallel",
  11. "lint": "yarn eslint --fix",
  12. "format": "prettier --write --html-whitespace-sensitivity ignore",
  13. "docs:generate-typescript-docs": "ts-node scripts/docs/generate-typescript-docs.ts",
  14. "docs:generate-graphql-docs": "ts-node scripts/docs/generate-graphql-docs.ts --api=shop && ts-node scripts/docs/generate-graphql-docs.ts --api=admin",
  15. "docs:build": "yarn docs:generate-graphql-docs && yarn docs:generate-typescript-docs",
  16. "codegen": "tsc -p scripts/codegen/plugins && ts-node scripts/codegen/generate-graphql-types.ts",
  17. "version": "yarn check-imports && yarn check-angular-versions && yarn build && yarn check-core-type-defs && yarn generate-changelog && git add CHANGELOG* && git add */version.ts",
  18. "dev-server:start": "cd packages/dev-server && yarn start",
  19. "test": "lerna run test --stream --no-bail",
  20. "e2e": "lerna run e2e --stream --no-bail",
  21. "build": "lerna run build",
  22. "check-imports": "ts-node scripts/check-imports.ts",
  23. "check-core-type-defs": "ts-node scripts/check-core-type-defs.ts",
  24. "check-angular-versions": "ts-node scripts/check-angular-versions.ts",
  25. "generate-changelog": "ts-node scripts/changelogs/generate-changelog.ts",
  26. "publish-release": "lerna publish -m \"chore: Publish %s\" --no-push --force-publish",
  27. "publish-prerelease": "lerna publish -m \"chore: Pre-release %s\" prerelease --exact --no-push --force-publish --preid next --dist-tag next",
  28. "publish-local": "lerna version --no-git-tag-version && cd scripts && ./publish-to-verdaccio.sh"
  29. },
  30. "devDependencies": {
  31. "@commitlint/cli": "^17.4.4",
  32. "@commitlint/config-conventional": "^17.4.4",
  33. "@graphql-codegen/add": "5.0.0",
  34. "@graphql-codegen/cli": "5.0.0",
  35. "@graphql-codegen/fragment-matcher": "5.0.0",
  36. "@graphql-codegen/typed-document-node": "^5.0.1",
  37. "@graphql-codegen/typescript": "4.0.1",
  38. "@graphql-codegen/typescript-operations": "4.0.1",
  39. "@graphql-tools/schema": "^10.0.0",
  40. "@swc/core": "^1.3.78",
  41. "@types/klaw-sync": "^6.0.1",
  42. "@types/node": "^14.14.31",
  43. "concurrently": "^8.2.1",
  44. "conventional-changelog-core": "^4.2.4",
  45. "cross-env": "^7.0.3",
  46. "find": "^0.3.0",
  47. "graphql": "16.8.0",
  48. "husky": "^4.3.0",
  49. "klaw-sync": "^6.0.0",
  50. "lerna": "^7.1.5",
  51. "lint-staged": "^10.5.4",
  52. "prettier": "^2.2.1",
  53. "ts-node": "^10.9.1",
  54. "typescript": "4.9.5",
  55. "unplugin-swc": "^1.3.2",
  56. "vitest": "^0.34.2"
  57. },
  58. "resolutions": {
  59. "npm-packlist": "1.1.12"
  60. },
  61. "workspaces": {
  62. "packages": [
  63. "packages/*"
  64. ],
  65. "nohoist": [
  66. "**/@types/jasmine",
  67. "**/@types/jasminewd2"
  68. ]
  69. },
  70. "commitlint": {
  71. "extends": [
  72. "@commitlint/config-conventional"
  73. ],
  74. "rules": {
  75. "subject-case": [
  76. 2,
  77. "always",
  78. [
  79. "sentence-case"
  80. ]
  81. ]
  82. }
  83. },
  84. "husky": {
  85. "hooks": {
  86. "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
  87. "post-commit": "git update-index --again",
  88. "pre-commit": "NODE_OPTIONS=\"--max-old-space-size=8096\" lint-staged"
  89. }
  90. },
  91. "dependencies": {
  92. "@typescript-eslint/eslint-plugin": "^5.54.1",
  93. "@typescript-eslint/parser": "^5.54.1",
  94. "eslint": "^8.41.0",
  95. "eslint-config-prettier": "^8.8.0",
  96. "eslint-plugin-import": "^2.27.5",
  97. "eslint-plugin-jsdoc": "^45.0.0",
  98. "eslint-plugin-prefer-arrow": "^1.2.3"
  99. }
  100. }