Skip to content

Commit

Permalink
refactor: setup local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Apr 4, 2024
1 parent df79fbf commit 7875190
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
build
node_modules
cache
.env
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "deno.re",
"scripts": {
"dev": "astro dev",
"dev": "npm run build && node --env-file .env build/index.cjs",
"start": "node build/index.cjs",
"build": "astro build && esbuild registry/index.ts --bundle --format=cjs --loader:.html=text --loader:.svg=text --external:esbuild --platform=node --outfile=build/index.cjs",
"pretest": "node build/index.cjs &",
"test": "node --test",
"posttest": "kill $(lsof -t -i:3000)"
"posttest": "kill $(lsof -t -i:3000)",
"www": "astro dev"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.540.0",
Expand Down

0 comments on commit 7875190

Please sign in to comment.