Skip to content

fix(NE-6938): align npm scripts — add dev; fix build to use --production#2

Open
kaktus-klaus wants to merge 1 commit intoneedle-engine:mainfrom
kaktus-klaus:feature/NE-6938
Open

fix(NE-6938): align npm scripts — add dev; fix build to use --production#2
kaktus-klaus wants to merge 1 commit intoneedle-engine:mainfrom
kaktus-klaus:feature/NE-6938

Conversation

@kaktus-klaus
Copy link

Summary

Aligns npm scripts with the standard set required by NE-6938:

  • npm run dev — dev server ← added
  • npm run start — alias to dev ← changed (was vite --host)
  • npm run build — production build ← fixed (was missing -- --production)
  • npm run build:dev — dev build without compression ✅ already present
  • npm run build:production — now an alias to build

Changes

  • Added dev script: vite --host
  • Changed start from vite --host to npm run dev
  • Fixed build from vite build to vite build -- --production
  • Updated build:production to npm run build

Linear: NE-6938

🤖 Generated with Claude Code

- Add `dev` script: `vite --host`
- Change `start` to alias `npm run dev`
- Fix `build` to `vite build -- --production` (was missing --production flag)
- Update `build:production` to alias `npm run build`
- Keep `build:dev` unchanged

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant