This project was generated with Angular CLI version 11.2.2.
package | version |
---|---|
node.js | ^12.20.2 || ^14.15.5 || ^16.10.0 |
npm | >= 6.14.11 |
package | version |
---|---|
@angular/cli | ^13 |
firebase-tools | ^10.7.1 |
If you have not installed @angular/cli
globally, you may use npx ng
instead of ng
commands below.
Install angular.ng-template extension for type-hinting and code completion in HTML templates.
git clone [email protected]:plageoj/fukagawa-coffee.git
cd fukagawa-coffee
npm install
Run npm start
for a dev server with Firebase local emulator suite. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
If you need to connect to the production environment, run npm run serve:prod
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Refer https://angular.io/guide/styleguide for coding style. Run ng lint
or npm run lint
for linting.
Adding commit prefix is optional but recommended as it helps review process. Choose one from below:
- add: Add some features, components, modules, etc.
- del: Delete something.
- fix: Fix bugs and issues.
- doc: Documentation updates.
- dep: Updating dependencies.
- chore: Other changes that don't modify source files.
Run ng build
or npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -c production
flag or run npm run build:prod
for a production build.
This application is hosted on Firebase hosting. Merging any pull requests into master
branch will trigger an automatic deployment.
Manual deployment is also available for approved firebase project members only, via ng deploy
or npm run deploy
(requires global firebase-tools installation) command.
Run ng test
or npm run test
to execute the unit tests via Karma.
Run ng e2e
or npm run e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.