package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "@dage/pc-components",
  3. "version": "1.3.11",
  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. "peerDependencies": {
  13. "@ant-design/icons": "5.*",
  14. "antd": "5.*",
  15. "lodash": "4.*",
  16. "react": ">=18",
  17. "react-dom": ">=18"
  18. },
  19. "devDependencies": {
  20. "@babel/core": "^7.22.10",
  21. "@babel/preset-env": "^7.22.10",
  22. "@babel/preset-typescript": "^7.22.5",
  23. "@types/lodash": "^4.14.197",
  24. "@types/react": "^18.2.20",
  25. "babel-jest": "^29.6.2",
  26. "cpx": "^1.5.0",
  27. "jest": "^29.6.2"
  28. },
  29. "license": "MIT",
  30. "dependencies": {
  31. "@amap/amap-react": "^0.1.5",
  32. "@wangeditor/editor": "^5.1.23",
  33. "@wangeditor/editor-for-react": "^1.0.6",
  34. "styled-components": "^6.0.7",
  35. "@dage/service": "^1.0.5",
  36. "@dage/utils": "^1.1.1"
  37. },
  38. "scripts": {
  39. "start": "tsc --build tsconfig.build.json --watch",
  40. "prebuild": "rimraf dist",
  41. "build": "tsc --build tsconfig.build.json",
  42. "copy": "cpx \"src/**/*.+(scss|jpg|jpeg|gif|png|svg|css)\" ./dist",
  43. "metadata": "node ./scripts/metadata.js",
  44. "postbuild": "npm run copy && npm run metadata",
  45. "type-check": "tsc --noEmit",
  46. "test": "jest"
  47. }
  48. }