Build Tools

Learn how to use Notus’s, for Angular, included npm scripts to compile source code, run tests, and more.


Available commands

# Name Usage Description Read More
1 install npm install This command installs a package, and any packages that it depends on. Read more
2 ng npm run ng   Read more
3 start npm start Builds and serves your app, rebuilding on file changes. Read more
4 build npm run build Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory. Read more
5 test npm run test Runs unit tests in a project. (NOTE: This project does not have any tests included in it, so this command may fail) Read more
6 lint npm run lint Runs linting tools on Angular app code in a given project folder. (NOTE: This project does not have any lint config in it, so this command may fail) Read more
7 e2e npm run e2e Builds and serves an Angular app, then runs end-to-end tests using Protractor. (NOTE: This project does not have any tests included in it, so this command may fail) Read more
8 build:tailwind npm run build:tailwind This will compile and create the Tailwind CSS styles inside src/assets/styles/tailwind.css. NOTE, each time you add a new class to your components, you will have to run this command, so that those new classes would be compiled by tailwind, and the styles will be applied. Read more
9 install:clean npm run install:clean This command will remove the node_modules folder and package_lock.json file, will install a fresh copy of them and it will start the development server. (NOTE: this command only works on linux based terminals)