-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 802 Bytes
/
package.json
File metadata and controls
23 lines (23 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"dependencies": {
"nodemon": "^2.0.22",
"serve": "^14.2.0",
"vite": "^4.2.1",
"vite-plugin-cross-origin-isolation": "^0.1.6",
"vite-plugin-eslint": "^1.8.1"
},
"scripts": {
"predev": "yarn buildwasm",
"dev": "vite",
"prebuild": "yarn buildwasm",
"build": "vite build",
"profile": "emcc -I vendor/eigen-3.4.0 -I vendor/RedSVD/ src/main.cpp --bind -s PTHREAD_POOL_SIZE=25 -pthread -O2 -s ALLOW_MEMORY_GROWTH=1 --profiling && mv a.out* public/ && vite",
"buildwasm": "emcc -I vendor/eigen-3.4.0 -I vendor/RedSVD/ src/main.cpp --bind -s PTHREAD_POOL_SIZE=25 -pthread -O2 -s ALLOW_MEMORY_GROWTH=1 && mv a.out* public/",
"preserve": "yarn build",
"serve": "serve dist/"
},
"type": "module",
"devDependencies": {
"eslint": "^8.38.0"
}
}