Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.5 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@rahul05ranjan/dhruv-cli",
"version": "1.14.0",
"description": "AI-powered CLI assistant for developers using Ollama",
"license": "MIT",
"keywords": [
"ai",
"cli",
"developer-tools",
"ollama",
"assistant"
],
"bin": {
"dhruv": "dist/index.js"
},
"engines": {
"node": ">=20.19.0"
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"start": "node ./dist/index.js",
"dev": "ts-node src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --coverage --watchAll=false --passWithNoTests",
"test:e2e": "jest --config jest.e2e.config.js",
"lint": "eslint . --ext .ts,.js",
"lint:fix": "eslint . --ext .ts,.js --fix",
"type-check": "tsc --noEmit",
"docs": "typedoc --out docs/api src",
"docs:serve": "npx serve docs",
"docs:publish": "npm run docs && gh-pages -d docs",
"benchmark": "autocannon -c 100 -d 10 http://localhost:3000",
"performance": "lighthouse http://localhost:3000 --output=json --output-path=./reports/lighthouse.json",
"security": "npm audit --audit-level=moderate",
"security:full": "npm audit --audit-level=info",
"clean": "rm -rf dist coverage .dhruv-cache logs/*.log",
"prepublishOnly": "npm run clean && npm run lint && npm run test:ci && npm run build",
"release": "semantic-release",
"release:beta": "semantic-release --tag beta",
"docker:build": "docker build -t dhruv-cli .",
"docker:run": "docker run -it dhruv-cli",
"health": "node dist/index.js health",
"metrics": "node dist/index.js metrics"
},
"dependencies": {
"chalk": "^5.3.0",
"cli-highlight": "^2.1.11",
"cli-progress": "^3.12.0",
"commander": "^15.0.0",
"inquirer": "^12.6.3",
"joi": "^18.2.9",
"node-fetch": "^3.3.2",
"ollama": "^0.5.16",
"ora": "^8.2.0",
"prom-client": "^15.1.3",
"typescript": "^5.8.3",
"validator": "^13.15.35",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@lhci/cli": "^0.15.1",
"@semantic-release/changelog": "^7.0.0",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^11.0.1",
"@semantic-release/github": "^12.0.10",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/inquirer": "^9.0.8",
"@types/jest": "^30.0.0",
"@types/nock": "^10.0.3",
"@types/node": "^26.6.2",
"@types/supertest": "^7.2.1",
"@types/validator": "^13.15.2",
"@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0",
"autocannon": "^8.0.0",
"benchmark": "^2.1.4",
"eslint": "^10.0.0",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.2.0",
"jest": "^30.1.0",
"jest-junit": "^17.0.0",
"jsdoc-to-markdown": "^9.1.2",
"lighthouse": "^12.8.1",
"nock": "^14.0.10",
"semantic-release": "^25.0.1",
"supertest": "^7.1.4",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.1",
"typedoc": "^0.28.11",
"typedoc-plugin-markdown": "^4.8.1",
"typescript-eslint": "^8.70.0",
"yaml": "^2.9.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rahul05ranjan/dhruv-cli.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}