package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "kankan-components",
  3. "description": "a collection of 4dkankan components",
  4. "private": true,
  5. "workspaces": [
  6. "packages/*",
  7. "apps/*"
  8. ],
  9. "scripts": {
  10. "clean": "pnpm run -r clean",
  11. "build": "pnpm run -r build",
  12. "test": "vitest",
  13. "test:coverage": "vitest --coverage",
  14. "lint": "eslint --ext js,ts,tsx,vue . --fix",
  15. "commit": "git cz",
  16. "preinstall": "npx only-allow pnpm",
  17. "postinstall": "husky install",
  18. "changeset": "changeset",
  19. "version-packages": "changeset version",
  20. "play": "pnpm -C playground dev",
  21. "doc:dev": "pnpm -C docs dev"
  22. },
  23. "peerDependencies": {
  24. "vue": "^3.2.0"
  25. },
  26. "dependencies": {
  27. "@kankan/components": "workspace:*",
  28. "@kankan/hooks": "workspace:*",
  29. "@vueuse/core": "^9.1.0",
  30. "lodash": "^4.17.21",
  31. "lodash-es": "^4.17.21",
  32. "lodash-unified": "^1.0.2"
  33. },
  34. "devDependencies": {
  35. "@changesets/cli": "^2.24.4",
  36. "@commitlint/cli": "^17.1.2",
  37. "@types/jsdom": "^16.2.14",
  38. "@types/node": "*",
  39. "@pnpm/find-workspace-packages": "^4.0.16",
  40. "@pnpm/logger": "^4.0.0",
  41. "@pnpm/types": "^8.4.0",
  42. "@typescript-eslint/eslint-plugin": "^5.38.1",
  43. "@vitejs/plugin-vue": "^3.1.0",
  44. "@vitejs/plugin-vue-jsx": "^2.0.1",
  45. "@vue/test-utils": "^2.0.2",
  46. "commitizen": "^4.2.5",
  47. "commitlint-config-cz": "^0.13.3",
  48. "cz-customizable": "^7.0.0",
  49. "eslint": "~8.23.1",
  50. "eslint-config-prettier": "^8.5.0",
  51. "eslint-define-config": "^1.7.0",
  52. "eslint-plugin-import": "~2.26.0",
  53. "eslint-plugin-jest": "^25.7.0",
  54. "eslint-plugin-prettier": "^4.2.1",
  55. "eslint-plugin-vue": "^8.7.1",
  56. "husky": "^8.0.1",
  57. "jest": "^29.0.3",
  58. "jsdom": "16.4.0",
  59. "lint-staged": "^13.0.3",
  60. "resize-observer-polyfill": "^1.5.1",
  61. "typescript": "~4.7.4",
  62. "unplugin-vue-components": "^0.20.1",
  63. "unplugin-vue-define-options": "^0.12.0",
  64. "unplugin-vue-macros": "^0.11.2",
  65. "vitest": "^0.23.4"
  66. },
  67. "lint-staged": {
  68. "*.{vue,js,ts,jsx,tsx,mts,json}": [
  69. "eslint --fix"
  70. ]
  71. },
  72. "config": {
  73. "commitizen": {
  74. "path": "cz-customizable"
  75. }
  76. }
  77. }