-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
38 lines (38 loc) · 993 Bytes
/
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
{
"name": "@pingcap-incubator/pd-client-js",
"version": "0.1.5",
"description": "client js sdk for pd",
"keywords": [
"pd",
"client sdk"
],
"author": "pingcap",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"test": "jest --config jestconfig.json",
"build": "tsc && yarn run remove-test",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "echo 'todo by eslint'",
"prepare": "install-peers",
"prepublishOnly": "yarn test && yarn run lint",
"preversion": "yarn run lint",
"version": "yarn run format && git add -A src",
"postversion": "git push && git push --tags",
"remove-test": "rm -rf lib/__test__"
},
"devDependencies": {
"@types/jest": "^24.0.25",
"install-peers-cli": "^2.2.0",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"peerDependencies": {
"axios": "^0.19.0"
}
}