-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.32 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.32 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
{
"name": "mobile-boilerplate",
"version": "0.0.0-development",
"private": true,
"description": "Monorepo boilerplate: Flutter mobile + NestJS API + shared OpenAPI Dart client",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"volta": {
"node": "20.18.0",
"pnpm": "9.12.0"
},
"packageManager": "pnpm@9.12.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "lefthook install || exit 0",
"install:melos": "command -v fvm >/dev/null && fvm dart pub global activate melos 6.3.3 || dart pub global activate melos 6.3.3",
"bootstrap": "pnpm install",
"bootstrap:full": "pnpm install && pnpm install:melos && pnpm codegen:api && melos bootstrap",
"lint": "pnpm -r --if-present lint && melos run analyze",
"test": "pnpm -r --if-present test && melos run test",
"format": "pnpm -r --if-present format && melos run format",
"codegen:api": "node tools/codegen/generate-api-client.cjs",
"test:cov": "pnpm --filter @mobile-boilerplate/api test:cov && (cd apps/mobile && fvm flutter test --coverage)"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@openapitools/openapi-generator-cli": "^2.13.4",
"husky": "^9.1.6",
"lefthook": "^1.7.18",
"lint-staged": "^15.2.10",
"only-allow": "^1.2.1"
}
}