-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.91 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
{
"name": "@jasonhsieh/star-search",
"version": "1.1.3",
"license": "MIT",
"description": "Search your star repositories on Github by text in README, description and repo name offline.",
"bin": {
"github-star-search": "./bin/star-search",
"star-search": "./bin/star-search"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/**/*",
"bin/**/*"
],
"engines": {
"node": ">=8.0.0"
},
"keywords": [
"github",
"search",
"stars",
"cli"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:JaosnHsieh/github-star-search.git"
},
"author": "jh",
"scripts": {
"prepare": "rm -rf ./dist && yarn build",
"build": "tsc",
"start": "npm run build && dist/main.js",
"start:dev": "ts-node ./src/main.ts",
"pretest": "npm run build",
"format": "prettier --write '**/*.{ts,json,md,tsx}'",
"test": "ts-node ./src/api/repo.test.ts && ts-node ./src/utils.test.ts",
"gen-schema": "npm run gen-schema1 && npm run gen-schema2 &&npm run gen-schema3 && npm run gen-schema4",
"gen-schema1": "typescript-json-schema './src/types/Repo.d.ts' 'ReadmeRepos' > './src/schema/ReadmeRepos.json'",
"gen-schema2": "typescript-json-schema './src/types/Repo.d.ts' 'ReadmeRepo' > './src/schema/ReadmeRepo.json'",
"gen-schema3": "typescript-json-schema './src/types/ApiResponse.d.ts' 'ApiResponse' > './src/schema/ApiResponse.json'",
"gen-schema4": "typescript-json-schema './src/types/Config.d.ts' 'Config' > './src/schema/Config.json'"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.6",
"@types/x-ray": "^2.3.3",
"ajv": "^7.2.1",
"ajv-errors": "^2.0.0",
"cross-fetch": "^3.0.6",
"fuse.js": "^6.4.6",
"ink": "^3.0.8",
"ink-text-input": "^4.0.1",
"lodash.chunk": "^4.2.0",
"lodash.debounce": "^4.0.8",
"lodash.escaperegexp": "^4.1.2",
"lodash.throttle": "^4.1.1",
"mobx": "^6.1.8",
"mobx-react-lite": "^3.2.0",
"open": "^8.0.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"x-ray": "^2.3.4"
},
"devDependencies": {
"@types/lodash.chunk": "^4.2.6",
"@types/lodash.escaperegexp": "^4.1.6",
"@types/lodash.throttle": "^4.1.6",
"@types/react": "^17.0.2",
"chalk": "^4.1.0",
"eslint-config-xo-react": "^0.24.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"ink-testing-library": "^2.1.0",
"prettier": "^2.2.1",
"prettier-quick": "^0.0.5",
"ts-node": "^9.1.1",
"typescript": "^4.2.2",
"typescript-json-schema": "^0.49.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}