forked from Chainlit/chainlit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.02 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
{
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"cypress": "^12.9.0",
"dotenv": "^16.0.3",
"eslint": "^8.40.0",
"husky": "^8.0.0",
"kill-port": "^2.0.1",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"shell-exec": "^1.1.2",
"tree-kill": "^1.2.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm exec ts-node ./cypress/support/e2e.ts && (cd src/chainlit/frontend && pnpm run test)",
"prepare": "husky install",
"lintUi": "cd src/chainlit/frontend && pnpm run lint",
"formatUi": "cd src/chainlit/frontend && pnpm run format",
"lintPython": "cd src/ && poetry run mypy chainlit/",
"formatPython": "black `git ls-files | grep '.py$'` && isort --profile=black .",
"buildUi": "(cd src/chainlit/frontend && pnpm run build)",
"build": "(cd src/chainlit/frontend && pnpm run build) && (cd src && poetry build)"
}
}