package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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": "pnpm -C playground 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. "@typescript-eslint/eslint-plugin": "^5.38.1",
  38. "@vitejs/plugin-vue": "^3.1.0",
  39. "@vitejs/plugin-vue-jsx": "^2.0.1",
  40. "@vue/test-utils": "^2.0.2",
  41. "@types/jsdom": "^16.2.14",
  42. "@types/node": "*",
  43. "commitizen": "^4.2.5",
  44. "commitlint-config-cz": "^0.13.3",
  45. "cz-customizable": "^7.0.0",
  46. "doctoc": "~2.2.0",
  47. "eslint": "~8.23.1",
  48. "eslint-config-prettier": "^8.5.0",
  49. "eslint-define-config": "^1.7.0",
  50. "eslint-plugin-import": "~2.26.0",
  51. "eslint-plugin-jest": "^25.7.0",
  52. "eslint-plugin-prettier": "^4.2.1",
  53. "eslint-plugin-vue": "^8.7.1",
  54. "husky": "^8.0.1",
  55. "jest": "^29.0.3",
  56. "jsdom": "16.4.0",
  57. "lint-staged": "^13.0.3",
  58. "resize-observer-polyfill": "^1.5.1",
  59. "typescript": "~4.7.4",
  60. "unplugin-vue-macros": "^0.11.2",
  61. "vitest": "^0.23.4"
  62. },
  63. "lint-staged": {
  64. "*.{vue,js,ts,jsx,tsx,json}": [
  65. "eslint --fix"
  66. ]
  67. },
  68. "config": {
  69. "commitizen": {
  70. "path": "cz-customizable"
  71. }
  72. }
  73. }