-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.31 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
93
94
95
96
97
{
"name": "@goparrot/clover-api-client",
"version": "1.1.0",
"description": "Typescript library which implements Clover API",
"keywords": [
"clover",
"typscript"
],
"author": "GoParrot",
"license": "MIT",
"homepage": "https://github.com/goparrot/clover-api-client#readme",
"bugs": {
"url": "https://github.com/goparrot/clover-api-client/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/goparrot/clover-api-client.git"
},
"engines": {
"node": ">=14"
},
"directories": {
"bin": "./bin",
"lib": "./src",
"test": "./test"
},
"lint-staged": {
"*.{ts,js,json}": [
"npm run format:base"
],
"*.md": [
"npm run prettier:base"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"commit": "git-cz",
"prepare": "husky install",
"pre-commit": "git add . && npm run format:staged && npm run typecheck && npm run publish:dev:dry && npm run lint && npm run coverage",
"prettier": "npm run prettier:base -- '**/**.+(md)'",
"prettier:base": "prettier --ignore-path .eslintignore --write",
"format": "npm run prettier && npm run lint -- --fix",
"format:base": "npm run lint:base -- --fix",
"format:staged": "git add . && lint-staged --allow-empty -q",
"lint": "npm run lint:base -- './**/**.{ts,js,json}'",
"lint:base": "npm run lint:config:check && eslint",
"lint:config:check": "eslint-config-prettier src/index.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"build:dist": "rimraf dist/* && run-p build:dist:cjs build:dist:esm build:dist:types",
"build:dist:cjs": "tsc --project tsconfig.build-cjs.json",
"build:dist:esm": "tsc --project tsconfig.build-esm.json",
"build:dist:types": "tsc -b tsconfig.build-types.json",
"publish": "npm run build:dist && ts-node -T bin/prepublish.ts && npm publish ./dist",
"publish:dev": "npm run publish --tag dev",
"publish:dev:dry": "npm run publish:dev --dry-run",
"test": "jest --runInBand",
"coverage": "npm run test -- --coverage"
},
"peerDependencies": {
"axios": ">=0.24.0",
"axios-retry": "^3.1.0",
"class-transformer": "0.2.3 - 0.3.1 || ^0.5.1",
"reflect-metadata": "^0.1.13"
},
"dependencies": {
"deepmerge": "^4.0.0",
"qs": "^6.10.1"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@goparrot/eslint-config": "^1.0.3",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"@types/qs": "^6.9.7",
"axios": "^0.26.0",
"axios-mock-adapter": "^1.20.0",
"axios-retry": "^3.2.4",
"class-transformer": "^0.5.1",
"commitizen": "^4.2.4",
"deepmerge": "^4.2.2",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
}
}