forked from Chainlit/chainlit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.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
{
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"cypress": "12.9.0",
"dotenv": "^16.3.1",
"eslint": "^8.48.0",
"husky": "^9.1.6",
"kill-port": "^2.0.1",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"shell-exec": "^1.1.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm exec ts-node ./cypress/support/e2e.ts",
"test:ui": "cd frontend && pnpm test",
"prepare": "husky",
"lintUi": "cd frontend && pnpm run lint",
"formatUi": "cd frontend && pnpm run format",
"lintPython": "cd backend && poetry run dmypy run --timeout 600 -- chainlit/ tests/",
"formatPython": "black `git ls-files | grep '.py$'` && isort --profile=black .",
"buildUi": "cd libs/react-client && pnpm run build && cd ../copilot && pnpm run build && cd ../../frontend && pnpm run build"
},
"pnpm": {
"overrides": {
"@cypress/request@<=2.88.12": ">=3.0.0",
"braces@<3.0.3": ">=3.0.3",
"micromatch@<4.0.8": ">=4.0.8"
}
}
}