-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
113 lines (113 loc) · 3.33 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
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@lzwme/fe-utils",
"description": "前端 node、web 项目常用工具函数集合。",
"version": "1.8.1",
"main": "cjs/index.js",
"module": "esm/index.js",
"typings": "cjs/index.d.ts",
"license": "MIT",
"repository": "https://github.com/lzwme/fe-utils.git",
"author": {
"name": "renxia",
"email": "[email protected]",
"url": "https://lzw.me"
},
"keywords": [
"node",
"utils",
"function utils",
"typescript"
],
"scripts": {
"prepare": "husky || true",
"dev": "npm run watch:build",
"start": "npm run watch",
"build": "run-s clean && run-p build:*",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:lint": "eslint src/**/*.ts --fix",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"lint": "flh --eslint --tscheck --prettier --jest",
"test": "run-s test:*",
"test:lint": "eslint src/**/*.ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "npm run cov",
"watch": "run-s clean build:cjs && run-p \"build:cjs -- -w\" \"test:unit -- --watch\"",
"watch:build": "tsc -p tsconfig.cjs.json -w",
"watch:test": "jest --watch",
"cov": "jest --coverage --silent",
"cov:html": "jest --coverage --silent --reporter=html",
"doc": "run-s doc:html",
"doc:html": "typedoc src/ src/common src/web src/node --exclude **/*.spec.ts --out docs --tsconfig tsconfig.module.json",
"doc:json": "typedoc src/ src/common src/web src/node --exclude **/*.spec.ts --json docs/typedoc.json --tsconfig tsconfig.module.json",
"version": "standard-version",
"release": "run-s test build doc:html",
"release-version": "run-s release version",
"clean": "flh rm -f ./cjs ./esm ./docs"
},
"engines": {
"node": ">=14.18.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com"
},
"files": [
"esm",
"cjs"
],
"dependencies": {
"console-log-colors": "^0.5.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@iarna/toml": "^2.2.5",
"@jest/core": "^29",
"@jest/types": "^29",
"@lzwme/fed-lint-helper": "^2.6.5",
"@types/eslint": "^9.6.1",
"@types/jest": "^29.5.14",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.10.4",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"compressing": "^1.10.1",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^56.0.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"json5": "^2.2.3",
"micromatch": "^4.0.8",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"standard-version": "^9.5.0",
"ts-jest": "^29.2.5",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"windows-process-tree": "^0.4.0"
},
"peerDependencies": {
"@iarna/toml": "^2.2.5",
"compressing": "^1.10.0",
"windows-process-tree": "^0.4.0"
},
"peerDependenciesMeta": {
"compressing": {
"optional": true
},
"windows-process-tree": {
"optional": true
},
"@iarna/toml": {
"optional": true
}
}
}