-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.62 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": "fetchdoc-cli",
"version": "1.0.2",
"description": "FetchDoc is a command-line tool that assists developers in swiftly accessing the documentation or README of any npm package. With a straightforward command, FetchDoc either opens the official repository of the specified npm package in your default browser or displays the README content directly in your terminal, streamlining your journey into the docs.",
"main": "./dist/index.js",
"bin": {
"fetchdoc": "./dist/index.js"
},
"scripts": {
"build": "tsc -p tsconfig.json && rollup -c",
"start": "node ./dist/index.js",
"lint": "eslint 'src/**/*.{js,ts}'",
"lint:fix": "eslint 'src/**/*.{js,ts}' --fix",
"test": "TS_NODE_PROJECT=tsconfig.test.json mocha --require ts-node/register test/**/*.test.ts",
"version": "auto-changelog -p && git add CHANGELOG.md",
"postbuild": "chmod +x dist/index.js"
},
"auto-changelog": {
"breakingPattern": "BREAKING CHANGE:"
},
"keywords": [
"npm",
"documentation",
"cli",
"readme",
"fetch",
"repository",
"open",
"terminal",
"yargs",
"axios"
],
"author": "Ryan Jordan",
"license": "MIT",
"dependencies": {
"axios": "^1.5.0",
"open": "^8.4.2",
"tslib": "^2.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^11.1.3",
"@types/axios": "^0.14.0",
"@types/chai": "^4.3.6",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.0",
"@types/sinon": "^10.0.16",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"auto-changelog": "^2.4.0",
"chai": "^4.3.8",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"esm": "^3.2.25",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"mocha": "^10.2.0",
"nock": "^13.3.3",
"prettier": "^3.0.3",
"rollup": "^3.29.0",
"sinon": "^15.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint --fix",
"git add"
]
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/krjordan/fetchdoc-cli.git"
},
"bugs": {
"url": "https://github.com/krjordan/fetchdoc-cli/issues"
},
"homepage": "https://github.com/krjordan/fetchdoc-cli#readme"
}