-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.54 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
{
"name": "fractals",
"private": true,
"version": "0.0.0",
"homepage": "https://alexbr.dev/fractals",
"type": "module",
"scripts": {
"dev": "vite",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist",
"build-lib": "(cd src/libc; emcc --bind lib.c -s USE_SDL=2 -s EXPORTED_FUNCTIONS=_saveImage,_generateRenderFractal,_generateSaveFractal,_initialiseGraphics,_cleanup -s EXPORT_ES6 --emit-tsd ./a.out.d.ts -O3 -sFORCE_FILESYSTEM -s EXPORTED_RUNTIME_METHODS=['FS','JSEvents'] -sALLOW_MEMORY_GROWTH)",
"build-dev-lib": "(cd src/libc; emcc --bind lib.c -s USE_SDL=2 -s EXPORTED_FUNCTIONS=_saveImage,_generateRenderFractal,_generateSaveFractal,_initialiseGraphics,_cleanup -s EXPORT_ES6 --emit-tsd ./a.out.d.ts -g -sFORCE_FILESYSTEM -s EXPORTED_RUNTIME_METHODS=['FS','JSEvents'] -sALLOW_MEMORY_GROWTH)",
"build": "npm run build-lib && tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier . -w --no-semi"
},
"dependencies": {
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"gh-pages": "^6.1.1",
"typescript": "^5.2.2",
"vite": "^5.3.1"
}
}