Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (198 loc) · 9.63 KB
/
Copy pathpackage.json
File metadata and controls
198 lines (198 loc) · 9.63 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"name": "subtrackr",
"version": "1.0.0",
"main": "index.ts",
"bin": {
"subtrackr": "./bin/subtrackr.js"
},
"scripts": {
"start": "expo start --dev-client",
"start:expo-go": "expo start",
"android": "expo run:android",
"android:device": "expo run:android --device",
"ios": "expo run:ios",
"ios:device": "expo run:ios --device",
"web": "expo start --web",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier --write \"**/*.{ts,tsx,js,json,md}\"",
"test:shard": "jest --shard=${SHARD:-1}/${SHARD_COUNT:-3}",
"credit:test": "jest --config jest.credit.config.js app/stores/__tests__/creditStore.test.ts app/tests/integration/credit-wallet.integration.test.ts --runInBand",
"credit:test:coverage": "jest --config jest.credit.config.js app/stores/__tests__/creditStore.test.ts app/tests/integration/credit-wallet.integration.test.ts --runInBand --coverage --collectCoverageFrom=app/stores/creditStore.ts --coverageThreshold '{\"global\":{\"branches\":80,\"functions\":80,\"lines\":80,\"statements\":80}}'",
"credit:benchmark": "jest --config jest.credit.config.js app/stores/__tests__/creditStore.performance.test.ts --runInBand",
"format:check": "prettier --check \"**/*.{ts,tsx,js,json,md}\"",
"typecheck": "tsc --noEmit",
"test": "jest --passWithNoTests",
"test:coverage": "jest --coverage",
"test:backend": "jest --config jest.backend.config.js",
"test:backend:coverage": "jest --config jest.backend.config.js --coverage",
"test:data:anonymize": "node scripts/anonymize-test-data.js",
"test:data:anonymize:check": "node scripts/anonymize-test-data.js --check",
"queue:backoff:tune": "node scripts/queue-backoff-tune.js --input config/queue-snapshot.sample.json",
"queue:backoff:tune:stdin": "node scripts/queue-backoff-tune.js",
"db:migrate:dry-run": "node scripts/db-migrate-dryrun.js --migrations-dir backend/migrations",
"db:migrate:lint": "node scripts/db-migrate-dryrun.js --migrations-dir backend/migrations --fail-on warn",
"db:migrate:up": "node scripts/db-migrate-run.js up",
"db:migrate:down": "node scripts/db-migrate-run.js down --all",
"db:migrate:down:1": "node scripts/db-migrate-run.js down",
"db:migrate:status": "node scripts/db-migrate-run.js status",
"infra:autoscaling:check": "node scripts/validate-autoscaling.js",
"ops:check": "npm run db:migrate:dry-run && npm run test:data:anonymize:check && npm run infra:autoscaling:check",
"performance:ci": "node scripts/check-performance-budget.js",
"build:metrics:publish": "node scripts/publish-build-metrics.js",
"mutation:test": "npx --yes @stryker-mutator/core@9.0.0 run --config stryker.conf.json",
"mutation:test:backend": "npx --yes @stryker-mutator/core@9.0.0 run --config stryker.backend.conf.json",
"mutation:test:ci": "npx --yes @stryker-mutator/core@9.0.0 run --config stryker.conf.json --reporters progress,clear-text,json",
"mutation:test:backend:ci": "npx --yes @stryker-mutator/core@9.0.0 run --config stryker.backend.conf.json --reporters progress,clear-text,json",
"mutation:frontend": "npm run mutation:test",
"mutation:backend": "npm run mutation:test:backend",
"mutation:all": "npm run mutation:frontend && npm run mutation:backend",
"mutation:test:all": "npm run mutation:test && npm run mutation:test:backend",
"mutation:report": "node scripts/check-mutation-score.js",
"build": "expo export",
"build:android": "expo run:android --variant release",
"contracts:test": "cd contracts && cargo test",
"contracts:fmt": "cd contracts && cargo fmt --check",
"contracts:clippy": "cd contracts && cargo clippy --all-targets -- -D warnings",
"contracts:build": "cd contracts && cargo build --release",
"contracts:migrate": "./scripts/run-migration.sh",
"contracts:migrate:validate": "./scripts/validate-migration.sh",
"contracts:migrate:rollback": "./scripts/rollback-migration.sh",
"contracts:verify": "cd contracts/subscription/certora && certoraRun ../src/lib.rs --verify SubTrackrSubscription:SubTrackrSubscription.spec --msg \"SubTrackr local formal verification\"",
"contracts:codegen": "typechain --target ethers-v5 --out-dir src/contracts/types \"src/contracts/abis/**/*.json\"",
"contracts:codegen:check": "npm run contracts:codegen && git diff --exit-code -- src/contracts/types src/contracts/abis",
"release": "semantic-release",
"release:dry-run": "semantic-release --dry-run",
"prebuild": "npm run contracts:codegen",
"pretypecheck": "npm run contracts:codegen",
"ci": "npm run lint && npm run contracts:codegen:check && npx tsc --noEmit && npm run test && npm run contracts:test && npm run contracts:fmt && npm run contracts:clippy",
"prepare": "husky",
"load:test": "k6 run load-tests/run.js",
"e2e:build-ios": "detox build -c ios.sim.release",
"e2e:test-ios": "detox test -c ios.sim.release",
"e2e:test-ios:parallel": "detox test -c ios.sim.release --workers 2",
"e2e:build-android": "detox build -c android.emu.release",
"e2e:test-android": "detox test -c android.emu.release",
"e2e:test-android:parallel": "detox test -c android.emu.release --workers 2",
"e2e:visual:update-ios": "UPDATE_VISUAL_BASELINE=true detox test -c ios.sim.release --testNamePattern \"Subscription Visual Regression\"",
"e2e:visual:update-android": "UPDATE_VISUAL_BASELINE=true detox test -c android.emu.release --testNamePattern \"Subscription Visual Regression\"",
"sdk:generate": "node scripts/generate-sdks.js",
"api:changelog": "node scripts/generate-api-changelog.js",
"api:changelog:preview": "node scripts/generate-api-changelog.js --stdout",
"api:changelog:ci": "node scripts/generate-api-changelog.js --breaking",
"cli": "node bin/subtrackr.js",
"cli:help": "node bin/subtrackr.js --help",
"cli:login": "node bin/subtrackr.js auth login",
"cli:subs": "node bin/subtrackr.js subscriptions list",
"sdk:test:js": "npm --prefix sdks/javascript test",
"sdk:test:python": "PYTHONPATH=sdks/python python3 -m unittest discover sdks/python/tests",
"sdk:test:go": "cd sdks/go && go test ./...",
"bundle-size": "size-limit",
"bundle-size:why": "size-limit --why"
},
"dependencies": {
"@graphql-tools/schema": "^10.1.4",
"@react-native-async-storage/async-storage": "3.1.1",
"@react-native-community/datetimepicker": "^9.2.1",
"@react-native-community/netinfo": "11.4.1",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"@reown/appkit-ethers-react-native": "^2.0.6",
"@shopify/flash-list": "2.3.3",
"@stellar/stellar-sdk": "^17.2.1",
"@subtrackr/notification-providers": "workspace:*",
"@testing-library/react-hooks": "^8.0.1",
"@walletconnect/react-native-compat": "^2.26.0",
"@walletconnect/utils": "^2.26.0",
"ethers": "^5.8.0",
"expo": "~53.0.20",
"expo-application": "~58.1.1",
"expo-clipboard": "~58.0.3",
"expo-dev-client": "~58.0.13",
"expo-haptics": "~58.0.6",
"expo-image": "~58.0.14",
"expo-notifications": "^58.1.3",
"expo-status-bar": "~58.0.3",
"graphql": "^17.0.2",
"graphql-http": "^1.23.0",
"i18next": "^26.4.4",
"react": "19.3.0",
"react-i18next": "^17.0.16",
"react-native": "0.87.1",
"react-native-gesture-handler": "~2.24.0",
"react-native-get-random-values": "~1.11.0",
"react-native-modal": "14.0.0-rc.1",
"react-native-performance": "^7.0.0",
"react-native-qrcode-svg": "^6.3.26",
"react-native-safe-area-context": "5.10.1",
"react-native-screens": "~4.30.0",
"react-native-svg": "15.15.5",
"zod": "^4.6.7",
"zustand": "^5.0.15"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@config-plugins/detox": "^11.0.0",
"@expo/cli": "^58.1.7",
"@react-native-community/cli": "^20.2.0",
"@react-native/jest-preset": "0.87.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^11.0.1",
"@semantic-release/github": "^12.0.10",
"@semantic-release/npm": "^13.2.0",
"@semantic-release/release-notes-generator": "^14.1.0",
"@size-limit/file": "^14.2.0",
"@testing-library/react-native": "^14.1.0",
"@typechain/ethers-v5": "^11.1.2",
"@types/detox": "^18.1.3",
"@types/jest": "^29.5.14",
"@types/react": "~19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"cross-env": "^10.1.0",
"detox": "^20.51.4",
"eslint": "^8.57.0",
"eslint-config-expo": "^58.0.4",
"eslint-plugin-prettier": "^5.5.7",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-circus": "^30.5.2",
"jest-expo": "~53.0.5",
"lint-staged": "^17.6.0",
"prettier": "^3.9.10",
"react-test-renderer": "^19.3.0",
"semantic-release": "^25.0.9",
"size-limit": "^14.2.0",
"ts-jest": "^29.4.14",
"tsx": "^4.23.1",
"typechain": "^8.3.2",
"typescript": "~5.8.3"
},
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/Smartdevs17/SubTrackr.git"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{js,json,md}": [
"prettier --write"
]
},
"packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72",
"engines": {
"node": ">=22.13",
"pnpm": ">=11"
}
}