-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
102 lines (102 loc) · 3.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "util-helpers",
"version": "5.4.1",
"description": "一个基于业务场景的工具方法库",
"main": "lib/index.js",
"module": "esm/index.js",
"unpkg": "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": "npm run build:module && npm run build:dist && npm run build:types",
"build:module": "rm -rf esm && rm -rf lib && rollup -c rollup.module.config.mjs",
"build:dist": "rm -rf dist && rollup -c rollup.umd.config.mjs",
"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 . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --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": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/cz-commitlint": "^17.8.1",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-jest": "^29.7.0",
"babel-plugin-minify-replace": "^0.5.0",
"commitizen": "^4.3.1",
"cross-env": "^7.0.3",
"docdash": "^2.0.2",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"inquirer": "^8.2.6",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.4",
"lint-staged": "^13.3.0",
"prettier": "^3.4.2",
"rollup": "^4.28.0",
"typescript": "^5.7.2"
},
"lint-staged": {
"**/*.ts": "eslint",
"**/*.{js,ts,md}": "prettier -w"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"dependencies": {
"cache2": "^3.1.2",
"tslib": "^2.8.1",
"ut2": "^1.15.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}