package.json 2.7 KB

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