-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.62 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.62 KB
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
{
"name": "@vtrbo/utils",
"type": "module",
"version": "0.4.1",
"description": "Collection of common JavaScript or TypeScript utils.",
"author": {
"name": "Victor Bo",
"email": "hi@vtrbo.cn"
},
"license": "MIT",
"homepage": "https://github.com/vtrbo",
"bugs": "https://github.com/vtrbo/utils/issues",
"keywords": [
"typescript",
"javascript",
"utils",
"vue",
"react",
"svelte",
"vite"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"create": "esno scripts/create-package.ts",
"dev": "pnpm build",
"build": "pnpm build:packages && tsup",
"build:packages": "pnpm -r --filter=!playground --filter=!docs build",
"dev:playground": "pnpm -C playground dev",
"build:playground": "pnpm -C playground build",
"dev:docs": "pnpm -C docs dev",
"build:docs": "pnpm -C docs build",
"release": "pnpm build && bumpp -r && pnpm release:publish",
"release:publish": "pnpm -r --filter=!playground --filter=!docs publish --access=public",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"test:update": "vitest -u",
"test:coverage": "vitest --coverage",
"clean": "pnpm clean:dist && pnpm clean:deps",
"clean:dist": "pnpm -r clean:dist && rimraf dist",
"clean:deps": "pnpm -r clean:deps && rimraf node_modules",
"prepare": "npx simple-git-hooks",
"precommit": "esno verify-commit.ts"
},
"dependencies": {
"@vtrbo/utils-arr": "workspace:*",
"@vtrbo/utils-color": "workspace:*",
"@vtrbo/utils-is": "workspace:*",
"@vtrbo/utils-log": "workspace:*",
"@vtrbo/utils-obj": "workspace:*",
"@vtrbo/utils-str": "workspace:*",
"@vtrbo/utils-tool": "workspace:*",
"@vtrbo/utils-tree": "workspace:*"
},
"devDependencies": {
"@antfu/eslint-config": "^2.16.0",
"@types/node": "^20.12.7",
"@types/shelljs": "^0.8.15",
"bumpp": "^9.4.0",
"eslint": "8.57.0",
"esno": "^4.7.0",
"lint-staged": "^15.2.2",
"ora": "^8.0.1",
"rimraf": "^5.0.5",
"shelljs": "^0.8.5",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.5.2"
},
"pnpm": {
"patchedDependencies": {
"vue-codemirror@6.1.1": "docs/patches/vue-codemirror@6.1.1.patch"
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "pnpm precommit"
},
"lint-staged": {
"*": "pnpm lint:fix"
}
}