-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.29 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.29 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
{
"name": "requesty-cli",
"version": "1.0.0",
"description": "A secure CLI tool to test multiple AI models via Requesty API with enhanced PDF chat capabilities",
"main": "dist/cli/index.js",
"bin": {
"requesty": "dist/cli/index.js"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"build": "tsc && npm run copy-config",
"copy-config": "mkdir -p dist/config && cp src/config/models.json dist/config/",
"build:watch": "tsc --watch",
"start": "node dist/cli/index.js",
"dev": "ts-node src/cli/index.ts",
"test": "node scripts/test-runner.js all",
"test:unit": "node scripts/test-runner.js unit",
"test:integration": "node scripts/test-runner.js integration",
"test:e2e": "node scripts/test-runner.js e2e",
"test:security": "node scripts/test-runner.js security",
"test:performance": "node scripts/test-runner.js performance",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:report": "node scripts/test-runner.js all --report",
"test:setup": "node scripts/setup-test-env.js",
"lint": "eslint src --ext .ts --fix",
"format": "prettier --write 'src/**/*.{ts,json,md}' 'tests/**/*.{ts,json,md}'",
"audit": "npm audit --audit-level=moderate",
"audit:fix": "npm audit fix",
"audit:security": "npm audit --audit-level=high --production",
"performance": "node --inspect dist/cli/index.js --performance-test",
"clean": "rm -rf dist node_modules package-lock.json",
"reinstall": "npm run clean && npm install",
"prepack": "npm run build",
"postinstall": "npm run audit:security",
"ci": "npm run build && npm run lint && npm run test && npm run audit:security"
},
"keywords": [
"cli",
"ai",
"requesty",
"models",
"pdf-chat",
"security",
"authentication",
"streaming"
],
"author": "Requesty",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/requestyai/requesty-cli.git"
},
"bugs": {
"url": "https://github.com/requestyai/requesty-cli/issues"
},
"homepage": "https://requesty.ai",
"dependencies": {
"argon2": "^0.43.0",
"chalk": "^4.1.2",
"cli-table3": "^0.6.5",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"figlet": "^1.7.0",
"gradient-string": "^2.0.2",
"inquirer": "^8.2.6",
"joi": "^17.13.3",
"node-forge": "^1.3.1",
"openai": "^4.104.0",
"ora": "^5.4.1",
"pdf-parse": "^1.1.1",
"sanitize-html": "^2.17.0",
"uuid": "^11.1.0",
"validator": "^13.15.15"
},
"devDependencies": {
"@types/figlet": "^1.5.6",
"@types/gradient-string": "^1.1.6",
"@types/inquirer": "^8.2.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@types/pdf-parse": "^1.1.5",
"@types/sanitize-html": "^2.11.0",
"@types/uuid": "^10.0.0",
"@types/validator": "^13.15.2",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-security": "^3.0.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false
}
}