1.1.0 • Published 8 years ago
urbanjs-tools-cli v1.1.0
urbanjs-tools-cli
Prerequisite
Install urbanjs-tools-cli globally:
npm install -g urbanjs-tools-cli
urbanjs --helpProject template generation
It can be useful to generate a project template by urbanjs when you start a new project. You can use the generate command for this purpose :
urbanjs generate -n project-nameThis command creates the project template under the project-name folder.
Use --help option to get more information about the command.
Generated files & folders
- .editorconfig
- sets default editor settings with regard to code style checkers (eslint & jscs)
- .gitattributes
- handles line endings based on github recommendations
- .gitignore
- sets paths to ignore from the repository based on the defaults settings of the gulp tasks
- .npmignore
- sets paths to ignore from published package based on the defaults settings of the gulp tasks
- gulpfile.json
- enables default gulp tasks
- package.json
- defines scripts for development phases (
pre-commit,pre-release,start,test) - registers necessary production and development dependencies
- defines scripts for development phases (
- README.md
- placeholder for documentation
- /src
- folder for source code including test files
- /docs
- folder for jsdoc documentation files (style & template is configurable within the
__fixtures__folder)
- folder for jsdoc documentation files (style & template is configurable within the
Runtime files & folders
- /coverage
Used by
mochato store code coverage data by default, excluded from the repository and from the published package - /help
Used by
jsdocto store the generated documentation, excluded from the repository by defaults - /dist
Used by
babelandwebpackto store the generated output