UNPKG

@hyhello/utils

Version:

前端常用工具函数库

100 lines (99 loc) 2.86 kB
{ "name": "@hyhello/utils", "version": "2.1.0", "description": "前端常用工具函数库", "main": "lib/index.min.js", "module": "lib/index.min.mjs", "types": "lib/index.d.ts", "exports": { ".": { "import": { "types": "./lib/index.d.ts", "default": "./lib/index.min.mjs" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.min.js" } }, "./lib/*": "./lib/*.js", "./package.json": "./package.json" }, "files": [ "lib" ], "scripts": { "test": "jest", "release": "release-it", "gc": "bash scripts/gc.sh", "prepare": "husky install", "build": "node scripts/build.js", "test:coverage": "jest --coverage", "lint": "tsc && eslint --ext .ts src", "build:docs": "node ./scripts/docs.js", "serve:docs": "docsify serve ./docs --open" }, "keywords": [ "@hyhello/utils", "@hyhello/tools", "hyhello", "brower", "node", "utils", "tools", "常用工具函数库" ], "author": "Hyhello", "license": "MIT", "sideEffects": false, "homepage": "https://hyhello.github.io/utils/", "bugs": { "url": "https://github.com/Hyhello/utils/issues" }, "repository": { "type": "git", "url": "git+https://github.com/Hyhello/utils.git" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "lint-staged": { "packages/**/*.{js,ts}": [ "eslint --fix" ] }, "directories": { "lib": "lib" }, "devDependencies": { "@release-it/conventional-changelog": "^5.0.0", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", "@types/jest": "^27.5.1", "@types/node": "^17.0.34", "@typescript-eslint/eslint-plugin": "^5.25.0", "@typescript-eslint/parser": "^5.25.0", "del": "^6.1.0", "docsify-cli": "^4.4.4", "eslint": "^8.15.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jest": "^26.2.2", "eslint-plugin-prettier": "^4.0.0", "fast-glob": "^3.2.11", "fs-extra": "^10.1.0", "husky": "^8.0.1", "jest": "^28.1.0", "jest-environment-jsdom": "^28.1.0", "lint-staged": "^12.4.1", "prettier": "^2.6.2", "release-it": "^15.0.0", "rollup": "^4.28.1", "rollup-plugin-filesize": "^9.1.2", "@rollup/plugin-terser": "^0.4.4", "rollup-plugin-typescript2": "^0.31.2", "ts-jest": "^28.0.2", "tslib": "^2.8.1", "typescript": "^4.6.4" } }