package.json 1.2 KB

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