/
package.json
61 lines (61 loc) · 1.35 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
{
"name": "typed-jd-union-api",
"version": "1.0.4",
"description": "京东联盟 NodeJS API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"format": "prettier --write src __tests__",
"test": "jest",
"build": "rm -rf dist && tsc",
"gen": "ts-node src/tool/gen.ts && npm run format",
"buildAndPublish": "npm run format && npm run build && npm publish"
},
"author": "logerzhu",
"repository": {
"type": "git",
"url": "git@github.com:logerzhu/typed-jd-union-api.git"
},
"bugs": {
"url": "https://github.com/logerzhu/typed-jd-union-api/issues"
},
"homepage": "https://github.com/logerzhu/typed-jd-union-api",
"license": "MIT",
"keywords": [
"TypeScript",
"京东开放平台",
"京东联盟",
"JdUnion"
],
"dependencies": {
"axios": "^0.26.1"
},
"devDependencies": {
"@types/jest": "^29.4.0",
"@types/node": "^16.17.1",
"jest": "^29.4.3",
"pre-commit": "^1.2.2",
"prettier": "2.2.1",
"ts-jest": "^26.4.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"pre-commit": [
"format"
],
"prettier": {
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"options": {
"singleQuote": true,
"semi": false,
"trailingComma": "none"
}
}
]
}
}