Skip to content

Commit 3ea3e3f

Browse files
committed
feat: project skeleton
1 parent e5746e6 commit 3ea3e3f

31 files changed

+87
-54
lines changed

.angular-cli.json

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"testTsconfig": "tsconfig.spec.json",
2020
"prefix": "app",
2121
"styles": [
22-
"styles.css"
22+
"styles.scss"
2323
],
2424
"scripts": [],
2525
"environmentSource": "environments/environment.ts",
@@ -51,7 +51,7 @@
5151
}
5252
},
5353
"defaults": {
54-
"styleExt": "css",
54+
"styleExt": "scss",
5555
"component": {}
5656
}
5757
}

.editorconfig

100755100644
File mode changed.

.gitignore

100755100644
File mode changed.

.travis-deploy.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
# go to the directory which contains build artifacts and create a *new* Git repo
3+
# directory may be different based on your particular build process
4+
cd dist
5+
git init
6+
7+
# inside this git repo we'll pretend to be a new user
8+
git config user.name "Travis CI"
9+
git config user.email "[email protected]"
10+
11+
# The first and only commit to this new Git repo contains all the
12+
# files present with the commit message "Deploy to GitHub Pages".
13+
git add .
14+
git commit -m "Deploy to GitHub Pages"
15+
16+
# Force push from the current repo's master branch to the remote
17+
# repo's gh-pages branch. (All previous history on the gh-pages branch
18+
# will be lost, since we are overwriting it.) We redirect any output to
19+
# /dev/null to hide any sensitive credential data that might otherwise be exposed.
20+
# tokens GH_TOKEN and GH_REF will be provided as Travis CI environment variables
21+
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
script:
5+
# run build script specified in package.json
6+
- npm run ci
7+
# call script for deploying of produced artifacts
8+
- bash ./.travis-deploy.sh

README.md

100755100644
Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
1-
# AngularNgrxMaterialStarter
1+
# Angular, ngrx & Material Starter by [@tomastrajan](https://twitter.com/tomastrajan) [![Build Status](https://travis-ci.org/tomastrajan/angular-ngrx-material-starter.svg?branch=master)](https://travis-ci.org/tomastrajan/angular-ngrx-material-starter)
2+
3+
Check out [Demo & Documentation](http://tomastrajan.github.io/angular-ngrx-material-starter/)
24

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.3.
4-
5-
## Development server
6-
7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8-
9-
## Code scaffolding
10-
11-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
12-
13-
## Build
14-
15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
16-
17-
## Running unit tests
18-
19-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20-
21-
## Running end-to-end tests
22-
23-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24-
Before running the tests make sure you are serving the app via `ng serve`.
25-
26-
## Further help
27-
28-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
5+
Built with [Angular CLI](https://github.com/angular/angular-cli)

e2e/app.e2e-spec.ts

100755100644
File mode changed.

e2e/app.po.ts

100755100644
File mode changed.

e2e/tsconfig.e2e.json

100755100644
File mode changed.

karma.conf.js

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = function (config) {
88
plugins: [
99
require('karma-jasmine'),
1010
require('karma-chrome-launcher'),
11+
require('karma-phantomjs-launcher'),
12+
require('karma-spec-reporter'),
1113
require('karma-jasmine-html-reporter'),
1214
require('karma-coverage-istanbul-reporter'),
1315
require('@angular/cli/plugins/karma')

0 commit comments

Comments
 (0)