-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.5 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.5 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
{
"name": "lobe-lib-template",
"version": "1.0.1",
"private": true,
"description": "A modern, well-structured TypeScript library template for building high-quality npm packages",
"homepage": "https://github.com/lobehub/lobe-lib-template",
"bugs": {
"url": "https://github.com/lobehub/lobe-lib-template/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-lib-template.git"
},
"license": "MIT",
"author": "LobeHub <i@lobehub.com>",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"ci": "npm run lint:circular && npm run lint && npm run type-check",
"dev": "tsup --watch",
"example": "bun run build && tsx examples/basic-usage.ts",
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:circular": "dpdm src/**/*.{ts,tsx} --warning false --tree false --exit-code circular:1 -T true",
"lint:md": "remark . --quiet --frail --output",
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepare": "husky",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"release": "semantic-release",
"test": "vitest",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:watch": "vitest --watch",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.{md,mdc}": [
"remark --silent --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"prettier --write",
"eslint --fix"
],
"*.{mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"eslint --fix"
]
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@lobehub/lint": "^1.26.2",
"@vitest/coverage-v8": "^3.0.9",
"clean-package": "^2.2.0",
"dotenv": "^16.5.0",
"dpdm": "^3.14.0",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.5.3",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"semantic-release": "^21.1.2",
"tsup": "^8.5.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.11.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}