package.json 709 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "@dage/hooks",
  3. "version": "1.0.0",
  4. "description": "React hooks 集合",
  5. "main": "dist/index.js",
  6. "module": "dist/index.js",
  7. "typings": "dist/index.d.ts",
  8. "files": [
  9. "dist"
  10. ],
  11. "scripts": {
  12. "start": "tsc -b tsconfig.build.json --watch",
  13. "prebuild": "rimraf dist",
  14. "build": "tsc -b tsconfig.build.json",
  15. "test": "jest",
  16. "type-check": "tsc --noEmit"
  17. },
  18. "devDependencies": {
  19. "@babel/core": "^7.22.10",
  20. "@babel/preset-env": "^7.22.10",
  21. "@babel/preset-typescript": "^7.22.5",
  22. "@testing-library/react-hooks": "^8.0.1",
  23. "babel-jest": "^29.6.2",
  24. "jest": "^29.6.2"
  25. },
  26. "peerDependencies": {
  27. "react": ">=17"
  28. },
  29. "license": "MIT"
  30. }