Merge branch 'dev'
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.idea
|
.idea
|
||||||
*.sublime*
|
*.sublime*
|
||||||
|
npm-debug.log
|
||||||
|
|
||||||
private*.json
|
private*.json
|
||||||
|
|
||||||
@@ -8,3 +9,4 @@ private*.json
|
|||||||
/bower_components
|
/bower_components
|
||||||
/public
|
/public
|
||||||
/build
|
/build
|
||||||
|
**/__pycache__
|
||||||
@@ -12,20 +12,20 @@ var is_production = process.env['NODE_ENV'] == 'production';
|
|||||||
|
|
||||||
gulp.task("concat-bower", function () {
|
gulp.task("concat-bower", function () {
|
||||||
var files = [
|
var files = [
|
||||||
"public/bower_components/jquery/dist/jquery.min.js",
|
'./src/public/bower_components/jquery/dist/jquery.min.js',
|
||||||
"public/bower_components/angular/angular.min.js",
|
'./src/public/bower_components/angular/angular.min.js',
|
||||||
"public/bower_components/angular-route/angular-route.min.js",
|
'./src/public/bower_components/angular-route/angular-route.min.js',
|
||||||
"public/bower_components/angular-animate/angular-animate.min.js",
|
'./src/public/bower_components/angular-animate/angular-animate.min.js',
|
||||||
"public/bower_components/angulartics/dist/angulartics.min.js",
|
'./src/public/bower_components/angulartics/dist/angulartics.min.js',
|
||||||
"public/bower_components/angulartics/dist/angulartics-ga.min.js",
|
'./src/public/bower_components/angulartics/dist/angulartics-ga.min.js',
|
||||||
"public/bower_components/spin.js/spin.js",
|
'./src/public/bower_components/spin.js/spin.js',
|
||||||
"public/bower_components/angular-spinner/angular-spinner.min.js",
|
'./src/public/bower_components/angular-spinner/angular-spinner.min.js',
|
||||||
"public/bower_components/socket.io-client/socket.io.js"
|
'./src/public/bower_components/socket.io-client/socket.io.js'
|
||||||
];
|
];
|
||||||
gulp.src(files)
|
gulp.src(files)
|
||||||
.pipe(concat("libs.js"))
|
.pipe(concat("libs.js"))
|
||||||
.pipe(uglify())
|
.pipe(uglify())
|
||||||
.pipe(gulp.dest("public"));
|
.pipe(gulp.dest('./public'));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('styles', function () {
|
gulp.task('styles', function () {
|
||||||
@@ -34,7 +34,7 @@ gulp.task('styles', function () {
|
|||||||
require('cssnano')()
|
require('cssnano')()
|
||||||
];
|
];
|
||||||
|
|
||||||
gulp.src('./assets/style/*.scss')
|
gulp.src('./src/assets/style/*.scss')
|
||||||
.pipe(sass())
|
.pipe(sass())
|
||||||
.pipe(postcss(processors))
|
.pipe(postcss(processors))
|
||||||
.pipe(concat('style.css'))
|
.pipe(concat('style.css'))
|
||||||
@@ -42,25 +42,25 @@ gulp.task('styles', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("copy", function () {
|
gulp.task("copy", function () {
|
||||||
gulp.src("./assets/fonts/*")
|
gulp.src('./src/assets/fonts/*')
|
||||||
.pipe(gulp.dest("./public/fonts"));
|
.pipe(gulp.dest("./public/fonts"));
|
||||||
|
|
||||||
gulp.src("./assets/graphics/*")
|
gulp.src('./src/assets/graphics/*')
|
||||||
.pipe(gulp.dest("./public/graphics"));
|
.pipe(gulp.dest("./public/graphics"));
|
||||||
|
|
||||||
gulp.src([
|
gulp.src([
|
||||||
"./3rdparty/*",
|
'./src/3rdparty/*',
|
||||||
"robots.txt"
|
'./robots.txt'
|
||||||
])
|
])
|
||||||
.pipe(gulp.dest("./public"));
|
.pipe(gulp.dest("./public"));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('compile', function () {
|
gulp.task('compile', function () {
|
||||||
gulp.src([
|
gulp.src([
|
||||||
'client/app.js',
|
'./src/client/app.js',
|
||||||
'client/document.js',
|
'./src/client/document.js',
|
||||||
'client/data.js',
|
'./src/client/data.js',
|
||||||
'client/instagram.js'
|
'./src/client/instagram.js'
|
||||||
])
|
])
|
||||||
.pipe(browserify({
|
.pipe(browserify({
|
||||||
transform: [
|
transform: [
|
||||||
@@ -73,7 +73,7 @@ gulp.task('compile', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task("imagemin", function () {
|
gulp.task("imagemin", function () {
|
||||||
gulp.src("./assets/img/**/*")
|
gulp.src('./src/assets/img/**/*')
|
||||||
.pipe(imageMin())
|
.pipe(imageMin())
|
||||||
.pipe(gulp.dest("./public/img"));
|
.pipe(gulp.dest("./public/img"));
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"version": "3.4.1",
|
"version": "3.4.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "bin/www.js",
|
"main": "src/bin/www.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha"
|
"test": "mocha"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 276 KiB After Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
|
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 301 KiB After Width: | Height: | Size: 301 KiB |
|
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 295 KiB After Width: | Height: | Size: 295 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 618 B |
|
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 618 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
|
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 697 B |
|
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 653 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |