UNPKG

@gitborlando/utils

Version:

JavaScript/TypeScript 实用工具集合

134 lines 2.58 kB
{ "name": "@gitborlando/utils", "version": "3.1.0", "description": "", "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./node": { "import": "./dist/node/index.js", "types": "./dist/node/index.d.ts" }, "./script": { "import": "./dist/script/index.js", "types": "./dist/script/index.d.ts" }, "./react": { "import": "./dist/react/index.js", "types": "./dist/react/index.d.ts" }, "./package.json": "./package.json" }, "files": [ "dist", "README.md" ], "author": "", "license": "ISC", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "devDependencies": { "@gitborlando/geo": "^1.0.1", "@types/node": "^24.0.14", "@types/react": "^19.1.8", "@vitest/ui": "^3.2.4", "camelcase": "^8.0.0", "husky": "^9.1.7", "pretty-quick": "^4.2.2", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "peerDependencies": { "react": ">=16.8.0" }, "prettier": { "printWidth": 85, "jsxBracketSameLine": true, "useTabs": false, "tabWidth": 2, "semi": false, "singleQuote": true, "jsxSingleQuote": true }, "keywords": [ "utils", "utilities", "typescript", "esm", "tools", "helpers", "library", "array", "cache", "storage", "event", "math", "react", "drag", "wheel", "common", "functional", "frontend", "browser", "javascript", "ts", "type-safe", "modern", "lightweight", "modular", "tree-shaking", "performance", "developer-tools", "web-development", "react-hooks", "ui", "interaction", "manipulation", "data-structures", "algorithms", "caching", "local-storage", "session-storage", "event-handling", "mouse-events", "drag-drop", "scroll", "geometry", "coordinates", "xy", "mathematical", "calculations", "dom", "browser-api", "cross-platform", "node", "bundler", "vite", "webpack", "rollup", "build-tools", "npm", "pnpm", "yarn", "package", "module", "import", "export", "gitborlando" ], "scripts": { "dev": "tsup --watch", "build": "tsup", "release": "pnpm build && pnpm publish", "clean": "rm -rf dist node_modules pnpm-lock.yaml", "test": "vitest", "test:ui": "vitest --ui", "test:run": "vitest run" } }