Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 4.54 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 4.54 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
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
{
"name": "self-workspace-root",
"private": true,
"workspaces": {
"packages": [
"app",
"circuits",
"common",
"contracts",
"new-common",
"packages/*",
"prover/tests",
"scripts/tests",
"sdk/*"
]
},
"scripts": {
"audit:tech-debt": "node scripts/audit/tech-debt-baseline.mjs",
"build": "node scripts/turbo-tasks.cjs build",
"build:demo": "pnpm --filter mobile-sdk-demo build",
"build:mobile-sdk": "pnpm --filter @selfxyz/mobile-sdk-alpha build",
"build:sdk-android": "./scripts/build-webview-bundle.sh && cd packages/native-shell-android && ./gradlew assembleRelease",
"build:sdk-bundle": "./scripts/build-webview-bundle.sh",
"build:sdk-ios": "./scripts/build-webview-bundle.sh && cd packages/native-shell-ios && swift build",
"check:rn-types-pin": "node scripts/check-rn-types-pin.cjs",
"check:versions": "node scripts/check-package-versions.mjs",
"demo:mobile": "pnpm build:mobile-sdk && pnpm build:demo && pnpm --filter mobile-sdk-demo start",
"docstrings": "pnpm docstrings:app && pnpm docstrings:sdk",
"docstrings:app": "pnpm tsx scripts/docstring-report.ts \"app/src/**/*.{ts,tsx}\" --label \"Mobile App\" --write-report docs/coverage/app.json",
"docstrings:sdk": "pnpm tsx scripts/docstring-report.ts \"packages/mobile-sdk-alpha/src/**/*.{ts,tsx}\" --label \"Mobile SDK Alpha\" --write-report docs/coverage/sdk.json",
"format": "node scripts/format-monorepo.cjs",
"format:github": "node ./node_modules/prettier/bin/prettier.cjs --write .github/**/*.yml --single-quote false",
"format:root": "node scripts/format-root.cjs",
"gitleaks": "gitleaks protect --staged --redact --config=gitleaks-override.toml",
"kmp:android": "pnpm --filter @selfxyz/kmp-sdk-test-app android",
"kmp:clean": "pnpm --filter @selfxyz/kmp-sdk clean && pnpm --filter @selfxyz/kmp-sdk-test-app clean && rm -rf packages/kmp-sdk/.gradle packages/kmp-sdk/build packages/kmp-sdk/shared/build packages/kmp-sdk-test-app/.gradle packages/kmp-sdk-test-app/build packages/kmp-sdk-test-app/composeApp/build",
"kmp:format": "pnpm --filter @selfxyz/kmp-sdk-test-app format",
"kmp:ios": "pnpm --filter @selfxyz/kmp-sdk-test-app ios:open",
"kmp:lint": "pnpm --filter @selfxyz/kmp-sdk-test-app lint",
"kmp:start": "bash scripts/kmp-start.sh",
"kmp:test": "pnpm --filter @selfxyz/kmp-sdk test",
"lint": "pnpm lint:pnpm-version && pnpm lint:ci-sentinel && pnpm lint:headers && node scripts/turbo-tasks.cjs lint",
"lint:ci-sentinel": "python3 scripts/ci/add-force-run-sentinel.py --check",
"lint:headers": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --check",
"lint:headers:fix": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --fix",
"lint:pnpm-version": "node scripts/check-pnpm-version.mjs",
"native-shell:format": "cd packages/native-shell-android && ./gradlew ktlintFormat && cd ../../packages/native-shell-ios && swiftlint --fix",
"native-shell:lint": "cd packages/native-shell-android && ./gradlew ktlintCheck && cd ../../packages/native-shell-ios && swiftlint lint --strict",
"native-shell:test": "cd packages/native-shell-android && ./gradlew testDebugUnitTest",
"optimize": "node scripts/optimize-deps.mjs",
"prepare": "husky",
"reinstall-app": "pnpm install && (cd app && pnpm clean:watchman && pnpm clean:build && pnpm clean:ios && pnpm clean:xcode && pnpm clean:pod-cache && pnpm clean:android-deps && pnpm clean:ruby && pnpm clean:node) && pnpm install && pnpm --filter @selfxyz/mobile-app run install-app",
"sort-package-jsons": "find . -name 'package.json' -not -path './node_modules/*' -not -path './*/node_modules/*' | xargs pnpm dlx sort-package-json",
"test": "node scripts/turbo-tasks.cjs test",
"test:license-headers": "cd scripts/tests && node check-license-headers.test.mjs",
"types": "node scripts/turbo-tasks.cjs types"
},
"dependencies": {
"@babel/runtime": "^7.29.7",
"js-sha1": "^0.7.0",
"uuid": "^13.0.2"
},
"devDependencies": {
"@react-native-community/cli-server-api": "^20.2.0",
"@types/node": "^22.20.1",
"gitleaks": "1.0.0",
"glob": "^13.0.6",
"husky": "9.1.7",
"knip": "^6.27.0",
"prettier": "^3.9.5",
"tsx": "^4.23.1",
"turbo": "^2.10.5",
"typescript": "^5.9.3"
},
"packageManager": "pnpm@11.12.0+sha512.820a6fbd0d9f04c226638002aead1e45340a9139dd5dc077c1d83ef44aa2481c8eb6637b4c9aa696a3c7e35ba818e49cf27213e5f2b91138d09b7a3e26e898ba",
"engines": {
"node": ">=22 <23"
}
}