https://github.com/dead-beef/ng1-make-starter
AngularJS application starter kit
https://github.com/dead-beef/ng1-make-starter
angularjs angularjs-material jasmine-tests karma-tests makefile nodejs protractor-tests starter-project
Last synced: 3 months ago
JSON representation
AngularJS application starter kit
- Host: GitHub
- URL: https://github.com/dead-beef/ng1-make-starter
- Owner: dead-beef
- License: mit
- Created: 2017-08-08T06:57:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-17T20:34:31.000Z (over 6 years ago)
- Last Synced: 2025-02-04T16:32:13.252Z (4 months ago)
- Topics: angularjs, angularjs-material, jasmine-tests, karma-tests, makefile, nodejs, protractor-tests, starter-project
- Language: JavaScript
- Homepage: https://dead-beef.github.io/ng1-make-starter
- Size: 3.74 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Angular 1 application starter kit
## Overview
A starter kit for standalone Angular 1 application based on NodeJS and Make.
## Project structure
* `./src` - application
* `./src/umd` - [UMD](https://github.com/umdjs/umd) scripts
* `./src/components` - viewless components
* `./src/views` - view components
* `./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
* `./build` - temporary build files
* `./dist` - bundled application
* `./tests` - unit tests
* `./e2e-tests` - end to end tests
* `./config` - configuration
* `./config/os.mk` - shell commands
* `./config/app.mk` - variables
* `./config/deps.mk` - custom targets/dependencies
* `./config/override.js` - override dependency package.json## 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 https://github.com/dead-beef/ng1-make-starter.git
cd ng1-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
* [`ng1-make-starter`](LICENSE)