-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
108 lines (108 loc) 路 3.23 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
98
99
100
101
102
103
104
105
106
107
108
{
"name": "llmclient",
"version": "8.1.15",
"type": "module",
"description": "The best library to work with LLMs",
"typings": "build/module/src/index.d.ts",
"module": "build/module/src/index.js",
"exports": "./build/module/src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/dosco/llm-client.git"
},
"license": "Apache-2.0",
"keywords": [],
"scripts": {
"build": "run-s build:*",
"build:parser": "npx peggy --plugin ts-pegjs --extra-options-file src/dsp/parser.json --cache --output src/dsp/parser.ts src/dsp/parser.peggy",
"build:module": "tsc -p tsconfig.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --config .prettierrc --check",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
"test:unit": "ava --timeout=60s --verbose",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "ava --ext ts --watch",
"cov": "run-s build test:unit cov:html cov:lcov && open coverage/index.html",
"doc": "run-s doc:html && open docs/index.html",
"doc:html": "typedoc src/ --tsconfig tsconfig.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d docs",
"version": "standard-version",
"prepare": "run-s test",
"tsx": "node --env-file=.env --import=tsx"
},
"engines": {
"node": ">=21"
},
"dependencies": {
"json5": "^2.2.3"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@digitak/esrun": "^3.2.26",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@total-typescript/tsconfig": "^1.0.4",
"@types/lodash": "^4.17.0",
"@types/node": "^20.11.30",
"@types/readable-stream": "^4.0.11",
"@types/stream-array": "^1.1.4",
"@types/uuid": "^9.0.8",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"ava": "^6.1.2",
"cspell": "^8.6.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^6.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-require-extensions": "^0.1.3",
"gh-pages": "^6.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"standard-version": "^9.5.0",
"ts-pegjs": "^4.2.1",
"tsx": "^4.7.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.3"
},
"files": [
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"ava": {
"failFast": true,
"timeout": "60s",
"typescript": {
"rewritePaths": {
"src/": "build/module/src/"
},
"compile": false
},
"files": [
"!build/modules/src/**"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"bugs": {
"url": "https://github.com/dosco/llm-client/issues"
},
"homepage": "https://github.com/dosco/llm-client#readme",
"directories": {
"example": "examples"
},
"author": "Vikram <https://twitter.com/dosco>"
}