https://github.com/YerkoPalma/choo-starter
:bowtie: choo starter template
https://github.com/YerkoPalma/choo-starter
Last synced: 3 months ago
JSON representation
:bowtie: choo starter template
- Host: GitHub
- URL: https://github.com/YerkoPalma/choo-starter
- Owner: YerkoPalma
- Created: 2016-08-08T17:34:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T20:05:12.000Z (almost 9 years ago)
- Last Synced: 2024-10-14T16:27:59.578Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <%= projectName %> [](https://github.com/yoshuawuyts/choo)
You can use choo-cli to generate pieces of your project as you are developing.
For example you can generatePages
```bash
$ choo generate page my-page
```Models
```bash
$ choo generate model my-model
```Elements
```bash
$ choo generate element my-element
```## npm scripts
Choo-cli was made for generating choo projects and code, and leverages npm scripts
for certain project task. So in our project a set of npm scripts have already
been generated that perform various tasks such as testing/serving/building/etc.At any time you can review the complete list of `npm scripts` available by viewing
[package.json](./package.json) or by running the following command:```
$ npm run
```Here is complete list the the commands and their function
- start - start dev server at [localhost:8080](https://localhost:8080)
- build - builds your project to deploy to a server
- test - runs unit tests, for now it will just run linting.
- lint - runs eslint against your codeSo for example you can run `npm start` to start a dev server. You can now see your
app running at [localhost:8080](https://localhost:8080)