2021-05-02 13:44:42 +00:00
|
|
|
{
|
|
|
|
"scripts": {
|
2022-07-16 12:16:54 +00:00
|
|
|
"dev:docker": "docker-compose up redis",
|
2022-01-02 22:46:08 +00:00
|
|
|
"dev:backend": "cd backend && cargo watch -x 'run --bin cryptgeon'",
|
|
|
|
"dev:front": "pnpm --prefix frontend run dev",
|
2021-12-20 17:14:59 +00:00
|
|
|
"dev:proxy": "node proxy.mjs",
|
2022-07-19 12:12:51 +00:00
|
|
|
"dev": "run-p dev:*",
|
2022-07-19 19:55:05 +00:00
|
|
|
"test": "playwright test --project chrome firefox safari",
|
|
|
|
"test:local": "playwright test --project local",
|
|
|
|
"ci:server": "cd backend && SIZE_LIMIT=10MiB LISTEN_ADDR=0.0.0.0:1234 cargo run",
|
2022-07-19 12:12:51 +00:00
|
|
|
"ci:server:backend": "cd backend && cargo run",
|
|
|
|
"ci:server:front": "pnpm --prefix frontend run preview",
|
|
|
|
"ci:server:proxy": "node proxy.mjs",
|
|
|
|
"ci:prepare": "run-p ci:prepare:*",
|
|
|
|
"ci:prepare:backend": "cd backend && cargo build",
|
|
|
|
"ci:prepare:front": "pnpm --prefix frontend install && pnpm --prefix frontend run build"
|
2021-05-02 13:44:42 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-07-19 12:12:51 +00:00
|
|
|
"@playwright/test": "^1.23.4",
|
2022-07-19 19:55:05 +00:00
|
|
|
"@types/node": "16",
|
2021-12-20 17:14:59 +00:00
|
|
|
"http-proxy": "^1.18.1",
|
2021-11-11 12:37:21 +00:00
|
|
|
"npm-run-all": "^4.1.5"
|
2021-05-02 13:44:42 +00:00
|
|
|
}
|
|
|
|
}
|