-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
92 lines (92 loc) · 2.18 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "tbify",
"version": "1.15.0",
"description": "使用淘宝 NPM 镜像加速包管理工具安装依赖的速度。",
"keywords": [
"npm",
"yarn",
"pnpm",
"cnpm",
"package-manager",
"taobao",
"tbify"
],
"homepage": "https://github.com/fjc0k/tbify#readme",
"bugs": {
"url": "https://github.com/fjc0k/tbify/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:fjc0k/tbify.git"
},
"license": "MIT",
"author": {
"name": "Jay Fong",
"email": "fjc0kb@gmail.com",
"url": "https://github.com/fjc0k"
},
"main": "lib/run.js",
"bin": {
"tbify": "lib/run.js",
"tfnm": "lib/alias/fnm.js",
"tnpm": "lib/alias/npm.js",
"tnpx": "lib/alias/npx.js",
"tnvm": "lib/alias/nvm.js",
"tpm": "lib/alias/pnpm.js",
"tpnpm": "lib/alias/pnpm.js",
"tpnpx": "lib/alias/pnpx.js",
"tpx": "lib/alias/pnpx.js",
"tsync": "lib/alias/sync.js",
"tyarn": "lib/alias/yarn.js",
"tyn": "lib/alias/yarn.js"
},
"files": [
"lib"
],
"scripts": {
"build": "shx rm -rf lib && npm run copyBin && tsc -p tsconfig.build.json",
"copyBin": "shx mkdir -p lib/bin && shx cp 'src/bin/*' lib/bin/",
"dev": "shx rm -rf lib && npm run copyBin && tsc -p tsconfig.build.json -w",
"prepublishOnly": "npm run build",
"release": "standard-version -a && git push --follow-tags origin master && npm publish",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,less,scss,sass,html,htm,vue,yml,yaml,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"execa": "^4.0.0",
"get-port": "^5.1.1",
"got": "^11.0.2",
"signal-exit": "^3.0.3",
"tslib": "^1.11.1"
},
"devDependencies": {
"@types/signal-exit": "^3.0.0",
"codecov": "^3",
"eslint": "^6",
"haoma": "^1.12.2",
"husky": "^4",
"jest": "^25",
"lint-staged": "^10",
"prettier": "^2",
"shx": "^0.3.2",
"standard-version": "^7.1.0",
"tempy": "^0.5.0",
"typescript": "^4"
},
"engines": {
"node": ">=10.19.0"
}
}