nuke-cli
v1.1.1
Published
A CLI focused on powering the start of your web project.
Downloads
34
Maintainers
Readme
nuke-cli
A CLI focused on powering the start of your web project.
Have a look at the original boilerplate.
Features:
In this version you'll be able to create a React project from zero
- React powered by TypeScript
- webpack as the module bundler
- unit tests run by Jest and React Testing Library
- local code lintintg by Prettier
- Docker settings
- React component template generator (.tsx, .sass, .test.tsx)
Coming up...
- CI by Github actions
- generate a Node based API from zero
Instructions:
Install the package by:
npm install -g nuke-cli
Starting a project:
nuke start:ts <INSERT_PROJECT_NAME>
> nuke start:ts fun-project
> Project fun-project has been created! Have fun.
Generating a React component:
nuke component:ts <INSERT_COMPONENT_NAME>
> nuke component:ts fun-button
> Component fun-button folder has been created.
Misc:
Folder structure inside the project folder:
/build
-- index.html
/src
-- App.sass
-- App.tsx
-- index.tsx
.babelrc
.dockerignore
.gitignore
.prettierignore
.prettierrc
docker-compose.yml
Dockerfile
jest.config.json
package.json
README.md
tsconfig.json
webpack.config.json
Engineered by Gluegun.