-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
81 lines (81 loc) · 3.69 KB
/
package.json
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
{
"name": "@deep-foundation/sdk",
"version": "0.0.0-dev.13",
"description": "",
"license": "Unlicense",
"main": "./bin/server.js",
"bin": {
"deep-sdk": "./bin/server.js"
},
"scripts": {
"package:refresh": "rm -rf node_modules; rm -f package-lock.json; npm i --workspaces false",
"build-pack": "(cd electron && npm run electron:pack)",
"build-core": "(cross-env npm_config_yes=true npm run build-electron)",
"build-windows": "(cross-env MIGRATIONS_DIR=.migrate npm run build-core) && npm run build-pack",
"build-unix": "(cross-env MIGRATIONS_DIR=/tmp/.migrate npm run build-core) && npm run build-pack",
"build-mac": "APPLEIDPASS=$(security find-generic-password -w -a [email protected]) [email protected] CSC_NAME='Deep Foundation (XXXXXXXXXX)' npm run build-unix",
"open-android": "npx cap open android",
"build-chrome-extension": "run-script-os",
"build-chrome-extension:linux": "npm run export && mv ./app/_next ./app/next && cd ./app && grep -rl '/_next' * | xargs sed -i 's|/_next|/next|g' && cd ../ && rsync -va --delete-after app/next/ extension/next/ && cp app/*.html extension && rimraf app",
"build-chrome-extension:darwin": "npm run export && cp -r app/* extension && mv -i extension/_next extension/next && find ./extension -type f \\( -name \"*.js\" -o -name \"*.html\" -o -name \"*.json\" \\) -exec sed -i '' 's/_next/next/g' {} + && rimraf extension.pem && /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --pack-extension=./extension",
"build-android": "rimraf app && npm run export && npx cap sync android",
"build-electron": "npm run export && npx rimraf electron/app && npx cap copy electron",
"dev-electron": "npm run export && npx rimraf electron/app && npx cap copy electron && npx cap open electron",
"add-android": "npm run export && rimraf ./android && npx cap add android",
"install-next-electron": "npm ci && cd electron && npm ci && cd ..",
"export": "(cross-env NEXT_PUBLIC_EXPORT=1 NEXT_PUBLIC_I18N_DISABLE=1 next build)",
"build": "rimraf app && next build",
"start": "next start",
"dev": "next dev",
"run-ios": "npx cap run ios",
"open-ios": "npx cap open ios",
"build-ios": "rimraf app && npm run export && npx cap sync ios",
"sync-versions": "node ./sync-version.js && git add . ./electron/package.json"
},
"pre-commit": [
"sync-versions"
],
"dependencies": {
"@capacitor-community/electron": "^5.0.1",
"@capacitor/android": "^5.7.4",
"@capacitor/cli": "^5.7.4",
"@capacitor/core": "^5.7.4",
"@capacitor/ios": "^5.7.4",
"@chakra-ui/react": "^2.5.5",
"@deep-foundation/deepcase": "^0.0.110",
"@deep-foundation/deeplinks": "~0.0.312",
"@deep-foundation/react-with-packages-installed": "^0.5.3",
"@deep-foundation/store": "~0.0.28",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@types/debug": "^4.1.9",
"@types/node": "^20.12.7",
"@types/react": "^18.0.33",
"@types/serviceworker": "^0.0.62",
"axios": "^1.6.8",
"buffer": "^6.0.3",
"case-anything": "^2.1.13",
"dotenv": "^16.0.3",
"dotenv-load": "^2.0.1",
"events": "^3.3.0",
"firebase": "^9.19.1",
"framer-motion": "^6.5.1",
"i18next": "^23.11.1",
"jest": "^29.5.0",
"next": "^14.2.2",
"next-env": "^1.1.1",
"next-i18next": "^15.2.0",
"next-pwa": "^5.6.0",
"next-transpile-modules": "^10.0.0",
"pre-commit": "^1.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-focus-lock": "^2.12.1",
"react-i18next": "^14.1.0",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6",
"ts-node": "^10.9.1",
"typescript": "5.0.4",
"typescript-json-schema": "^0.56.0"
}
}