Skip to content

Commit

Permalink
Update dev, build, and preview scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
minpeter committed Apr 6, 2024
1 parent 4f67080 commit e1afdd1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "tempfiles-frontend",
"private": true,
"scripts": {
"dev": "chmod +x ./env-creator.sh && ./env-creator.sh && cp env-config.js ./public/ && rm env-config.js && vite",
"build": "tsc && vite build",
"preview": "vite preview",
"checkenv": "chmod +x ./env-creator.sh && ./env-creator.sh && cp env-config.js ./public/ && rm env-config.js",
"dev": "pnpm run checkenv && vite",
"build": "pnpm run checkenv && tsc && vite build",
"preview": "pnpm run checkenv && vite preview",
"format": "prettier --write --cache .",
"lint": "eslint src/**/*.{ts,tsx} --fix"
},
Expand Down

0 comments on commit e1afdd1

Please sign in to comment.