Merge branch 'dev'
No files matched your search
@@ -1,6 +1,7 @@
|
||||
.DS_Store
|
||||
.idea
|
||||
*.sublime*
|
||||
npm-debug.log
|
||||
|
||||
private*.json
|
||||
|
||||
@@ -8,3 +9,4 @@ private*.json
|
||||
/bower_components
|
||||
/public
|
||||
/build
|
||||
**/__pycache__
|
||||
@@ -12,20 +12,20 @@ var is_production = process.env['NODE_ENV'] == 'production';
|
||||
|
||||
gulp.task("concat-bower", function () {
|
||||
var files = [
|
||||
"public/bower_components/jquery/dist/jquery.min.js",
|
||||
"public/bower_components/angular/angular.min.js",
|
||||
"public/bower_components/angular-route/angular-route.min.js",
|
||||
"public/bower_components/angular-animate/angular-animate.min.js",
|
||||
"public/bower_components/angulartics/dist/angulartics.min.js",
|
||||
"public/bower_components/angulartics/dist/angulartics-ga.min.js",
|
||||
"public/bower_components/spin.js/spin.js",
|
||||
"public/bower_components/angular-spinner/angular-spinner.min.js",
|
||||
"public/bower_components/socket.io-client/socket.io.js"
|
||||
'./src/public/bower_components/jquery/dist/jquery.min.js',
|
||||
'./src/public/bower_components/angular/angular.min.js',
|
||||
'./src/public/bower_components/angular-route/angular-route.min.js',
|
||||
'./src/public/bower_components/angular-animate/angular-animate.min.js',
|
||||
'./src/public/bower_components/angulartics/dist/angulartics.min.js',
|
||||
'./src/public/bower_components/angulartics/dist/angulartics-ga.min.js',
|
||||
'./src/public/bower_components/spin.js/spin.js',
|
||||
'./src/public/bower_components/angular-spinner/angular-spinner.min.js',
|
||||
'./src/public/bower_components/socket.io-client/socket.io.js'
|
||||
];
|
||||
gulp.src(files)
|
||||
.pipe(concat("libs.js"))
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest("public"));
|
||||
.pipe(gulp.dest('./public'));
|
||||
});
|
||||
|
||||
gulp.task('styles', function () {
|
||||
@@ -34,7 +34,7 @@ gulp.task('styles', function () {
|
||||
require('cssnano')()
|
||||
];
|
||||
|
||||
gulp.src('./assets/style/*.scss')
|
||||
gulp.src('./src/assets/style/*.scss')
|
||||
.pipe(sass())
|
||||
.pipe(postcss(processors))
|
||||
.pipe(concat('style.css'))
|
||||
@@ -42,25 +42,25 @@ gulp.task('styles', function () {
|
||||
});
|
||||
|
||||
gulp.task("copy", function () {
|
||||
gulp.src("./assets/fonts/*")
|
||||
gulp.src('./src/assets/fonts/*')
|
||||
.pipe(gulp.dest("./public/fonts"));
|
||||
|
||||
gulp.src("./assets/graphics/*")
|
||||
gulp.src('./src/assets/graphics/*')
|
||||
.pipe(gulp.dest("./public/graphics"));
|
||||
|
||||
gulp.src([
|
||||
"./3rdparty/*",
|
||||
"robots.txt"
|
||||
'./src/3rdparty/*',
|
||||
'./robots.txt'
|
||||
])
|
||||
.pipe(gulp.dest("./public"));
|
||||
});
|
||||
|
||||
gulp.task('compile', function () {
|
||||
gulp.src([
|
||||
'client/app.js',
|
||||
'client/document.js',
|
||||
'client/data.js',
|
||||
'client/instagram.js'
|
||||
'./src/client/app.js',
|
||||
'./src/client/document.js',
|
||||
'./src/client/data.js',
|
||||
'./src/client/instagram.js'
|
||||
])
|
||||
.pipe(browserify({
|
||||
transform: [
|
||||
@@ -73,7 +73,7 @@ gulp.task('compile', function () {
|
||||
});
|
||||
|
||||
gulp.task("imagemin", function () {
|
||||
gulp.src("./assets/img/**/*")
|
||||
gulp.src('./src/assets/img/**/*')
|
||||
.pipe(imageMin())
|
||||
.pipe(gulp.dest("./public/img"));
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"private": true,
|
||||
"version": "3.4.1",
|
||||
"description": "",
|
||||
"main": "bin/www.js",
|
||||
"main": "src/bin/www.js",
|
||||
"scripts": {
|
||||
"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 |