-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.93 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
{
"name": "@dking/dgit",
"version": "0.0.12",
"description": "@dking/hasaki-cli init application",
"bin": {
"dgit": "./bin/cmd.js"
},
"main": "./lib/dgit.js",
"types": "./lib/dgit.d.ts",
"keywords": [
"dgit",
"github download tool"
],
"author": "JohnApache",
"license": "MIT",
"scripts": {
"build:ts": "tsc --build",
"lint": "eslint src --ext .jsx --ext .js --ext .tsx --ext .ts --cache --fix",
"test:mocha": "nyc --reporter=text mocha --require ts-node/register 'test/**/*.{ts,tsx}' -t 60000",
"test:mocha:reporter": "nyc --reporter=lcov --reporter=text mocha --require ts-node/register 'test/**/*.{ts,tsx}' -t 60000 --reporter=mochawesome",
"watch:ts": "tsc --watch",
"prepublishOnly": "npm run test:mocha && npm run lint && npm run build:ts"
},
"lint-staged": {
"**/*.{jsx,js}": [
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@dking/eslint-config-typescript": "^0.0.4",
"@types/chai": "^4.2.0",
"@types/mocha": "^5.2.7",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-promise": "^4.1.1",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"mocha": "^6.2.0",
"mochawesome": "^4.1.0",
"nyc": "^14.1.1",
"ts-node": "^8.3.0",
"typescript": "^3.7.4"
},
"dependencies": {
"@types/async": "^3.0.3",
"@types/commander": "^2.12.2",
"@types/inquirer": "^6.5.0",
"@types/ora": "^3.2.0",
"@types/progress": "^2.0.3",
"@types/request": "^2.48.3",
"async": "^3.1.0",
"chalk": "^3.0.0",
"commander": "^4.0.1",
"inquirer": "^7.0.0",
"ora": "^4.0.3",
"progress": "^2.0.3",
"request": "^2.88.0"
}
}