Skip to content

Commit

Permalink
Fix local installation of gulp using gulpjs/gulp-cli#4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rengokantai committed Feb 26, 2016
0 parents commit 7221099
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets":["es2015"]
}
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties

4 changes: 4 additions & 0 deletions build/1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Created by Hernan Y.Ke on 2016/2/26.
*/
console.log();
20 changes: 20 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Created by Hernan Y.Ke on 2016/2/26.
*/
var gulp = require('gulp'),
$ = require('gulp-load-plugins')(),
source = require('vinyl-source-stream'),
browserify = require('browserify'),
watchify = require('watchify'),
babelify = require('babelify');


gulp.task('server',()=>{
return gulp.src("./srcserver/**/*.js")
.pipe(gulp.dest("./build"));
});


gulp.task("watch:server",()=>{
return gulp.watch("./srcserver/**/*.js",gulp.series("server"));
})
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "udreajsnextshi",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rengokantai/udreajsnextshi.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/rengokantai/udreajsnextshi/issues"
},
"homepage": "https://github.com/rengokantai/udreajsnextshi#readme",
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"gulp": "github:gulpjs/gulp-cli#4.0",
"gulp-babel": "^6.1.2",
"gulp-cached": "^1.1.0",
"gulp-cli": "github:gulpjs/gulp-cli#4.0",
"gulp-load-plugins": "^1.2.0",
"nodemon": "^1.9.1",
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.7.0"
},
"dependencies": {
"colour": "^0.7.1",
"jquery": "^2.2.1",
"lodash": "^4.6.1",
"moment": "^2.12.0",
"rxjs": "^5.0.0-beta.2"
}
}
4 changes: 4 additions & 0 deletions srcserver/1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Created by Hernan Y.Ke on 2016/2/26.
*/
console.log();

0 comments on commit 7221099

Please sign in to comment.