package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@d8d/mini-charts",
  3. "version": "1.0.0",
  4. "type": "module",
  5. "description": "小程序图表库包 - 提供 u-charts 图表库核心功能",
  6. "main": "src/index.ts",
  7. "types": "src/index.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/src/index.d.ts",
  11. "import": "./dist/src/index.js",
  12. "require": "./dist/src/index.js"
  13. },
  14. "./lib": {
  15. "types": "./dist/src/lib/index.d.ts",
  16. "import": "./dist/src/lib/index.js",
  17. "require": "./dist/src/lib/index.js"
  18. }
  19. },
  20. "scripts": {
  21. "build": "tsc",
  22. "dev": "tsc --watch",
  23. "typecheck": "tsc --noEmit",
  24. "test": "jest",
  25. "test:watch": "jest --watch",
  26. "test:coverage": "jest --coverage"
  27. },
  28. "dependencies": {
  29. "@tarojs/components": "4.1.4",
  30. "@tarojs/react": "4.1.4",
  31. "@tarojs/taro": "4.1.4",
  32. "react": "^18.0.0",
  33. "react-dom": "^18.0.0"
  34. },
  35. "devDependencies": {
  36. "@testing-library/jest-dom": "^6.8.0",
  37. "@testing-library/react": "^16.3.0",
  38. "@types/jest": "^29.5.14",
  39. "@types/node": "^18",
  40. "@types/react": "^18.0.0",
  41. "@types/react-dom": "^18.0.0",
  42. "jest": "^30.2.0",
  43. "jest-environment-jsdom": "^29.7.0",
  44. "ts-jest": "^29.4.5",
  45. "typescript": "^5.4.5"
  46. },
  47. "files": [
  48. "src"
  49. ],
  50. "keywords": [
  51. "mini",
  52. "charts",
  53. "u-charts",
  54. "taro",
  55. "react",
  56. "canvas"
  57. ],
  58. "author": "D8D Team",
  59. "license": "MIT"
  60. }