urbanjs-tools-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

urbanjs-tools-cli

Prerequisite

Install urbanjs-tools-cli globally:

npm install -g urbanjs-tools-cli
urbanjs --help

Project 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-name

This 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
  • .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
  • 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)

Runtime files & folders

  • /coverage Used by mocha to store code coverage data by default, excluded from the repository and from the published package
  • /help Used by jsdoc to store the generated documentation, excluded from the repository by defaults
  • /dist Used by babel and webpack to store the generated output

Package Sidebar

Install

npm i urbanjs-tools-cli

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • tamasmagedli