https://github.com/dead-beef/ng2-make-starter
Angular 2+ application starter kit
https://github.com/dead-beef/ng2-make-starter
angular makefile nodejs starter-project
Last synced: about 1 month ago
JSON representation
Angular 2+ application starter kit
- Host: GitHub
- URL: https://github.com/dead-beef/ng2-make-starter
- Owner: dead-beef
- License: mit
- Created: 2019-04-28T18:33:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T01:54:25.000Z (about 7 years ago)
- Last Synced: 2025-02-04T16:32:12.703Z (over 1 year ago)
- Topics: angular, makefile, nodejs, starter-project
- Language: TypeScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular 2+ application starter kit
## Overview
A starter kit for standalone Angular 2+ application based on NodeJS and Make.
## Project structure
* `./src` - application
* `./src/components` - components
* `./src/interfaces` - interfaces
* `./src/modules` - modules
* `./src/services` - services (development)
* `./src/css` - stylesheets (scss files are compiled to application css bundle)
* `./src/css/main.scss` - main application stylesheet
* `./src/css/vendor.scss` - main vendor stylesheet
* `./src/img` - images
* `./bin` - build scripts
* `./build` - temporary build files
* `./dist` - bundled application
* `./e2e` - end to end tests
* `./config` - configuration files
## Requirements
- [`Node.js`](https://nodejs.org/)
- [`NPM`](https://nodejs.org/)
- [`GNU Make`](https://www.gnu.org/software/make/)
- [`Git`](https://git-scm.com/)
## Installation
```bash
git clone --recursive https://github.com/dead-beef/ng2-make-starter.git
cd ng2-make-starter
make install
```
## Building
```bash
# single run
make
# continuous
make watch
# single run, minify
make min
# continuous, minify
make min-watch
```
## Testing
```bash
# unit, single run
make test
# unit, continuous
make test-watch
# end to end, single run
make test-e2e
# all, single run
make test-all
# test application bundle
TEST_BUNDLE=1 make test
# select browsers (default: Firefox)
TEST_BROWSERS="Firefox Chrome" make test
```
## Code Linting
```bash
make lint
```
## Server
```bash
make start
make SERVER_IP=192.168.1.10 SERVER_PORT=1080 start
make stop
```
## Licenses
* [`ng2-make-starter`](LICENSE)