Skip to content

Commit 162bb5b

Browse files
committed
Merge branch 'release/0.3.0'
2 parents 04d5998 + 3857552 commit 162bb5b

File tree

9 files changed

+372
-63
lines changed

9 files changed

+372
-63
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
addons:
2+
firefox: latest
13
language: node_js
24
node_js:
35
- "5.9.0"
6+
before_install:
7+
- "export DISPLAY=:99.0"
8+
- "sh -e /etc/init.d/xvfb start"
49
install:
510
- npm install
611
- npm install -g typings

TODO.ms

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
[X] Add cordova
1616
[ ] Add cordova docu and helpers and stuff
1717
[X] Add travis
18-
[ ] Add greenkeeper
18+
[ ] Add greenkeeper
19+
[X] polyfill ES6 promises for tests => replaced phantom with firefox

config/config-dashboard.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"use strict";
2+
3+
/**
4+
* Webpack Plugins
5+
*/
6+
const DashboardPlugin = require('webpack-dashboard/plugin');
7+
8+
/**
9+
* Dashboard config
10+
*/
11+
const configDashboard = function (options) {
12+
return {
13+
plugins: [
14+
new DashboardPlugin()
15+
]
16+
};
17+
};
18+
module.exports = configDashboard;

config/config-gzip.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"use strict";
2+
3+
/**
4+
* Webpack Plugins
5+
*/
6+
const CompressionPlugin = require("compression-webpack-plugin");
7+
8+
/**
9+
* gzip config
10+
*/
11+
const configGzip = function (options) {
12+
return {
13+
plugins: [
14+
new CompressionPlugin({
15+
asset: "[path].gz[query]",
16+
algorithm: "gzip",
17+
test: /\.js$|\.html$/,
18+
threshold: 10240,
19+
minRatio: 0.8
20+
})
21+
]
22+
};
23+
};
24+
module.exports = configGzip;

0 commit comments

Comments
 (0)