package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@antfu/utils",
  3. "type": "module",
  4. "version": "0.7.2",
  5. "packageManager": "pnpm@7.0.1",
  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. "types": "./index.d.ts",
  25. "require": "./dist/index.cjs",
  26. "import": "./dist/index.mjs"
  27. }
  28. },
  29. "main": "dist/index.cjs",
  30. "module": "dist/index.mjs",
  31. "types": "index.d.ts",
  32. "files": [
  33. "dist",
  34. "*.d.ts"
  35. ],
  36. "scripts": {
  37. "build": "rollup -c",
  38. "dev": "nr build --watch",
  39. "lint": "eslint .",
  40. "prepublishOnly": "npm run build",
  41. "release": "bumpp --commit --push --tag && npm publish",
  42. "start": "esno src/index.ts",
  43. "typecheck": "tsc --noEmit",
  44. "test": "vitest"
  45. },
  46. "devDependencies": {
  47. "@antfu/eslint-config": "^0.32.0",
  48. "@antfu/ni": "^0.18.8",
  49. "@rollup/plugin-alias": "^4.0.2",
  50. "@rollup/plugin-commonjs": "^23.0.3",
  51. "@rollup/plugin-json": "^5.0.2",
  52. "@rollup/plugin-node-resolve": "^15.0.1",
  53. "@types/node": "^18.11.9",
  54. "@types/throttle-debounce": "^5.0.0",
  55. "bumpp": "^8.2.1",
  56. "eslint": "^8.28.0",
  57. "esno": "^0.16.3",
  58. "p-limit": "^4.0.0",
  59. "rollup": "^3.5.0",
  60. "rollup-plugin-dts": "^5.0.0",
  61. "rollup-plugin-esbuild": "^5.0.0",
  62. "throttle-debounce": "5.0.0",
  63. "typescript": "^4.9.3",
  64. "vite": "^3.2.4",
  65. "vitest": "^0.25.3"
  66. }
  67. }