These modules must be globally installed:
eslint: Code analysis for JavaScript & AngularJS.htmlhint: Code analysis for HTML.csslint: Code analysis for CSS.
$ npm install # Development
$ npm install --production # Production (only `dependencies`)npm startto launchnpm run serverandjson-server(if checked) in parallelnpm run serveto launch a webpack-dev-server server on your source filesnpm run serve:prodto launch a webpack-dev-server server on your source files in a production environmentnpm run buildto build an optimized version of your application in /distnpm run build:prodto build an optimized version of your application in /dist in a production environmentnpm run testto launch your unit tests with Karmanpm run lintto launch linting process
See commits convention.
See configuration documentation.
Angular documentation is generated with DGeni
Docs generation is performed by webpack-angular-dgeni-plugin
Please refer to Angular documentation for documentation comments.
It's possible to include or exclude other glob link (default: src/app/**/*) in file webpack.config.js in build target.
For more details about configuration, please refer to the plugin documentation.
Documentation is launched by adding --docs argument to webpack. Which is already done by default for build and build:prod NPM scripts.
Static documentation is written in markdown format under docs folder.
1. Install browserify in the system using : npm install -g browserify
2. Move to the folder where you have installed the node-wot module, traverse to the folder packages -> node-wot-td-tools -> dist
3. Once in this folder, use the following script:
browserify td-parser.js --standalone parser > bundle-parser.js
4. Copy this file in the parser folder of the project