/
package.json
66 lines (66 loc) 路 2.81 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
{
"name": "root",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"e2e/example",
"examples/*"
],
"nohoist": [
"**/expo",
"**/expo/**"
]
},
"license": "MIT",
"scripts": {
"release": "run-s reinstall build copy-readme lerna-publish",
"test": "lerna run test",
"test:e2e": "cypress run",
"lerna-publish": "npx lerna publish --force-publish -y",
"clean": "npx lerna clean -y && npx lerna run clean && rm -rf node_modules",
"reinstall": "npm run clean && npm install",
"copy-readme": "cp README.md packages/db/README.md",
"build-components": "cd packages/examples-components && npm run build; cd ../../",
"build-db": "cd packages/db && npm run build; cd ../../",
"build-auth-server": "cd packages/auth-server && npm run build",
"build-examples": "run-p build-example:*",
"build-example:basic": "cd examples/example-basic && npm run build",
"build-example-old:editor": "cd old-examples/example-editor && npm run build",
"build-example-old:multi-room": "cd old-examples/example-multi-room && npm run build",
"build-example-old:interop-notes": "cd old-examples/example-interop-notes && npm run build",
"build-example-old:interop-flashcards": "cd old-examples/example-interop-flashcards && npm run build",
"build-example-old:offline-first": "cd old-examples/example-offline-first && npm run build",
"build-shared": "cd packages/shared && npm run build; cd ../../",
"build": "run-s build-shared build-db build-components build-example:*",
"dev": "lerna run dev --parallel",
"dev-e2e": "cypress open",
"ci-build": "rm -rf package-lock.json && npm install @esbuild/linux-x64 && npm run build",
"start-test-server": "cd test-server; docker-compose up -d",
"start-test-rpc-server": "cd test-rpc-server; node server.js",
"run-example-previews": "run-p run-example-preview:*",
"run-example-preview:basic": "cd examples/example-basic; npm run preview",
"run-example-preview-old:editor": "cd old-examples/example-editor; npm run preview",
"run-example-preview-old:multi-room": "cd old-examples/example-multi-room; npm run preview",
"run-example-preview-old:interop-notes": "cd old-examples/example-interop-notes; npm run preview",
"run-example-preview-old:interop-flashcards": "cd old-examples/example-interop-flashcards; npm run preview",
"run-example-preview:offline-first": "cd old-examples/example-offline-first; npm run preview"
},
"devDependencies": {
"@testing-library/cypress": "^9.00",
"cypress": "^12.9.0",
"dotenv": "^16.4.5",
"idb": "^7.1.1",
"lerna": "^8.1.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.0.3",
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"volta": {
"node": "20.11.0"
},
"dependencies": {
"react-native-uuid": "^2.0.2"
}
}