package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "kankan-components",
  3. "private": true,
  4. "description": "a collection of 4dkankan components",
  5. "workspaces": [
  6. "packages/*",
  7. "apps/*"
  8. ],
  9. "scripts": {
  10. "clean": "pnpm run -r clean",
  11. "test": "vitest",
  12. "test:coverage": "vitest --coverage",
  13. "lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache",
  14. "lint:fix": "pnpm run lint --fix",
  15. "commit": "git cz",
  16. "preinstall": "npx only-allow pnpm",
  17. "changeset": "changeset",
  18. "version-packages": "changeset version",
  19. "play": "pnpm -C playground dev",
  20. "docs:dev": "pnpm run -C docs dev",
  21. "stub": "pnpm run -r --parallel stub",
  22. "build": "pnpm run -C internal/build start",
  23. "build:theme": "pnpm run -C packages/theme-chalk build",
  24. "prepare": "husky install",
  25. "postinstall": "pnpm stub && concurrently \"pnpm run -C internal/metadata dev\"",
  26. "typecheck": "run-p typecheck:web typecheck:node",
  27. "typecheck:web": "vue-tsc -p tsconfig.web.json --composite false --noEmit",
  28. "typecheck:node": "tsc -p tsconfig.node.json --noEmit",
  29. "release": "pnpm build && pnpm release:only",
  30. "release:only": "changeset publish --registry=http://192.168.0.47:4873/"
  31. },
  32. "peerDependencies": {
  33. "vue": "^3.2.0"
  34. },
  35. "dependencies": {
  36. "@kankan-components/components": "workspace:*",
  37. "@kankan-components/constants": "workspace:*",
  38. "@kankan-components/hooks": "workspace:*",
  39. "@kankan-components/icons-vue": "^0.0.1",
  40. "@kankan-components/theme-chalk": "workspace:*",
  41. "@kankan-components/tokens": "workspace:*",
  42. "@kankan-components/utils": "workspace:*",
  43. "@vueuse/core": "^9.12.0",
  44. "lodash": "^4.17.21",
  45. "lodash-es": "^4.17.21",
  46. "lodash-unified": "^1.0.3",
  47. "vue": "^3.2.47"
  48. },
  49. "devDependencies": {
  50. "@changesets/cli": "^2.26.0",
  51. "@commitlint/cli": "^17.4.2",
  52. "@kankan-components/build": "workspace:*",
  53. "@kankan-components/build-utils": "workspace:*",
  54. "@kankan-components/eslint-config": "workspace:*",
  55. "@pnpm/find-workspace-packages": "^4.0.43",
  56. "@pnpm/logger": "^4.0.0",
  57. "@pnpm/types": "^8.10.0",
  58. "@types/fs-extra": "^9.0.13",
  59. "@types/gulp": "^4.0.10",
  60. "@types/jsdom": "^16.2.15",
  61. "@types/node": "^18.13.0",
  62. "@types/sass": "^1.43.1",
  63. "@typescript-eslint/eslint-plugin": "^5.51.0",
  64. "@vitejs/plugin-vue": "^3.2.0",
  65. "@vitejs/plugin-vue-jsx": "^2.1.1",
  66. "@vue/test-utils": "^2.2.10",
  67. "commitizen": "^4.3.0",
  68. "commitlint-config-cz": "^0.13.3",
  69. "concurrently": "^7.6.0",
  70. "cz-customizable": "^7.0.0",
  71. "eslint": "~8.23.1",
  72. "eslint-config-prettier": "^8.6.0",
  73. "eslint-define-config": "^1.15.0",
  74. "eslint-plugin-import": "~2.26.0",
  75. "eslint-plugin-jest": "^25.7.0",
  76. "eslint-plugin-prettier": "^4.2.1",
  77. "eslint-plugin-vue": "^8.7.1",
  78. "husky": "^8.0.3",
  79. "jest": "^29.4.2",
  80. "jsdom": "16.4.0",
  81. "lint-staged": "^13.1.1",
  82. "resize-observer-polyfill": "^1.5.1",
  83. "sass": "^1.58.0",
  84. "typescript": "~4.7.4",
  85. "unplugin-vue-components": "^0.20.1",
  86. "unplugin-vue-macros": "^0.11.2",
  87. "vitest": "^0.23.4"
  88. },
  89. "config": {
  90. "commitizen": {
  91. "path": "cz-customizable"
  92. }
  93. },
  94. "lint-staged": {
  95. "*.{vue,js,ts,jsx,tsx,mts,json}": [
  96. "eslint --fix"
  97. ]
  98. }
  99. }