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 ← added
  • npm run start — alias to dev ← changed (was vite --host)
  • npm run build — production build with gltf transform ← added
  • npm run build:dev — vite build without compression ✅ already present
  • npm run build:production — now an alias to build (kept for compatibility)

Changes

  • Added dev script: vite --host
  • Changed start from vite --host to npm run dev
  • Added build script: npm run build:dev && npm run gltf:transform (preserves the gltf transform pipeline)
  • 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`
- Add `build` script (production): `npm run build:dev && npm run gltf:transform`
- Update `build:production` to alias `npm run build`
- Keep `build:dev` and `gltf:transform` 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