UNPKG

util-helpers

Version:

一个基于业务场景的工具方法库

98 lines (97 loc) 2.81 kB
{ "name": "util-helpers", "version": "5.8.0", "description": "一个基于业务场景的工具方法库", "main": "lib/index.js", "module": "esm/index.js", "unpkg": "dist/util-helpers.min.js", "browser": "dist/util-helpers.min.js", "sideEffects": false, "types": "types/index.d.ts", "scripts": { "test": "jest --verbose", "test:coverage": "jest --coverage", "test:coverage:local": "cross-env COVERAGE_LOCAL=1 jest --coverage && open ./coverage/lcov-report/index.html", "build": "rm -rf esm lib dist && rollup -c && npm run build:types", "build:types": "rm -rf types && tsc -p tsconfig.build.json -d --outDir types --emitDeclarationOnly", "build:doc": "npm run doc", "doc": "rm -rf docs && rm -rf docs-src && tsc -p tsconfig.build.json -t esnext --outDir docs-src && jsdoc -c conf.json && rm -rf docs-src", "doc:open": "open ./docs/index.html", "prettier": "prettier -w **/*", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "commit": "cz", "prepublishOnly": "npm test && npm run build", "tsc": "tsc --noEmit", "prepare": "husky" }, "repository": { "type": "git", "url": "git+https://github.com/doly-dev/util-helpers.git" }, "files": [ "esm", "lib", "dist", "types" ], "keywords": [ "util", "helpers", "util-helpers", "business", "business-util", "biz-util" ], "author": "caijf", "license": "MIT", "bugs": { "url": "https://github.com/doly-dev/util-helpers/issues" }, "homepage": "https://doly-dev.github.io/util-helpers/index.html", "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@commitlint/cz-commitlint": "^19.8.1", "@eslint/js": "^9.39.2", "@rollup/plugin-commonjs": "^28.0.9", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.3.0", "@types/jest": "^30.0.0", "commitizen": "^4.3.1", "cross-env": "^7.0.3", "docdash": "^2.0.2", "eslint": "^9.39.2", "globals": "^16.5.0", "husky": "^9.1.7", "jest": "^30.2.0", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^30.2.0", "jsdoc": "^4.0.5", "lint-staged": "^15.5.2", "prettier": "^3.8.1", "rollup": "^4.56.0", "ts-jest": "^29.4.6", "typescript": "^5.9.3", "typescript-eslint": "^8.54.0" }, "lint-staged": { "**/*.ts": "eslint", "**/*.{js,ts,md}": "prettier -w" }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "dependencies": { "cache2": "^3.1.3", "tslib": "^2.8.1", "ut2": "^1.21.4" }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }