| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 43e506f commit fe89e77
13 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ jobs: | |||
| 7 | 7 | build: | |
| 8 | 8 | docker: | |
| 9 | 9 | # specify the version you desire here | |
| 10 | - - image: circleci/node:9.4.0-browsers | ||
| 10 | + - image: circleci/node:10.15.0-browsers | ||
| 11 | 11 | ||
| 12 | 12 | # Specify service dependencies here if necessary | |
| 13 | 13 | # CircleCI maintains a library of pre-built images | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,132 @@ | |||
| 1 | + { | ||
| 2 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
| 3 | + "version": 1, | ||
| 4 | + "newProjectRoot": "projects", | ||
| 5 | + "projects": { | ||
| 6 | + "angular-plotly.js": { | ||
| 7 | + "root": "", | ||
| 8 | + "sourceRoot": "src", | ||
| 9 | + "projectType": "application", | ||
| 10 | + "architect": { | ||
| 11 | + "build": { | ||
| 12 | + "builder": "@angular-devkit/build-angular:browser", | ||
| 13 | + "options": { | ||
| 14 | + "outputPath": "dist", | ||
| 15 | + "index": "src/index.html", | ||
| 16 | + "main": "src/main.ts", | ||
| 17 | + "tsConfig": "src/tsconfig.app.json", | ||
| 18 | + "polyfills": "src/polyfills.ts", | ||
| 19 | + "assets": [ | ||
| 20 | + "src/assets", | ||
| 21 | + "src/favicon.ico" | ||
| 22 | + ], | ||
| 23 | + "styles": [ | ||
| 24 | + "src/styles.css" | ||
| 25 | + ], | ||
| 26 | + "scripts": [] | ||
| 27 | + }, | ||
| 28 | + "configurations": { | ||
| 29 | + "production": { | ||
| 30 | + "optimization": true, | ||
| 31 | + "outputHashing": "all", | ||
| 32 | + "sourceMap": false, | ||
| 33 | + "extractCss": true, | ||
| 34 | + "namedChunks": false, | ||
| 35 | + "aot": true, | ||
| 36 | + "extractLicenses": true, | ||
| 37 | + "vendorChunk": false, | ||
| 38 | + "buildOptimizer": true, | ||
| 39 | + "fileReplacements": [ | ||
| 40 | + { | ||
| 41 | + "replace": "src/environments/environment.ts", | ||
| 42 | + "with": "src/environments/environment.prod.ts" | ||
| 43 | + } | ||
| 44 | + ] | ||
| 45 | + } | ||
| 46 | + } | ||
| 47 | + }, | ||
| 48 | + "serve": { | ||
| 49 | + "builder": "@angular-devkit/build-angular:dev-server", | ||
| 50 | + "options": { | ||
| 51 | + "browserTarget": "angular-plotly.js:build" | ||
| 52 | + }, | ||
| 53 | + "configurations": { | ||
| 54 | + "production": { | ||
| 55 | + "browserTarget": "angular-plotly.js:build:production" | ||
| 56 | + } | ||
| 57 | + } | ||
| 58 | + }, | ||
| 59 | + "extract-i18n": { | ||
| 60 | + "builder": "@angular-devkit/build-angular:extract-i18n", | ||
| 61 | + "options": { | ||
| 62 | + "browserTarget": "angular-plotly.js:build" | ||
| 63 | + } | ||
| 64 | + }, | ||
| 65 | + "test": { | ||
| 66 | + "builder": "@angular-devkit/build-angular:karma", | ||
| 67 | + "options": { | ||
| 68 | + "main": "src/test.ts", | ||
| 69 | + "karmaConfig": "./karma.conf.js", | ||
| 70 | + "polyfills": "src/polyfills.ts", | ||
| 71 | + "tsConfig": "src/tsconfig.spec.json", | ||
| 72 | + "scripts": [], | ||
| 73 | + "styles": [ | ||
| 74 | + "src/styles.css" | ||
| 75 | + ], | ||
| 76 | + "assets": [ | ||
| 77 | + "src/assets", | ||
| 78 | + "src/favicon.ico" | ||
| 79 | + ] | ||
| 80 | + } | ||
| 81 | + }, | ||
| 82 | + "lint": { | ||
| 83 | + "builder": "@angular-devkit/build-angular:tslint", | ||
| 84 | + "options": { | ||
| 85 | + "tsConfig": [ | ||
| 86 | + "src/tsconfig.app.json", | ||
| 87 | + "src/tsconfig.spec.json" | ||
| 88 | + ], | ||
| 89 | + "exclude": [ | ||
| 90 | + "**/node_modules/**" | ||
| 91 | + ] | ||
| 92 | + } | ||
| 93 | + } | ||
| 94 | + } | ||
| 95 | + }, | ||
| 96 | + "angular-plotly.js-e2e": { | ||
| 97 | + "root": "e2e", | ||
| 98 | + "sourceRoot": "e2e", | ||
| 99 | + "projectType": "application", | ||
| 100 | + "architect": { | ||
| 101 | + "e2e": { | ||
| 102 | + "builder": "@angular-devkit/build-angular:protractor", | ||
| 103 | + "options": { | ||
| 104 | + "protractorConfig": "./protractor.conf.js", | ||
| 105 | + "devServerTarget": "angular-plotly.js:serve" | ||
| 106 | + } | ||
| 107 | + }, | ||
| 108 | + "lint": { | ||
| 109 | + "builder": "@angular-devkit/build-angular:tslint", | ||
| 110 | + "options": { | ||
| 111 | + "tsConfig": [ | ||
| 112 | + "e2e/tsconfig.e2e.json" | ||
| 113 | + ], | ||
| 114 | + "exclude": [ | ||
| 115 | + "**/node_modules/**" | ||
| 116 | + ] | ||
| 117 | + } | ||
| 118 | + } | ||
| 119 | + } | ||
| 120 | + } | ||
| 121 | + }, | ||
| 122 | + "defaultProject": "angular-plotly.js", | ||
| 123 | + "schematics": { | ||
| 124 | + "@schematics/angular:component": { | ||
| 125 | + "prefix": "plotly", | ||
| 126 | + "styleext": "css" | ||
| 127 | + }, | ||
| 128 | + "@schematics/angular:directive": { | ||
| 129 | + "prefix": "plotly" | ||
| 130 | + } | ||
| 131 | + } | ||
| 132 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + {} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,24 +4,22 @@ | |||
| 4 | 4 | module.exports = function (config) { | |
| 5 | 5 | config.set({ | |
| 6 | 6 | basePath: '', | |
| 7 | - frameworks: ['jasmine', '@angular/cli'], | ||
| 7 | + frameworks: ['jasmine', '@angular-devkit/build-angular'], | ||
| 8 | 8 | plugins: [ | |
| 9 | 9 | require('karma-jasmine'), | |
| 10 | 10 | require('karma-chrome-launcher'), | |
| 11 | 11 | require('karma-jasmine-html-reporter'), | |
| 12 | 12 | require('karma-coverage-istanbul-reporter'), | |
| 13 | - require('@angular/cli/plugins/karma') | ||
| 13 | + require('@angular-devkit/build-angular/plugins/karma') | ||
| 14 | 14 | ], | |
| 15 | 15 | client:{ | |
| 16 | 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser | |
| 17 | 17 | }, | |
| 18 | 18 | coverageIstanbulReporter: { | |
| 19 | - reports: [ 'html', 'lcovonly' ], | ||
| 19 | + dir: require('path').join(__dirname, 'coverage'), reports: [ 'html', 'lcovonly' ], | ||
| 20 | 20 | fixWebpackSourcePaths: true | |
| 21 | 21 | }, | |
| 22 | - angularCli: { | ||
| 23 | - environment: 'dev' | ||
| 24 | - }, | ||
| 22 | + | ||
| 25 | 23 | reporters: ['progress', 'kjhtml'], | |
| 26 | 24 | port: 9876, | |
| 27 | 25 | colors: true, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments