Blog posts with 'draft: true' in the frontmatter are excluded from the production artifact --no-cache docker builds ensure fresh database build each time. Caching isn't needed do to small size anyway
22 lines
561 B
JSON
22 lines
561 B
JSON
{
|
|
"name": "portfolio",
|
|
"version": "1.0.50",
|
|
"scripts": {
|
|
"dev": "bun run --watch ./index.tsx",
|
|
"build": "bun run docker:build",
|
|
"docker:build": "docker build --no-cache -t blog:latest .",
|
|
"docker:run": "docker run -d -p 3000:3000 --name blog blog:latest",
|
|
"docker:stop": "docker stop blog && docker rm blog"
|
|
},
|
|
"dependencies": {
|
|
"gray-matter": "^4.0.3",
|
|
"marked": "^16.4.1",
|
|
"react-dom": "19.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.0",
|
|
"@types/react-dom": "^19.2.3"
|
|
},
|
|
"module": "src/index.js"
|
|
}
|