package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 js,ts,tsx,vue . --fix",
  14. "commit": "git cz",
  15. "preinstall": "npx only-allow pnpm",
  16. "changeset": "changeset",
  17. "version-packages": "changeset version",
  18. "play": "pnpm -C playground dev",
  19. "docs:dev": "pnpm run -C docs dev",
  20. "stub": "pnpm run -r --parallel stub",
  21. "build": "pnpm run -C internal/build start",
  22. "build:theme": "pnpm run -C packages/theme-chalk build",
  23. "prepare": "husky install",
  24. "postinstall": "pnpm stub && concurrently \"pnpm run -C internal/metadata dev\""
  25. },
  26. "peerDependencies": {
  27. "vue": "^3.2.0"
  28. },
  29. "dependencies": {
  30. "@kankan/components": "workspace:*",
  31. "@kankan/hooks": "workspace:*",
  32. "@vueuse/core": "^9.1.0",
  33. "lodash": "^4.17.21",
  34. "lodash-es": "^4.17.21",
  35. "lodash-unified": "^1.0.2"
  36. },
  37. "devDependencies": {
  38. "@changesets/cli": "^2.24.4",
  39. "@commitlint/cli": "^17.1.2",
  40. "@kankan/build": "workspace:*",
  41. "@kankan/build-utils": "workspace:*",
  42. "@kankan/eslint-config": "workspace:*",
  43. "@pnpm/find-workspace-packages": "^4.0.16",
  44. "@pnpm/logger": "^4.0.0",
  45. "@pnpm/types": "^8.4.0",
  46. "@types/gulp": "^4.0.9",
  47. "@types/jsdom": "^16.2.14",
  48. "@types/node": "*",
  49. "@types/sass": "^1.43.1",
  50. "@typescript-eslint/eslint-plugin": "^5.38.1",
  51. "@vitejs/plugin-vue": "^3.1.0",
  52. "@vitejs/plugin-vue-jsx": "^2.0.1",
  53. "@vue/test-utils": "^2.0.2",
  54. "commitizen": "^4.2.5",
  55. "commitlint-config-cz": "^0.13.3",
  56. "concurrently": "^7.2.2",
  57. "cz-customizable": "^7.0.0",
  58. "eslint": "~8.23.1",
  59. "eslint-config-prettier": "^8.5.0",
  60. "eslint-define-config": "^1.7.0",
  61. "eslint-plugin-import": "~2.26.0",
  62. "eslint-plugin-jest": "^25.7.0",
  63. "eslint-plugin-prettier": "^4.2.1",
  64. "eslint-plugin-vue": "^8.7.1",
  65. "husky": "^8.0.1",
  66. "jest": "^29.0.3",
  67. "jsdom": "16.4.0",
  68. "lint-staged": "^13.0.3",
  69. "resize-observer-polyfill": "^1.5.1",
  70. "sass": "^1.53.0",
  71. "typescript": "~4.7.4",
  72. "unplugin-vue-components": "^0.20.1",
  73. "unplugin-vue-define-options": "^0.12.0",
  74. "unplugin-vue-macros": "^0.11.2",
  75. "vitest": "^0.23.4"
  76. },
  77. "config": {
  78. "commitizen": {
  79. "path": "cz-customizable"
  80. }
  81. },
  82. "lint-staged": {
  83. "*.{vue,js,ts,jsx,tsx,mts,json}": [
  84. "eslint --fix"
  85. ]
  86. }
  87. }