package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "@dage/pc-components",
  3. "version": "1.2.0",
  4. "description": "PC 端组件库",
  5. "module": "dist/index.js",
  6. "main": "dist/index.js",
  7. "typings": "dist/index.d.ts",
  8. "files": [
  9. "dist"
  10. ],
  11. "scripts": {
  12. "start": "tsc --build tsconfig.build.json --watch",
  13. "prebuild": "rimraf dist",
  14. "build": "tsc --build tsconfig.build.json",
  15. "copy": "cpx \"src/**/*.+(scss|jpg|jpeg|gif|png|svg|css)\" ./dist",
  16. "metadata": "node ./scripts/metadata.js",
  17. "postbuild": "npm run copy && npm run metadata",
  18. "type-check": "tsc --noEmit",
  19. "test": "jest"
  20. },
  21. "peerDependencies": {
  22. "@ant-design/icons": "5.*",
  23. "antd": "5.*",
  24. "lodash": "4.*",
  25. "react": ">=18",
  26. "react-dom": ">=18"
  27. },
  28. "devDependencies": {
  29. "@babel/core": "^7.22.10",
  30. "@babel/preset-env": "^7.22.10",
  31. "@babel/preset-typescript": "^7.22.5",
  32. "@types/lodash": "^4.14.197",
  33. "@types/react": "^18.2.20",
  34. "babel-jest": "^29.6.2",
  35. "cpx": "^1.5.0",
  36. "jest": "^29.6.2"
  37. },
  38. "license": "MIT",
  39. "dependencies": {
  40. "@amap/amap-react": "^0.1.5",
  41. "@dage/service": "workspace:^",
  42. "@dage/utils": "workspace:^",
  43. "styled-components": "^6.0.7"
  44. }
  45. }