-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.47 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.47 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
{
"name": "webspatial-sdk",
"private": true,
"version": "1.0.0",
"description": "",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"buildPackages": "pnpm -r --filter \"@webspatial/*\" run build",
"setup": "pnpm install && npm run buildPackages",
"watchNPM": "concurrently \"cd packages/core/ && npm run start\" \"cd packages/react/ && npm run start\"",
"testServer": "cd apps/test-server/ && npm run dev -- --host",
"dev": "npm run testServer",
"xcode": "open packages/visionOS/web-spatial.xcodeproj",
"androidStudio": "open -a /Applications/Android\\ Studio.app packages/androidXR",
"adbDevPorts": "adb reverse tcp:35729 tcp:35729 && adb reverse tcp:5173 tcp:5173",
"test": "concurrently \"pnpm -r --filter '@webspatial/*' run test\" \"tsc -p apps/test-server/tsconfig.json\"",
"ciTest": "cd tests/ci-test/ && pnpm run test",
"format": "pnpm -r run format",
"ci:publish": "changeset publish",
"changeset": "changeset",
"changeset:pre-enter": "changeset pre enter alpha",
"changeset:pre-exit": "changeset pre exit alpha",
"generateStaticSite": "./tools/scripts/generateWebsite.sh"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --write"
],
"*.swift": [
"swiftformat"
],
"*": [
"node ./tools/scripts/check-filesize.js",
"node ./tools/scripts/check-valid-characters.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/webspatial/webspatial-sdk.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/webspatial/webspatial-sdk/issues"
},
"homepage": "https://github.com/webspatial/webspatial-sdk#readme",
"devDependencies": {
"@changesets/cli": "^2.29.2",
"@vitest/coverage-v8": "^3.0.9",
"concurrently": "^8.2.2",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.3",
"vitest": "^3.0.9"
},
"packageManager": "pnpm@9.0.0",
"pnpm": {
"overrides": {
"react@>=0.0.1 <0.14.0": ">=0.14.0",
"cli@<1.0.0": ">=1.0.0",
"esbuild@<=0.24.2": ">=0.25.0",
"prismjs@<1.30.0": ">=1.30.0",
"@babel/runtime@<7.26.10": ">=7.26.10",
"@babel/helpers@<7.26.10": ">=7.26.10",
"vite@>=6.2.0 <6.2.3": ">=6.2.3",
"vite@>=6.2.0 <6.2.4": ">=6.2.4"
}
}
}