Skip to content

fix(NE-6938): align npm scripts — add dev, build; fix start alias#1

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, build; fix start alias#1
kaktus-klaus wants to merge 1 commit intoneedle-engine:mainfrom
kaktus-klaus:feature/NE-6938

Conversation

@kaktus-klaus
Copy link
Copy Markdown

Summary

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

  • npm run dev — dev server (vite --host)
  • npm run start — alias to dev
  • npm run build — production build (vite build -- --production)
  • npm run build:dev — dev build without compression (vite build)
  • npm run build:production — now an alias to build (kept for compatibility)

Changes

  • Added dev script
  • Changed start to npm run dev
  • Added build script with -- --production flag

Test plan

  • npm run dev starts the dev server
  • npm run build produces a production build
  • npm run build:dev produces a build without compression
  • Tests pass in needle-engine/create-needle

Linear: NE-6938

🤖 Generated with Claude Code

- Add `dev` script: `vite --host`
- Change `start` to alias `npm run dev`
- Add `build` script: `vite build -- --production` (production build)
- 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