-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 6.92 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 6.92 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
{
"name": "gossip",
"private": true,
"version": "0.0.16",
"type": "module",
"workspaces": [
"gossip-sdk"
],
"scripts": {
"setup": "bash scripts/setup-dev.sh",
"dev": "vite",
"dev:host": "vite --host",
"build:sdk": "cd gossip-sdk && npm run build",
"build": "npm run audit:logging && npm run build:sdk && tsc -b && vite build && npm run strip:logging:sw && npm run audit:logging:dist",
"test": "vitest --silent='passed-only'",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:browser": "vitest --project=browser",
"test:browser:run": "vitest run --project=browser",
"test:jsdom": "vitest --project=jsdom",
"test:node": "vitest --project=node",
"test:unit": "vitest --project=unit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"audit:logging": "node scripts/audit-logging.mjs source",
"audit:logging:dist": "node scripts/audit-logging.mjs dist",
"strip:logging:sw": "node scripts/strip-service-worker-console.mjs",
"fmt": "prettier --write . && eslint . --fix",
"fmt:check": "prettier --check . && eslint .",
"preview": "vite preview",
"preview:host": "vite preview --host",
"postinstall": "patch-package",
"prepare": "husky",
"wasm:build": "npm run wasm:build:main && npm run wasm:build:secure-storage",
"wasm:build:main": "wasm-pack build --out-dir ../../gossip-sdk/src/assets/generated/wasm --target web wasm/main && rm -f gossip-sdk/src/assets/generated/wasm/.gitignore",
"wasm:build:secure-storage": "RUSTUP_TOOLCHAIN=nightly wasm-pack build --out-dir ../../gossip-sdk/src/assets/generated/wasm-secureStorage --out-name secureStorage --target web wasm/secure-storage --features wasm && rm -f gossip-sdk/src/assets/generated/wasm-secureStorage/.gitignore gossip-sdk/src/assets/generated/wasm-secureStorage/package.json && printf 'export * from \"./secureStorage.js\";\\nexport { default } from \"./secureStorage.js\";\\n' > gossip-sdk/src/assets/generated/wasm-secureStorage/index.js",
"wasm:check:secure-storage": "cd wasm/secure-storage && cargo +nightly check --target wasm32-unknown-unknown --features wasm",
"native:build:ios": "bash scripts/build-native-ios.sh --release",
"native:build:ios:debug": "bash scripts/build-native-ios.sh --debug",
"native:build:android": "bash scripts/build-native-android.sh --release",
"native:build:android:debug": "bash scripts/build-native-android.sh --debug",
"build:all": "bash scripts/build-all.sh",
"wasm:test": "cargo test --workspace --manifest-path wasm/Cargo.toml --all-targets --verbose",
"wasm:clean": "rm -rf gossip-sdk/src/assets/generated/wasm gossip-sdk/src/assets/generated/wasm-secureStorage",
"cap:sync": "cap sync",
"cap:sync:ios": "cap sync ios",
"cap:sync:android": "cap sync android",
"cap:open:ios": "cap open ios",
"cap:open:android": "cap open android",
"cap:build:ios": "npm run build && cap sync ios",
"cap:build:android": "npm run build && cap sync android",
"cap:list:ios": "cap run ios --list",
"cap:run:ios": "npm run build && cap sync ios && cap run ios",
"cap:run:ios:device": "scripts/run-ios-device.sh",
"cap:dev:ios": "scripts/dev-ios.sh",
"cap:dev:android": "scripts/dev-android.sh",
"cap:dev:all": "scripts/dev-all.sh",
"cap:dev:scan": "scripts/dev-scan.sh",
"cap:run:android": "npm run build && cap sync android && cap run android",
"cap:run:all": "npm run build && cap sync ios && cap sync android && cap run ios && cap run android",
"cap:copy": "cap copy",
"cap:copy:ios": "cap copy ios",
"cap:copy:android": "cap copy android",
"build:apk": "cd android && bundle exec fastlane build_debug",
"release": "node scripts/release.mjs"
},
"dependencies": {
"@aparajita/capacitor-biometric-auth": "^9.1.2",
"@aparajita/capacitor-secure-storage": "^7.1.6",
"@capacitor-community/privacy-screen": "^6.0.0",
"@capacitor/android": "^8.0.0",
"@capacitor/app": "^8.0.0",
"@capacitor/background-runner": "^3.0.0",
"@capacitor/barcode-scanner": "^3.0.0",
"@capacitor/core": "^8.0.0",
"@capacitor/device": "^8.0.0",
"@capacitor/filesystem": "^8.0.0",
"@capacitor/ios": "^8.0.0",
"@capacitor/keyboard": "^8.0.0",
"@capacitor/local-notifications": "^8.0.0",
"@capacitor/network": "^8.0.0",
"@capacitor/preferences": "^8.0.0",
"@capacitor/share": "^8.0.0",
"@capacitor/status-bar": "^8.0.0",
"@massalabs/gossip-sdk": "workspace:*",
"@massalabs/massa-web3": "^5.3.1-dev.20250925215116",
"@noble/hashes": "^1.8.0",
"@scure/base": "^2.0.0",
"@scure/bip32": "^2.0.0",
"@scure/bip39": "^2.0.0",
"@tailwindcss/vite": "^4.1.13",
"@yudiel/react-qr-scanner": "^2.4.1",
"buffer": "^6.0.3",
"capacitor-plugin-safe-area": "^5.0.0",
"crypto-js": "^4.2.0",
"currency.js": "^2.0.4-8d9f8632",
"emoji-picker-react": "^4.18.0",
"i18next": "^25.8.18",
"i18next-browser-languagedetector": "^8.2.1",
"js-yaml": "^4.1.1",
"pbkdf2": "^3.1.5",
"qr-code-styling": "^1.9.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-feather": "^2.0.10",
"react-hot-toast": "^2.6.0",
"react-i18next": "^16.5.8",
"react-router-dom": "^7.9.6",
"varint": "^6.0.0",
"virtua": "^0.48.8",
"zustand": "^5.0.8"
},
"devDependencies": {
"@capacitor/cli": "^8.0.0",
"@eslint/js": "^9.18.0",
"@types/crypto-js": "^4.2.2",
"@types/js-yaml": "^4.0.9",
"@types/jsdom": "^27.0.0",
"@types/node": "^24.10.1",
"@types/pbkdf2": "^3.1.2",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/varint": "^6.0.3",
"@vite-pwa/assets-generator": "^0.2.6",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/browser": "^4.0.14",
"@vitest/browser-playwright": "^4.0.14",
"@vitest/coverage-v8": "^4.0.16",
"@vitest/ui": "^4.0.14",
"autoprefixer": "^10.4.21",
"eslint": "^9.18.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.18",
"fake-indexeddb": "^6.2.5",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^27.0.1",
"knip": "^5.81.0",
"lint-staged": "^16.2.1",
"patch-package": "^8.0.1",
"playwright": "^1.57.0",
"prettier": "^3.6.2",
"tailwindcss": "^4.1.13",
"typescript": "^5.9.3",
"typescript-eslint": "^8.20.0",
"vite": "^6.0.11",
"vite-plugin-cross-origin-isolation": "^0.1.6",
"vite-plugin-image-optimizer": "^2.0.2",
"vite-plugin-mkcert": "^1.17.9",
"vite-plugin-node-polyfills": "^0.24.0",
"vite-plugin-pwa": "^0.21.1",
"vitest": "^4.0.14",
"vitest-browser-react": "^2.0.2",
"wasm-pack": "^0.13.1",
"workbox-core": "^7.4.0",
"workbox-precaching": "^7.4.0",
"workbox-routing": "^7.4.0",
"workbox-strategies": "^7.4.0",
"workbox-window": "^7.4.0"
},
"overrides": {
"sharp": "0.32.6",
"sharp-ico": "0.1.5"
}
}