Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.1 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
{
"name": "@cc-heart/utils",
"version": "6.1.1",
"author": "Carl Chen",
"license": "MIT",
"description": "🔧 javascript common tools collection",
"packageManager": "pnpm@9.7.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/cc-hearts/utils.git"
},
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist types && rslib build && tsc -p tsconfig.build.json",
"test": "cross-env TZ=Asia/Shanghai rstest run",
"prettier": "npx prettier --write .",
"cz": "npx commitizen",
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG_PRE.md -s -r 5.0.0",
"test:watch": "cross-env TZ=Asia/Shanghai rstest",
"lint": "rslint .",
"lint:fix": "rslint . --fix",
"docs:dev": "rspress dev",
"docs:build": "rspress build",
"docs:preview": "rspress preview"
},
"typesVersions": {
"*": {
"*": [
"./dist",
"./dist/types",
"./*"
]
}
},
"exports": {
".": [
{
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.ts"
}
],
"./helper": "./dist/types/helper.d.ts",
"./package.json": "./package.json",
"./*": "./*"
},
"devDependencies": {
"@rslib/core": "^1.0.2",
"@rslint/core": "^0.9.3",
"@rspress/core": "^2.0.22",
"@rspress/plugin-playground": "^2.0.22",
"@rspress/plugin-typedoc": "^2.0.22",
"@rstest/core": "^0.12.2",
"@types/node": "^18.19.44",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^5.0.0",
"conventional-changelog-gitmoji-config": "^1.5.2",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.4",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"standard-version": "^9.5.0",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,json}": [
"rslint --fix",
"prettier --write"
],
"*.{md}": "prettier --write"
}
}