-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
89 lines (89 loc) · 3.18 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "opendatacapture",
"type": "module",
"version": "1.8.3",
"private": true,
"packageManager": "[email protected]",
"license": "Apache-2.0",
"engines": {
"node": ">=v20.17.0"
},
"scripts": {
"build": "env-cmd turbo run build",
"clean": "find . -type d '(' -name '.turbo' -o -name 'dist' -o -name 'node_modules' ')' -prune -exec rm -rf {} \\;",
"clean:workflows": "./scripts/clean-workflows.sh",
"db:generate": "turbo run db:generate",
"db:push": "turbo run db:push",
"dev": "pnpm dev:core",
"dev:all": "NODE_ENV=development env-cmd turbo run dev",
"dev:core": "NODE_ENV=development env-cmd pnpm exec turbo run dev --filter=@opendatacapture/api --filter=@opendatacapture/gateway --filter=@opendatacapture/web",
"dev:test": "NODE_ENV=test env-cmd turbo run dev:test",
"force-reinstall": "pnpm clean && pnpm install",
"format": "turbo run format",
"generate:env": "./scripts/generate-env.sh",
"lint": "turbo run lint",
"postinstall": "turbo telemetry disable",
"prepare": "husky",
"preview:core": "env-cmd turbo run preview --filter=@opendatacapture/api --filter=@opendatacapture/gateway --filter=@opendatacapture/web",
"test": "env-cmd vitest",
"test:coverage": "vitest --coverage",
"test:cy": "env-cmd --use-shell 'start-server-and-test dev:test \"http://localhost:${API_DEV_SERVER_PORT}|http://localhost:${GATEWAY_DEV_SERVER_PORT}/api/healthcheck|http://localhost:${WEB_DEV_SERVER_PORT}\" test:cy:run'",
"test:cy:run": "pnpm ws cypress test",
"test:e2e": "env-cmd turbo run test:e2e",
"ws": "./scripts/workspace.sh $@"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@commitlint/types": "^19.0.3",
"@douglasneuroinformatics/eslint-config": "catalog:",
"@douglasneuroinformatics/prettier-config": "catalog:",
"@douglasneuroinformatics/tsconfig": "catalog:",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/addon-themes": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/icons": "^1.2.10",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@swc-node/register": "^1.10.9",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.24",
"@swc/helpers": "^0.5.13",
"@types/github-script": "https://github.com/actions/github-script/archive/refs/tags/v7.0.1.tar.gz",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.14.2",
"@vitest/browser": "^2.0.5",
"@vitest/coverage-v8": "^2.0.5",
"dotenv": "^16.4.5",
"env-cmd": "^10.1.0",
"eslint": "^9.10.0",
"expect-type": "^0.20.0",
"husky": "^9.1.5",
"js-yaml": "^4.1.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.6",
"start-server-and-test": "^2.0.8",
"storybook": "^8.2.9",
"tsx": "catalog:",
"turbo": "^2.1.1",
"typescript": "~5.5.4",
"unplugin-swc": "^1.5.1",
"vitest": "^2.1.1"
},
"os": [
"darwin",
"linux"
],
"cpu": [
"x64",
"arm64"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}