https://github.com/apsavin/generator-bnsf
Yeoman generator for bnsf
https://github.com/apsavin/generator-bnsf
Last synced: 11 months ago
JSON representation
Yeoman generator for bnsf
- Host: GitHub
- URL: https://github.com/apsavin/generator-bnsf
- Owner: apsavin
- License: mit
- Created: 2014-12-29T19:37:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-09T11:13:58.000Z (over 10 years ago)
- Last Synced: 2025-07-06T01:04:55.842Z (12 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# generator-bnsf [](https://travis-ci.org/apsavin/generator-bnsf)
> [Yeoman](http://yeoman.io) generator for [bnsf](https://github.com/apsavin/bnsf)
## Getting Started
To instal yo from npm, run:
```bash
npm install -g yo
```
To install generator-bnsf from npm, run:
```bash
npm install -g generator-bnsf
```
###To generate new bnsf project, run:
```bash
yo bnsf project-name && cd project-name
```
###To generate new bnsf page, run:
From the project root directory
```bash
yo bnsf:page NAME
```
where is `NAME` is your page name without the `page-` prefix, for example:
```bash
yo bnsf:page index
```
will generate `page-index`
###To generate new bnsf page browser.js file, run:
From the project root directory
```bash
yo bnsf:pagebrowserjs NAME
```
where is `NAME` is your page name without the `page-` prefix, for example:
```bash
yo bnsf:pagebrowserjs index
```
will generate `page-index.browser.js`
## License
MIT