-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.42 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.42 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
{
"name": "@cc-heart/utils",
"version": "6.0.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": {
"prebuild": "rimraf dist types",
"build": "npm run prebuild && rollup -c && tsc -p tsconfig.build.json && npm run doc",
"test": "cross-env TZ=Asia/Shanghai npx jest",
"gulp:deploy": "gulp deploy",
"gulp:publish": "gulp publish",
"prettier": "npx prettier --write .",
"lint": "npx eslint --fix .",
"doc": "node --loader ts-node/esm ./scripts/generator-type-doc.ts",
"cz": "npx commitizen",
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG_PRE.md -s -r 5.0.0"
},
"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": {
"@cc-heart/eslint-config": "^3.0.6",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "^1.7.11",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.44",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/typescript-estree": "^8.47.0",
"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",
"eslint": "^9.9.0",
"esm": "^3.2.25",
"gulp": "^5.0.0",
"husky": "^9.1.4",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.20.0",
"rollup-plugin-typescript2": "^0.36.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typedoc": "^0.25.13",
"typescript": "^5.5.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,json}": [
"eslint --fix",
"prettier --write"
],
"*.{md}": "prettier --write"
}
}