Skip to content

Commit 87366b6

Browse files
committed
Merge branch 'feature/update-dependencies' into develop
2 parents 1557bae + a9f3ed6 commit 87366b6

File tree

6 files changed

+680
-1676
lines changed

6 files changed

+680
-1676
lines changed

package-scripts.js

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,11 @@ module.exports = {
55
scripts: {
66
default: 'nps webpack',
77
test: {
8-
default: 'nps test.jest',
9-
jest: {
10-
default: series(
11-
rimraf('test/coverage-jest'),
12-
'jest'
13-
),
14-
watch: 'jest --watch',
15-
},
16-
karma: {
17-
default: series(
18-
rimraf('test/coverage-karma'),
19-
'karma start test/karma.conf.js'
20-
),
21-
watch: 'karma start test/karma.conf.js --auto-watch --no-single-run',
22-
debug: 'karma start test/karma.conf.js --auto-watch --no-single-run --debug'
23-
},
24-
all: concurrent({
25-
browser: series.nps('test.karma', 'e2e'),
26-
jest: 'nps test.jest',
27-
})
8+
default: series(
9+
rimraf('test/coverage-jest'),
10+
'jest'
11+
),
12+
watch: 'jest --watch'
2813
},
2914
e2e: {
3015
default: concurrent({

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,20 @@
9494
"chalk": "^2.1.0",
9595
"compression-webpack-plugin": "^1.0.0",
9696
"copy-webpack-plugin": "^4.0.1",
97-
"cordova": "^7.0.1",
98-
"cross-env": "^5.0.5",
97+
"cordova": "^8.0.0",
9998
"css-loader": "^0.28.7",
10099
"expose-loader": "^0.7.3",
101100
"extract-text-webpack-plugin": "^3.0.0",
102101
"favicons-webpack-plugin": "^0.0.7",
103102
"file-loader": "^1.1.5",
104103
"html-webpack-plugin": "^2.30.1",
105-
"http-server": "^0.10.0",
104+
"http-server": "^0.11.1",
106105
"img-loader": "^2.0.0",
107106
"istanbul-instrumenter-loader": "^3.0.0",
108-
"jasmine-core": "^2.8.0",
109107
"jest": "^20.0.4",
110108
"jest-cli": "^20.0.4",
111109
"json-loader": "^0.5.7",
112-
"karma": "^1.7.1",
113110
"karma-chrome-launcher": "^2.2.0",
114-
"karma-coverage-istanbul-reporter": "^1.3.0",
115111
"karma-jasmine": "^1.1.0",
116112
"karma-mocha-reporter": "^2.2.4",
117113
"karma-webpack": "^2.0.4",
@@ -123,9 +119,9 @@
123119
"postcss-loader": "^2.0.6",
124120
"protractor": "^5.1.2",
125121
"sass-loader": "^6.0.6",
126-
"style-loader": "^0.19.0",
122+
"style-loader": "^0.20.1",
127123
"ts-jest": "^20.0.14",
128-
"ts-node": "^3.3.0",
124+
"ts-node": "^4.1.0",
129125
"tslib": "^1.7.1",
130126
"tslint": "^5.7.0",
131127
"tslint-loader": "^3.5.3",

test/karma-bundle.js

Lines changed: 0 additions & 80 deletions
This file was deleted.

test/karma.conf.js

Lines changed: 0 additions & 82 deletions
This file was deleted.

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const cssRules = [
3939
*/
4040
module.exports = ({ production, server, extractCss, coverage, platform, config } = {}) => {
4141

42-
const PLATFORM = platform || 'browser';
42+
const PLATFORM = platform || 'browser'; // possibilities browser, mobile
4343
const CONFIG = config || 'development';
4444

4545
console.log('');
@@ -67,7 +67,7 @@ module.exports = ({ production, server, extractCss, coverage, platform, config }
6767
},
6868
output: {
6969
path: outDir,
70-
publicPath: baseUrl,
70+
publicPath: PLATFORM === 'mobile' ? '' : baseUrl,
7171
filename: production ? '[name].[chunkhash].bundle.js' : '[name].[hash].bundle.js',
7272
sourceMapFilename: production ? '[name].[chunkhash].bundle.map' : '[name].[hash].bundle.map',
7373
chunkFilename: production ? '[name].[chunkhash].chunk.js' : '[name].[hash].chunk.js',

0 commit comments

Comments
 (0)