sufian-backend-statar
v1.0.3
Published
Create a ready-to-use TypeScript backend starter by command.
Downloads
20
Maintainers
Readme
sufian-backend-statar
CLI tool to generate this backend starter in any machine with latest dependency versions.
1) Test locally before publish
npm run create:local my-backend-app -- --no-install2) Publish to npm
npm login
npm publish --access publicIf package name is already taken, change the name in package.json and publish again.
3) Use from any PC
Recommended (this is your requested command):
npx sufian-backend-statar my-backend-appOr install globally:
npm install -g sufian-backend-statar
sbs my-backend-appThen:
cd my-backend-app
npm run devLatest dependency behavior
By default, after project generation the CLI automatically runs install commands with @latest for all dependencies and devDependencies.
If you only want scaffold files without auto install:
npx sufian-backend-statar my-backend-app --no-installImportant note
npm run ... works only inside a project that already has that script in its package.json.
For global project generation, use npx sufian-backend-statar <project-name> or sbs <project-name> after global install.
