-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.97 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.97 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
{
"name": "ts-lib-basic",
"text": "快速基于 TypeScript 编写一个库",
"version": "1.1.0",
"description": "集成了基础工具的,使用 TypeScript 快速编写一个应用库",
"author": "linkFly <linkFly6@live.com>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest --verbose",
"test:w": "DEBUG=ts-lib-basic* jest --watch --collectCoverage=false",
"test:e": "DEBUG=ts-lib-basic* ts-node --project tests/tsconfig.json tests/app.ts",
"build": "rm -rf ./dist && tsc",
"docs": "vuepress dev docs",
"docs:build": "vuepress build docs && cp -rf ./docs/.vuepress/dist/* ./docs && rm -r ./docs/.vuepress/dist",
"build:w": "rm -r ./dist && tsc -w"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx git-cz --hook",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "git@github.com:linkFly6/ts-lib-basic.git"
},
"engines": {
"node": ">=8.0.0"
},
"license": "MIT",
"dependencies": {
"debug": "^4.1.1"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@types/debug": "0.0.31",
"@types/express": "^4.16.0",
"@types/jest": "^23.3.10",
"@types/node": "^10.12.18",
"@types/supertest": "^2.0.7",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"express": "^4.16.4",
"husky": "^3.0.1",
"jest": "^23.6.0",
"supertest": "^3.3.0",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"typescript": "^3.2.2",
"vuepress": "^0.14.8"
},
"jest": {
"rootDir": "tests",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}