package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "@d8d/mini-testing-utils": "workspace:*",
  37. "@testing-library/jest-dom": "^6.8.0",
  38. "@testing-library/react": "^16.3.0",
  39. "@types/jest": "^29.5.14",
  40. "@types/node": "^18",
  41. "@types/react": "^18.0.0",
  42. "@types/react-dom": "^18.0.0",
  43. "jest": "^30.2.0",
  44. "jest-environment-jsdom": "^29.7.0",
  45. "ts-jest": "^29.4.5",
  46. "typescript": "^5.4.5"
  47. },
  48. "files": [
  49. "src"
  50. ],
  51. "keywords": [
  52. "mini",
  53. "charts",
  54. "u-charts",
  55. "taro",
  56. "react",
  57. "canvas"
  58. ],
  59. "author": "D8D Team",
  60. "license": "MIT"
  61. }