This repository has been archived by the owner on Feb 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.63 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
126
127
128
129
130
131
132
133
134
{
"name": "brayns-circuit-studio",
"version": "0.51.0",
"private": false,
"homepage": "./",
"sideEffects": [
"*.css"
],
"dependencies": {
"@math.gl/core": "^4.1.0",
"@tolokoban/react-state": "^0.3.2",
"@tolokoban/tgd": "^2.0.16",
"@tolokoban/type-guards": "^0.7.2",
"@tolokoban/ui": "^0.20.3",
"@types/crypto-js": "^4.2.2",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.5",
"hammerjs": "^2.0.8",
"jso-2": "^1.0.0",
"json5": "^2.2.3",
"markdown-to-jsx": "^7.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"three": "^0.170.0"
},
"scripts": {
"routes": "build-react-routes ./src/app",
"build": "webpack --mode=production",
"deploy": ". ./script/dev-deploy.sh",
"deploy:backend": "cp -rfv ./fake-backend/src/* /gpfs/bbp.cscs.ch/home/petitjea/circuit-studio-backend/server",
"deploy:sandbox": ". ./script/sandbox-deploy.sh",
"docs": "rm -rf docs/source/en && node script/docs/index.js && cd docs && make html",
"format": "npx prettier --write src/",
"lint": "eslint -c .eslintrc.yml 'src/**/*.ts' 'src/**/*.tsx'",
"start": "webpack serve --mode=development",
"test": "jest --silent --testTimeout 10000 --runInBand --detectOpenHandles --forceExit",
"test:watch": "jest --watch"
},
"devDependencies": {
"@babel/preset-typescript": "^7.26.0",
"@types/hammerjs": "^2.0.46",
"@types/jest": "^29.5.14",
"@types/math3d": "^0.2.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-test-renderer": "^18.3.0",
"@types/three": "^0.170.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"build-react-routes": "^0.10.5",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.11.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-unicorn": "^55.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"htmlparser2": "^9.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-websocket-mock": "^2.5.0",
"mini-css-extract-plugin": "^2.9.1",
"mock-socket": "^9.3.1",
"prettier": "3.3.3",
"raw-loader": "^4.0.2",
"react-test-renderer": "^18.3.1",
"style-loader": "^3.3.4",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"url-loader": "^4.1.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-manifest-plugin": "^5.0.0",
"webpack-shell-plugin-next": "^2.3.2",
"yaml-loader": "^0.8.1"
},
"jest": {
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"tsx",
"ts",
"js",
"jsx",
"wasm"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.(test|spec).(ts|tsx)"
],
"globals": {
"ENV_VARIABLES": {}
},
"moduleNameMapper": {
"^@/constants$": "<rootDir>/src/constants.ts",
"^@/contract/(.*)$": "<rootDir>/src/contract/$1",
"^@/mock/(.*)$": "<rootDir>/src/mock/$1",
"^@/tool/(.*)$": "<rootDir>/src/tool/$1",
"^@/ui/(.*)$": "<rootDir>/src/ui/$1",
"^@/view/(.*)$": "<rootDir>/src/view/$1",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/mocks.js",
"\\.(css|less)$": "<rootDir>/__mocks__/mocks.js",
"\\.(py|sh|txt|bin)$": "<rootDir>/__mocks__/mocks.js"
},
"verbose": true,
"collectCoverage": true,
"coverageReporters": [
"lcov"
],
"coverageDirectory": "test-coverage",
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
}
}