package.json 981 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "@dage/utils",
  3. "version": "1.0.2",
  4. "description": "工具类",
  5. "sideEffects": false,
  6. "module": "dist/index.js",
  7. "main": "dist-node/index.js",
  8. "typings": "dist/index.d.ts",
  9. "files": [
  10. "dist",
  11. "dist-node"
  12. ],
  13. "scripts": {
  14. "start": "tsc -b tsconfig.build.json --watch",
  15. "build:module": "tsc -b tsconfig.build.json",
  16. "build:commonjs": "tsc -b tsconfig.build.commonjs.json",
  17. "prebuild": "rimraf dist dist-node",
  18. "build": "npm run build:module && npm run build:commonjs",
  19. "test": "jest",
  20. "type-check": "tsc --noEmit"
  21. },
  22. "peerDependencies": {
  23. "lodash": "4.*"
  24. },
  25. "devDependencies": {
  26. "@babel/core": "^7.22.10",
  27. "@babel/preset-env": "^7.22.10",
  28. "@babel/preset-typescript": "^7.22.5",
  29. "babel-jest": "^29.6.2",
  30. "jest": "^29.6.2"
  31. },
  32. "license": "MIT",
  33. "dependencies": {
  34. "@dage/events": "workspace:^",
  35. "dayjs": "^1.11.9",
  36. "js-base64": "^3.7.5",
  37. "query-string": "^8.1.0"
  38. }
  39. }