Added builder

This commit is contained in:
Zakary Timson 2018-11-29 17:26:28 -05:00
parent 44cafb9fd9
commit 83ab8ff605
2 changed files with 79 additions and 46 deletions

32
.circleci/config.yml Normal file
View File

@ -0,0 +1,32 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:10.4-browsers
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run:
name: Install Dependancies
command: yarn
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: Build
command: yarn build
- run:
name: Deploy
command: yarn deploy

View File

@ -1,48 +1,49 @@
{ {
"name": "etfdemo", "name": "etfdemo",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e",
}, "deploy": "firebase deploy --token \"${FIREBASE_TOKEN}\""
"private": true, },
"dependencies": { "private": true,
"@angular/animations": "~7.1.0", "dependencies": {
"@angular/common": "~7.1.0", "@angular/animations": "~7.1.0",
"@angular/compiler": "~7.1.0", "@angular/common": "~7.1.0",
"@angular/core": "~7.1.0", "@angular/compiler": "~7.1.0",
"@angular/forms": "~7.1.0", "@angular/core": "~7.1.0",
"@angular/platform-browser": "~7.1.0", "@angular/forms": "~7.1.0",
"@angular/platform-browser-dynamic": "~7.1.0", "@angular/platform-browser": "~7.1.0",
"@angular/router": "~7.1.0", "@angular/platform-browser-dynamic": "~7.1.0",
"core-js": "^2.5.4", "@angular/router": "~7.1.0",
"rxjs": "~6.3.3", "core-js": "^2.5.4",
"tslib": "^1.9.0", "rxjs": "~6.3.3",
"zone.js": "~0.8.26" "tslib": "^1.9.0",
}, "zone.js": "~0.8.26"
"devDependencies": { },
"@angular-devkit/build-angular": "~0.11.0", "devDependencies": {
"@angular/cli": "~7.1.0", "@angular-devkit/build-angular": "~0.11.0",
"@angular/compiler-cli": "~7.1.0", "@angular/cli": "~7.1.0",
"@angular/language-service": "~7.1.0", "@angular/compiler-cli": "~7.1.0",
"@types/node": "~8.9.4", "@angular/language-service": "~7.1.0",
"@types/jasmine": "~2.8.8", "@types/node": "~8.9.4",
"@types/jasminewd2": "~2.0.3", "@types/jasmine": "~2.8.8",
"codelyzer": "~4.5.0", "@types/jasminewd2": "~2.0.3",
"jasmine-core": "~2.99.1", "codelyzer": "~4.5.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-core": "~2.99.1",
"karma": "~3.1.1", "jasmine-spec-reporter": "~4.2.1",
"karma-chrome-launcher": "~2.2.0", "karma": "~3.1.1",
"karma-coverage-istanbul-reporter": "~2.0.1", "karma-chrome-launcher": "~2.2.0",
"karma-jasmine": "~1.1.2", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine": "~1.1.2",
"protractor": "~5.4.0", "karma-jasmine-html-reporter": "^0.2.2",
"ts-node": "~7.0.0", "protractor": "~5.4.0",
"tslint": "~5.11.0", "ts-node": "~7.0.0",
"typescript": "~3.1.6" "tslint": "~5.11.0",
} "typescript": "~3.1.6"
}
} }