package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@antfu/utils",
  3. "type": "module",
  4. "version": "0.7.10",
  5. "packageManager": "pnpm@9.1.0",
  6. "description": "Opinionated collection of common JavaScript / TypeScript utils by @antfu",
  7. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  8. "license": "MIT",
  9. "funding": "https://github.com/sponsors/antfu",
  10. "homepage": "https://github.com/antfu/utils#readme",
  11. "repository": {
  12. "type": "git",
  13. "url": "git+https://github.com/antfu/utils.git"
  14. },
  15. "bugs": {
  16. "url": "https://github.com/antfu/utils/issues"
  17. },
  18. "keywords": [
  19. "utils"
  20. ],
  21. "sideEffects": false,
  22. "exports": {
  23. ".": {
  24. "import": "./dist/index.mjs",
  25. "require": "./dist/index.cjs"
  26. }
  27. },
  28. "main": "dist/index.cjs",
  29. "module": "dist/index.mjs",
  30. "types": "dist/index.d.ts",
  31. "files": [
  32. "dist"
  33. ],
  34. "scripts": {
  35. "build": "rollup -c",
  36. "dev": "nr build --watch",
  37. "lint": "eslint .",
  38. "lint-fix": "nr lint --fix",
  39. "prepublishOnly": "npm run build",
  40. "release": "bumpp --commit --push --tag && npm publish",
  41. "start": "esno src/index.ts",
  42. "typecheck": "tsc --noEmit",
  43. "test": "vitest"
  44. },
  45. "devDependencies": {
  46. "@antfu/eslint-config": "^2.16.3",
  47. "@antfu/ni": "^0.21.12",
  48. "@rollup/plugin-alias": "^5.1.0",
  49. "@rollup/plugin-commonjs": "^25.0.7",
  50. "@rollup/plugin-json": "^6.1.0",
  51. "@rollup/plugin-node-resolve": "^15.2.3",
  52. "@types/node": "^20.12.10",
  53. "@types/throttle-debounce": "^5.0.2",
  54. "bumpp": "^9.4.1",
  55. "eslint": "npm:eslint-ts-patch@8.55.0-1",
  56. "eslint-ts-patch": "8.55.0-1",
  57. "esno": "^4.7.0",
  58. "p-limit": "^5.0.0",
  59. "rollup": "^4.17.2",
  60. "rollup-plugin-dts": "^6.1.0",
  61. "rollup-plugin-esbuild": "^6.1.1",
  62. "throttle-debounce": "5.0.0",
  63. "typescript": "^5.4.5",
  64. "vite": "^5.2.11",
  65. "vitest": "^1.6.0"
  66. }
  67. }