fixed serve:examples
This commit is contained in:
		
							parent
							
								
									f58889a05d
								
							
						
					
					
						commit
						029a169114
					
				
							
								
								
									
										2
									
								
								dist
									
									
									
									
									
								
							
							
								
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								dist
									
									
									
									
									
								
							@ -1 +1 @@
 | 
			
		||||
Subproject commit e2e89e198f47689fe6df908c0ea1cef6d800be0d
 | 
			
		||||
Subproject commit 5116d70adba8ebafa8a608fea4eb7ba301e345b5
 | 
			
		||||
@ -103,7 +103,7 @@ gulp.task('deploy:build', function () {
 | 
			
		||||
      experimental: true
 | 
			
		||||
    }))
 | 
			
		||||
    .pipe($.uglify())
 | 
			
		||||
    .pipe($.sourcemaps.write('./dist/'))
 | 
			
		||||
    .pipe($.sourcemaps.write('.'))
 | 
			
		||||
    .pipe(gulp.dest('./dist/'))
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@ -185,9 +185,12 @@ gulp.task('dev', ['build:test'], function () {
 | 
			
		||||
  gulp.start('dev:node')
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
gulp.task('copy:dist', ['deploy:build'])
 | 
			
		||||
gulp.task('copy:dist', ['deploy:build'], function () {
 | 
			
		||||
  return gulp.src(['./dist/y.js', './dist/y.js.map'])
 | 
			
		||||
    .pipe(gulp.dest('./dist/Examples/bower_components/yjs/'))
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
gulp.task('dev:Examples', ['copy:dist'], function () {
 | 
			
		||||
gulp.task('dev:examples', ['copy:dist'], function () {
 | 
			
		||||
  gulp.watch('src/**/*.js', ['copy:dist'])
 | 
			
		||||
  return $.serve('dist/Examples')()
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "yjs",
 | 
			
		||||
  "version": "0.6.25",
 | 
			
		||||
  "version": "0.6.26",
 | 
			
		||||
  "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
 | 
			
		||||
  "main": "y.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user