-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.7 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.7 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
{
"name": "deliberate-lab",
"author": "Google PAIR",
"version": "1.0.0",
"license": "Apache-2.0",
"website": "https://github.com/PAIR-code/deliberate-lab",
"repository": {
"type": "git",
"url": "git+https://github.com/PAIR-code/deliberate-lab.git"
},
"engines": {
"node": ">=22"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"eslint": "^9.39.4",
"firebase-tools": "^15.9.0",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.2",
"prettier": "^3.8.1",
"typescript-eslint": "^8.56.1"
},
"lint-staged": {
"*.{json,ts,html,scss,css}": [
"prettier --write --list-different",
"eslint"
]
},
"scripts": {
"doctor": "node scripts/doctor.js",
"prepare": "husky",
"update-schemas": "npm run build --workspace=utils && npx tsx utils/src/export-schemas.ts && npx prettier --write docs/assets/api/schemas.json && cd scripts && uv run datamodel-codegen --input ../docs/assets/api/schemas.json --output deliberate_lab/types.py --input-file-type jsonschema --reuse-model --collapse-root-models --use-union-operator --use-title-as-name --use-one-literal-as-default --use-default --use-annotated --use-standard-collections --target-python-version 3.12 --output-model-type pydantic_v2.BaseModel --allow-population-by-field-name --custom-file-header '# pyright: reportInvalidTypeForm=false\n# pytype: disable=invalid-function-definition\n# pylint: disable=missing-module-docstring,missing-class-docstring,invalid-name,too-few-public-methods' && uv run black deliberate_lab/ && uv run pyright deliberate_lab/"
},
"workspaces": [
"frontend",
"utils",
"functions"
],
"dependencies": {
"crypto-browserify": "^3.12.1"
}
}