-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.13 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.13 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
{
"type": "module",
"scripts": {
"build": "npm run typecheck && npm run build-js && npm run build-css && npm run copy-files",
"build-js": "for source in App.tsx; do esbuild --bundle --format=esm src/$source --outdir=dist; done",
"build-css": "npx @tailwindcss/cli -i ./pages/style.css -o ./dist/style.css",
"copy-files": "cp pages/index.html pages/favicon.ico pages/favicon.svg dist",
"clean": "rm -rf dist",
"typecheck": "tsc --jsx react",
"watch": "nodemon --watch 'pages/**/*' --watch 'src/**/*' --ext 'html,css,ts,tsx' --exec 'npm run build'",
"format": "prettier --write 'src/**/*.{ts,tsx}' 'pages/**/*.{html,css}'"
},
"dependencies": {
"@tailwindcss/cli": "^4.1.11",
"@types/markdown-it": "^14.1.2",
"@types/mermaid": "^9.1.0",
"markdown-it": "^14.1.0",
"mermaid": "^11.9.0",
"react": "^19.1.0",
"react-dom": "^19.1.1",
"tailwindcss": "^4.1.11",
"type-fest": "^4.41.0",
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"esbuild": "0.25.5",
"nodemon": "3.1.10",
"prettier": "3.6.2"
}
}