Git Product home page Git Product logo

signut's Introduction

Angular Template

This template was generated with Angular CLI version 14.2.8


Development server

Run yarn start or npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Development server options

to serve normal use this configuration:

  yarn start || npm run start

to serve and automatically open the browser use this configuration:

  yarn start:open || npm run start:open

to serve and access from a local network use this configuration:

  yarn start:host || npm run start:host

to serve as production run use this configuration:

  yarn start:prod || npm run start:prod

to serve and run ios emulator use this configuration:

  yarn start:ios || npm run start:ios

to serve and run android emulator use this configuration:

  yarn start:android || npm run start:android

Build

Run yarn build:option or npm run build:option to build the project. The build artifacts will be stored in the dist/ directory.

Build options

to compile for development use this configuration:

  yarn build:dev || npm run build:dev

to compile for production use this configuration:

  yarn build:prod || npm run build:prod

to compile for webpack-bundle-analyzer use this configuration:

  yarn build:stats || npm run build:stats

to compile for ios use this configuration:

  yarn build:ios || npm run build:ios

to compile for android use this configuration:

  yarn build:android || npm run build:android

Linter

Run yarn lint or npm run lint to show in the terminal the error that linter finds according to the configuration

Linter options

to show error use this configuration:

  yarn lint || npm run lint

to show error and automatically fix it use this configuration:

  yarn lint:fix || npm run lint:fix

to run linter default inside angular use this configuration:

  yarn lint:ng || npm run lint:ng

to show error and automatically fix it use ng configuration:

  yarn lint:ng:fix || npm run lint:ng:fix

Husky

At the end of the installation of all the packages, husky will be installed, a tool that will allow us to automatically run git hooks, in our case to run the commitlint and eslint linters before committing.


Tools

Webpack Bundle Analyzer

Webpack-bundle-analyzer is a tool that allows us to graphically see when our application weighs and segmented by modules, this helps us to discover failures in the application's performance

to use webpack-bundle-analyzer, before you must use this command yarn build:stats or npm run build:stats which generates the stats files that allow webpack-bundle-analyzer to work properly

  yarn analyze || npm run analyze

signut's People

Contributors

giulicecchetto-syloper avatar giuli3022 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.