package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. "docs": "doctoc --title '**Table of content**' README.md",
  11. "clean": "pnpm run -r clean",
  12. "build": "pnpm run -r build",
  13. "test": "vitest",
  14. "test:coverage": "vitest --coverage",
  15. "lint": "eslint --ext js,ts,tsx,vue . --fix",
  16. "commit": "git cz",
  17. "preinstall": "npx only-allow pnpm",
  18. "postinstall": "husky install",
  19. "changeset": "changeset",
  20. "version-packages": "changeset version",
  21. "dev:playground": "pnpm -C playground dev"
  22. },
  23. "peerDependencies": {
  24. "vue": "^3.2.0"
  25. },
  26. "dependencies": {
  27. "@kankan/components": "workspace:*",
  28. "@vueuse/core": "^9.1.0",
  29. "lodash": "^4.17.21",
  30. "lodash-es": "^4.17.21",
  31. "lodash-unified": "^1.0.2"
  32. },
  33. "devDependencies": {
  34. "@changesets/cli": "^2.24.4",
  35. "@commitlint/cli": "^17.1.2",
  36. "@typescript-eslint/eslint-plugin": "^5.38.1",
  37. "@vitejs/plugin-vue": "^3.1.0",
  38. "@vitejs/plugin-vue-jsx": "^2.0.1",
  39. "@vue/test-utils": "^2.0.2",
  40. "@types/jsdom": "^16.2.14",
  41. "@types/node": "*",
  42. "commitizen": "^4.2.5",
  43. "commitlint-config-cz": "^0.13.3",
  44. "cz-customizable": "^7.0.0",
  45. "doctoc": "~2.2.0",
  46. "eslint": "~8.23.1",
  47. "eslint-config-prettier": "^8.5.0",
  48. "eslint-define-config": "^1.7.0",
  49. "eslint-plugin-import": "~2.26.0",
  50. "eslint-plugin-jest": "^25.7.0",
  51. "eslint-plugin-prettier": "^4.2.1",
  52. "eslint-plugin-vue": "^8.7.1",
  53. "husky": "^8.0.1",
  54. "jest": "^29.0.3",
  55. "jsdom": "16.4.0",
  56. "lint-staged": "^13.0.3",
  57. "resize-observer-polyfill": "^1.5.1",
  58. "typescript": "~4.7.4",
  59. "unplugin-vue-macros": "^0.11.2",
  60. "vitest": "^0.23.4"
  61. },
  62. "lint-staged": {
  63. "*.{vue,js,ts,jsx,tsx,json}": [
  64. "eslint --fix"
  65. ]
  66. },
  67. "config": {
  68. "commitizen": {
  69. "path": "cz-customizable"
  70. }
  71. }
  72. }