mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-05 20:46:43 +00:00
added start message for dev server
This commit is contained in:
parent
cf21dde102
commit
539389e2e8
@ -8,7 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "npm run build && wrangler pages deploy",
|
"deploy": "npm run build && wrangler pages deploy",
|
||||||
"build": "remix vite:build",
|
"build": "remix vite:build",
|
||||||
"dev": "remix vite:dev",
|
"dev": "node pre-start.cjs; remix vite:dev",
|
||||||
"test": "vitest --run",
|
"test": "vitest --run",
|
||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
||||||
|
10
pre-start.cjs
Normal file
10
pre-start.cjs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
const { commit } = require('./app/commit.json');
|
||||||
|
|
||||||
|
console.log(`
|
||||||
|
★═══════════════════════════════════════★
|
||||||
|
B O L T . D I Y
|
||||||
|
⚡️ Welcome ⚡️
|
||||||
|
★═══════════════════════════════════════★
|
||||||
|
`);
|
||||||
|
console.log('📍 Current Commit Version:', commit);
|
||||||
|
console.log('★═══════════════════════════════════════★');
|
Loading…
Reference in New Issue
Block a user