Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.67 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 1.67 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
{
"name": "models",
"version": "1.0.0",
"description": "AI model configurations - YAML to unified JSON",
"private": true,
"scripts": {
"validate": "./.github/test/validate.sh",
"generate:types": "ts-node --project .github/scripts/tsconfig.json .github/scripts/generate-types.ts",
"build:json": "ts-node --project .github/scripts/tsconfig.json .github/scripts/build-unified-json.ts",
"build:provider-configs": "ts-node --project .github/scripts/tsconfig.json .github/scripts/build-provider-configs.ts",
"lint:yaml": "yamllint -c .yamllint.yml providers/",
"sort:yaml": "ts-node --project .github/scripts/tsconfig.json .github/scripts/sort-yaml-keys.ts",
"lint:yaml:fix": "npm run sort:yaml && prettier --write --log-level silent --tab-width 4 --print-width 256 'providers/**/*.yaml'",
"update:readme": "ts-node --project .github/scripts/tsconfig.json .github/scripts/update-readme-counts.ts",
"test:sdk-live": "npm --prefix .github/scripts/sdk-live-test ci && npm --prefix .github/scripts/sdk-live-test run test:live --",
"test:sdk-live-unit": "npm --prefix .github/scripts/sdk-live-test ci && npm --prefix .github/scripts/sdk-live-test run test:unit",
"prepare": "husky"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.3",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"openapi-typescript": "^7.13.0",
"prettier": "^3.8.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"yaml": "^2.8.2"
},
"dependencies": {
"js-yaml": "^4.3.1"
},
"lint-staged": {
"providers/**/*.yaml": [
"npm run sort:yaml --",
"prettier --write --tab-width 4 --print-width 256"
]
}
}