-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 5.04 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 5.04 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
80
81
82
83
84
85
86
87
88
{
"name": "self-workspace-root",
"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": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts --exclude @selfxyz/circuits --exclude mobile-sdk-demo --exclude @selfxyz/kmp-sdk --exclude @selfxyz/kmp-sdk-test-app -i --all run build",
"build:demo": "yarn workspace mobile-sdk-demo build",
"build:mobile-sdk": "yarn workspace @selfxyz/mobile-sdk-alpha build",
"check:versions": "node scripts/check-package-versions.mjs",
"demo:mobile": "yarn build:mobile-sdk && yarn build:demo && yarn workspace mobile-sdk-demo start",
"docstrings": "yarn docstrings:app && yarn docstrings:sdk",
"docstrings:app": "yarn tsx scripts/docstring-report.ts \"app/src/**/*.{ts,tsx}\" --label \"Mobile App\" --write-report docs/coverage/app.json",
"docstrings:sdk": "yarn tsx scripts/docstring-report.ts \"packages/mobile-sdk-alpha/src/**/*.{ts,tsx}\" --label \"Mobile SDK Alpha\" --write-report docs/coverage/sdk.json",
"format": "SKIP_BUILD_DEPS=1 yarn format:root && yarn format:github && GRADLE_USER_HOME=/tmp/self-gradle-format yarn workspace @selfxyz/kmp-sdk format && GRADLE_USER_HOME=/tmp/self-gradle-format yarn workspace @selfxyz/kmp-sdk-test-app format && SKIP_BUILD_DEPS=1 yarn workspaces foreach --parallel -i --all --exclude self-workspace-root --exclude @selfxyz/kmp-sdk --exclude @selfxyz/kmp-sdk-test-app run format",
"format:github": "yarn prettier --parser yaml --write .github/**/*.yml --single-quote false",
"format:root": "echo 'format markdown' && yarn prettier --parser markdown --write '*.md' 'docs/**/*.md' 'specs/**/*.md' && echo 'format yaml' && yarn prettier --parser yaml --write .*.{yml,yaml} --single-quote false && yarn prettier --write scripts/**/*.{js,mjs,ts} && yarn prettier --parser json --write scripts/**/*.json",
"gitleaks": "gitleaks protect --staged --redact --config=gitleaks-override.toml",
"postinstall": "node scripts/run-patch-package.cjs",
"kmp:android": "yarn workspace @selfxyz/kmp-sdk-test-app android",
"kmp:clean": "yarn workspace @selfxyz/kmp-sdk clean && yarn workspace @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": "yarn workspace @selfxyz/kmp-sdk-test-app format",
"kmp:ios": "yarn workspace @selfxyz/kmp-sdk-test-app ios:open",
"kmp:lint": "yarn workspace @selfxyz/kmp-sdk-test-app lint",
"kmp:start": "bash scripts/kmp-start.sh",
"kmp:test": "yarn workspace @selfxyz/kmp-sdk test",
"lint": "yarn lint:headers && yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run lint",
"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",
"prepare": "husky",
"reinstall-app": "yarn install && (cd app && yarn clean:watchman && yarn clean:build && yarn clean:ios && yarn clean:xcode && yarn clean:pod-cache && yarn clean:android-deps && rm -rf app/node_modules) && yarn install && yarn workspace @selfxyz/mobile-app run install-app",
"sort-package-jsons": "find . -name 'package.json' -not -path './node_modules/*' -not -path './*/node_modules/*' | xargs npx sort-package-json",
"test": "yarn workspaces foreach --parallel -i --all run test",
"test:license-headers": "cd scripts/tests && node check-license-headers.test.mjs",
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts --exclude @selfxyz/common --exclude @selfxyz/mobile-app -i --all run types"
},
"resolutions": {
"@babel/core": "^7.28.6",
"@babel/runtime": "^7.28.6",
"@noble/curves": "1.9.7",
"@noble/hashes": "1.8.0",
"@swc/core": "1.7.36",
"@tamagui/animations-react-native": "1.126.14",
"@tamagui/toast": "1.126.14",
"@types/node": "^22.18.3",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"ethereum-cryptography": "3.2.0",
"punycode": "npm:punycode.js@^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native-passkey": "3.3.2",
"react-native-webview": "13.16.0"
},
"dependencies": {
"@babel/runtime": "^7.28.6",
"js-sha1": "^0.7.0",
"react": "^18.3.1",
"react-native": "0.76.9",
"uuid": "^13.0.0"
},
"devDependencies": {
"@react-native-community/cli-server-api": "^16.0.3",
"@types/node": "^22.18.3",
"gitleaks": "1.0.0",
"husky": "9.1.7",
"knip": "^5.63.1",
"patch-package": "^8.0.0",
"prettier": "^3.6.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"packageManager": "yarn@4.12.0",
"engines": {
"node": ">=22 <23"
}
}