README
Create Node App
This starter kit is designed to get you up and running with a bunch of awesome front-end technologies.
The primary goal of this project is to provide a stable foundation upon which to build modern web appliications. Its purpose is not to dictate your project structure or to demonstrate a complete real-world application, but to provide a set of tools intended to make front-end development robust and easy.
- Creating an app - Create a Node app.
Quickstart
$ npx cna-cli my-app # or specify flag `-i` to use interactive menu
$ cd my-app
$ npm start
the generated project will vary in the presence of the following flags:
Flag | What is it for? |
---|---|
-i, --interactive |
use interactive mode to bootstrap your app |
--verbose |
print additional logs. |
--info |
print environment debug info. |
--nodeps |
will no install dependencies on the generated project. |
--use-npm |
will use npm as command. |
--template <template> |
specify template to use for initial setup |
--inplace |
apply setup to an existing project. |
-a <alias> |
will setup webpack alias. app by default. |
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
Creating an app
You’ll need to have Node 12.14.0 or later on your local development machine (but it’s not required on the server). You can use fnm to easily switch Node versions between different projects.
To create a new app, you may choose one of the following methods:
npx
$ npx cna-cli my-app
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
It will create a directory called my-app
inside the current folder.
Contributors
Made with contributors-img.