Skip to content

Commit

Permalink
build: renamed and rearranged npm scripts; added dev:docs script
Browse files Browse the repository at this point in the history
  • Loading branch information
tycrek committed Dec 4, 2023
1 parent 5c5d20f commit 8f326d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"node": "^20"
},
"scripts": {
"start": "node dist/backend/app.js",
"dev": "npm run build && npm start",
"fresh": "rm -dr .ass-data/ & npm run dev",
"build": "rm -dr dist/ & npm run build:backend && npm run build:frontend && npm run build:fix-frontend",
"dev:docs": "wrangler pages dev --proxy 5173 -- npm run vp:dev",
"build": "rm -dr dist/ ; npm run build:backend && npm run build:frontend && npm run build:fix-frontend",
"build:backend": "tsc -p backend/",
"build:frontend": "tsc -p frontend/",
"build:fix-frontend": "node common/fix-frontend-js.js",
"start": "node dist/backend/app.js",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
"vp:dev": "vitepress dev docs",
"vp:build": "vitepress build docs",
"vp:preview": "vitepress preview docs"
},
"repository": "github:tycrek/ass",
"keywords": [
Expand Down

0 comments on commit 8f326d5

Please sign in to comment.