install-express
v1.0.5
Published
CLI untuk generate project express typescript pitok
Maintainers
Readme
npm-express-template
CLI generator untuk membuat project Express TypeScript.
Usage:
Generate project and ask for options interactively:
npx install-express create my-app
Generate project and include Docker artifacts:
npx install-express create my-app --include-docker
Generate project and exclude Docker artifacts (delete Dockerfile / docker-compose):
npx install-express create my-app --exclude-docker
Create into current directory:
npx install-express create .
When --exclude-docker (or the interactive prompt answers No), the CLI removes these files/directories if present in the template:
- Dockerfile
- docker-compose.yml
- .dockerignore
- docker/ directory
The CLI will also update package.json name field and install dependencies.
Publish to npm (public)
- Build and verify the package contents:
npm run build
npm pack --dry-run- Login to npm (if not already):
npm login- Bump the version if needed (patch/minor/major), then publish:
npm version patch # or minor/major
npm publish # will use prepared build/distributionIf the package name is already taken on npm, consider changing name in package.json to something unique or use a scoped name like @pitok/install-express.
