-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
77 lines (77 loc) · 2.15 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
{
"name": "ts-starter",
"version": "0.0.0",
"description": "a template for typescript project or plugin",
"type": "module",
"keywords": [
"TODO"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hemengke1997/ts-starter.git"
},
"author": "hemengke <https://github.com/hemengke1997>",
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"sideEffects": false,
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"build:pages": "npm run build && cd playground/spa && npm run build",
"test": "run-s test:unit test:serve test:build",
"test:unit": "vitest run",
"test:serve": "vitest run -c vitest.config.e2e.ts",
"test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"prepare": "simple-git-hooks",
"lint-staged": "tsc --noEmit && lint-staged",
"commitlint": "commitlint -e",
"lint": "tsc --noEmit && eslint . --fix",
"up": "taze -I -w -r",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"bump": "bumpp package.json -c --no-push -t --all -x \"npm run changelog\""
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@minko-fe/commitlint-config": "^2.1.2",
"@minko-fe/eslint-config": "^4.1.1",
"@minko-fe/prettier-config": "^2.2.3",
"@minko-fe/tsconfig": "^2.1.1",
"bumpp": "^9.8.1",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"simple-git-hooks": "^2.11.1",
"tsup": "8.3.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vitest": "^2.1.6",
"vitest-e2e": "^0.0.10"
},
"simple-git-hooks": {
"commit-msg": "npm run commitlint",
"pre-commit": "npm run lint-staged"
},
"commitlint": {
"extends": [
"@minko-fe/commitlint-config"
]
},
"lint-staged": {
"*": "eslint --fix"
},
"prettier": "@minko-fe/prettier-config"
}