-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 5.72 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
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
{
"name": "@deep-foundation/perception-app",
"version": "0.0.109",
"description": "",
"license": "Unlicense",
"main": "./bin/server.js",
"bin": {
"perception-app": "./bin/server.js"
},
"scripts": {
"build-pack": "(cd electron && npm run electron:pack)",
"build-core": "(cross-env npm_config_yes=true npm run build-electron)",
"build-windows": "(cross-env NEXT_PUBLIC_BUILD=\"windows\" MIGRATIONS_DIR=.migrate npm run build-core) && npm run build-pack",
"build-unix": "(cross-env NEXT_PUBLIC_BUILD=\"unix\" MIGRATIONS_DIR=/tmp/.migrate npm run build-core) && npm run build-pack",
"build-mac": "NEXT_PUBLIC_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": "cross-env NEXT_PUBLIC_BUILD=\"chrome-extension\" 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": "cross-env NEXT_PUBLIC_BUILD=\"chrome-extension\" 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 && cross-env NEXT_PUBLIC_BUILD=\"android\" 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",
"sync": "(cd ./perception-imports; npm run app:sync); (cd ./deeplinks; npm run package:build; rsync -a ./imports ../node_modules/@deep-foundation/deeplinks/; cp ./import.js ../node_modules/@deep-foundation/deeplinks/import.js; npm run package:unbuild);",
"dev-core": "(rm -rf ./app); npm run sync; next dev",
"dev": "npm run dev-core",
"run-ios": "npx cap run ios",
"open-ios": "npx cap open ios",
"build-ios": "npm version prerelease --no-git-tag-version --no-commit-hook && rimraf app && NEXT_PUBLIC_BUILD=\"ios\" npm run export && npx cap sync ios",
"preload": "node ./preloader.mjs",
"sync-versions": "node ./sync-version.js && git add . ./electron/package.json",
"analizer": "webpack-bundle-analyzer ./webpack-stats.json"
},
"pre-commit": [
"sync-versions"
],
"dependencies": {
"@chakra-ui/theme-tools": "^2.1.2",
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@deep-foundation/perception-imports": "^0.0.140",
"@deep-foundation/store": "^0.0.32",
"@helia/unixfs": "^4.0.0",
"@next/bundle-analyzer": "^14.2.13",
"@openrouter/ai-sdk-provider": "^0.0.5",
"@react-hook/debounce": "^4.0.0",
"@uiw/codemirror-extensions-color": "^4.23.0",
"@vercel/sdk": "^14.0.0-canary.3",
"aframe": "^1.6.0",
"aframe-react": "^4.4.0",
"ai": "^3.4.18",
"base64-blob": "^1.4.1",
"capacitor-voice-recorder": "^5.0.0",
"chance": "^1.1.12",
"cytoscape": "^3.30.1",
"cytoscape-cola": "^2.5.1",
"cytoscape-d3-force": "^1.1.4",
"cytoscape-dagre": "^2.5.0",
"cytoscape-deep-d3-force": "^1.3.0",
"cytoscape-edge-connections": "^0.5.0",
"cytoscape-edgehandles": "^4.0.1",
"cytoscape-fcose": "^2.2.0",
"cytoscape-lasso": "^1.1.4",
"cytoscape-node-html-label": "^1.2.2",
"cytoscape-tidytree": "^0.1.1",
"dotenv-load": "^2.0.1",
"graphcool-styles": "^0.2.10",
"graphql-playground-react": "^1.7.28",
"helia": "^5.1.0",
"match-sorter": "^6.3.4",
"next": "^14.2.2",
"next-compose-plugins": "^2.2.1",
"next-env": "^1.1.1",
"next-i18next": "^15.2.0",
"next-pwa": "^5.6.0",
"open-chakra": "github:premieroctet/openchakra",
"pre-commit": "^1.2.2",
"react": "^18.3.1",
"react-cytoscapejs": "^2.0.0",
"react-dom": "^18.3.1",
"react-focus-lock": "^2.12.1",
"react-infinite-scroller": "^1.2.6",
"react-visibility-sensor": "^5.1.1",
"redux": "^4.2.1",
"slate-history": "^0.109.0",
"typescript": "^5.4.5",
"use-async-memo": "^1.2.5",
"webpack-stats-plugin": "^1.1.3",
"ws": "^8.18.0"
},
"devDependencies": {
"@capacitor-community/electron": "^5.0.1",
"@capacitor/android": "^5.7.5",
"@capacitor/cli": "^5.7.5",
"@capacitor/core": "^5.7.5",
"@capacitor/ios": "^5.7.5",
"@chakra-ui/react": "^2.8.2",
"@deep-foundation/react-with-packages-installed": "^0.5.3",
"@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",
"events": "^3.3.0",
"firebase": "^9.19.1",
"framer-motion": "^6.5.1",
"jest": "^29.5.0",
"next-transpile-modules": "^10.0.1",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6",
"ts-node": "^10.9.1",
"typescript-json-schema": "^0.56.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
}
}