-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 8.03 KB
/
Copy pathpackage.json
File metadata and controls
187 lines (187 loc) · 8.03 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
{
"name": "subtrackr",
"version": "1.0.0",
"main": "index.ts",
"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 --runInBand",
"format:check": "prettier --check \"**/*.{ts,tsx,js,json,md}\"",
"typecheck": "tsc --noEmit",
"test": "jest --passWithNoTests",
"test:coverage": "jest --coverage",
"api:start": "npx --yes tsx backend/server/start.ts",
"test:cdn": "jest -c jest.backend.config.js backend/shared/middleware/__tests__/cacheHeaders.test.ts backend/shared/cache/__tests__/ backend/subscription/controller/__tests__/controllers.test.ts backend/subscription/router/__tests__/publicApiRouter.test.ts backend/subscription/store/__tests__/publicDataStore.test.ts",
"performance:ci": "node scripts/check-performance-budget.js",
"performance:benchmark": "node scripts/check-performance-budget.js",
"mutation:test": "npx --yes @stryker-mutator/core@9.0.0 run",
"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:codegen:check": "cd contracts && cargo check --quiet",
"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\"",
"release": "semantic-release",
"release:dry-run": "semantic-release --dry-run",
"prebuild": "husky",
"pretypecheck": "husky",
"ci": "npm run lint && npx tsc --noEmit && npm run test && npm run contracts:test && npm run contracts:fmt && npm run contracts:clippy",
"prepare": "husky",
"postinstall": "node scripts/patch-metro.js",
"load:test": "k6 run load-tests/run.js",
"load:test:subscription": "k6 run load-tests/run.js --env SCENARIO=subscription",
"load:test:billing": "k6 run load-tests/run.js --env SCENARIO=billing",
"load:test:user": "k6 run load-tests/run.js --env SCENARIO=user",
"load:test:contract": "k6 run load-tests/run.js --env SCENARIO=contract",
"server:start": "npx tsx backend/server.ts",
"server:dev": "npx tsx watch backend/server.ts",
"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",
"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",
"bundle-analyze": "EXPO_BUNDLE_ANALYZE=true npx expo export",
"db:migrate:dryrun": "node scripts/db-migrate-dryrun.js",
"db:migrate:lint": "node scripts/db-migration-lint.js",
"db:schema:drift": "node scripts/db-schema-drift.js",
"db:migrate:emc": "node scripts/db-expand-migrate-contract.js",
"db:migrate:up": "echo 'Configure db:migrate:up with your migration runner (e.g. knex, prisma, flyway)'",
"db:migrate:down": "echo 'Configure db:migrate:down with your migration runner'",
"isr:validate": "node scripts/isr-validate.js",
"isr:validate:dry": "node scripts/isr-validate.js --dry-run"
},
"dependencies": {
"@react-native-async-storage/async-storage": "2.1.2",
"@react-native-community/datetimepicker": "^9.1.0",
"@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": "^1.3.0",
"@sentry/react-native": "^5.4.0",
"@shopify/flash-list": "latest",
"@stellar/stellar-sdk": "^12.0.0",
"@superfluid-finance/sdk-core": "^0.9.0",
"@walletconnect/react-native-compat": "^2.23.9",
"@walletconnect/utils": "^2.23.9",
"bcryptjs": "^3.0.3",
"bullmq": "^5.79.1",
"ethers": "^5.8.0",
"expo": "~53.0.20",
"@graphql-tools/schema": "^10.0.31",
"graphql": "^16.13.2",
"graphql-http": "^1.22.4",
"pg": "^8.16.0",
"expo-application": "~6.1.5",
"expo-clipboard": "~7.1.5",
"expo-dev-client": "~5.2.4",
"expo-image": "~2.3.0",
"expo-linking": "~7.1.7",
"expo-notifications": "^0.31.5",
"expo-status-bar": "~2.2.3",
"i18next": "^26.0.8",
"ioredis": "^5.11.1",
"react": "19.2.5",
"react-i18next": "^17.0.6",
"react-native": "0.85.2",
"react-native-gesture-handler": "~2.31.1",
"react-native-get-random-values": "~1.11.0",
"react-native-modal": "14.0.0-rc.1",
"react-native-performance": "^6.0.0",
"react-native-qrcode-svg": "^6.3.21",
"react-native-safe-area-context": "5.7.0",
"react-native-screens": "~4.24.0",
"react-native-svg": "15.15.4",
"express": "^4.21.2",
"zod": "^3.23.8",
"zustand": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@commitlint/cli": "^20.5.2",
"@commitlint/config-conventional": "^20.5.0",
"@config-plugins/detox": "^11.0.0",
"@expo/cli": "^0.24.20",
"@react-native-community/cli": "^20.0.0",
"@react-native/jest-preset": "0.85.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.6",
"@semantic-release/npm": "^12.0.2",
"@semantic-release/release-notes-generator": "^14.1.0",
"@size-limit/file": "^11.1.4",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "13.3.3",
"@typechain/ethers-v5": "^11.1.2",
"@types/detox": "^17.14.3",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/react": "~19.2.14",
"@types/react-dom": "^19.2.3",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-transform-remove-console": "^6.3.0",
"cross-env": "^10.1.0",
"detox": "^20.51.0",
"eslint": "^8.57.0",
"eslint-config-expo": "^7.0.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-circus": "^30.3.0",
"jest-expo": "~53.0.5",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3",
"react-test-renderer": "^19.2.5",
"semantic-release": "^24.2.9",
"size-limit": "^11.1.4",
"supertest": "^7.0.0",
"ts-jest": "^29.4.11",
"tsx": "^4.20.3",
"typechain": "^8.3.2",
"typescript": "~5.8.3"
},
"sideEffects": false,
"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"
]
}
}