This package contains Command Line Interface tools for automated certain
development tasks. Once installed the included scripts can be added to your
package.json
.
If you want to test or develop on the library simply run these commands
git clone git@github.com:UdeS-STI/udes-cli.git
cd udes-cli
npm install
If you want to add the library to your project simply run
npm install udes-cli -g --save
Then, in the script
section of your package.json
you can add the commands
from the library
{
"scripts": {
"build": "udes polymer-build -u /dir/ --buildNames bundled -ac",
"format": "udes format .",
"install": "udes bower install",
"lint": "udes lint .",
"lock": "udes bower lock",
"status": "udes bower status",
"unlock": "udes bower unlock",
"validate": "udes bower validate"
}
}
npm run udes bower install bower-package --save
npm run udes format .
npm run udes lint .
npm run udes polymer-build --baseURI /path/to/project/
TODO
You must use the following guides:
This project contains a linting config, you should setup eslint
into your
editors with .eslintrc.js
.