-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.14 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
{
"name": "stargate-web-client-example",
"version": "0.1.0",
"private": true,
"type": "module",
"homepage": "./",
"dependencies": {
"@shapediver/sdk.geometry-api-sdk-v2": "^2.9.1",
"@shapediver/sdk.platform-api-sdk-v1": "^2.28.7",
"@shapediver/sdk.stargate-sdk-v1": "^1.6.1",
"@shapediver/viewer.utils.mime-type": "^1.1.0",
"globals": "^16.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "6.26.2",
"react-scripts": "5.0.1"
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"optimize": "tsc && vite optimize --force",
"preview": "vite preview",
"deploy-test": "./deploy-test.sh stargate/v1/main",
"eslint": "eslint .",
"prettier": "prettier --write ./src/ ./*.ts ./eslint.config.mjs ./vite.config.ts ./tsconfig.json ./package.json",
"test": "jest"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.19",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^8.25.0",
"@typescript-eslint/parser": "^8.25.0",
"@vitejs/plugin-react": "^4.3.4",
"eslint-config-prettier": "^10.0.2",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"jest": "^29.7.0",
"prettier": "^3.5.2",
"prettier-plugin-organize-imports": "^4.1.0",
"ts-jest": "^29.2.6",
"typescript": "^5.7.3",
"vite": "^6.2.0",
"vite-bundle-analyzer": "^0.18.1",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4"
},
"lint-staged": {
"*.{js,json,yml,yaml,css,scss,ts,tsx,md}": [
"prettier --write"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/*.(test|spec).(ts|tsx)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}