Permalink
Browse files

set up babel/gulp code and update deps

  • Loading branch information...
1 parent 3da51d0 commit 8bb9972878da218d232673ae60b2bb27d228409f @jlipps jlipps committed May 22, 2015
Showing with 25 additions and 18 deletions.
  1. +1 −3 .jscsrc
  2. +2 −2 .jshintrc
  3. +0 −10 .npmignore
  4. +6 −0 gulpfile.js
  5. +9 −0 lib/sample.js
  6. +7 −3 package.json
View
@@ -1,7 +1,5 @@
{
- "excludeFiles": ["submodules/**", "node_modules/**",
- "./lib/server/static/**", "./lib/devices/firefoxos/atoms/*.js",
- "./sample-code/**", "/Users/baba/Work/appium/ci/standalone-tools/node_modules/**"],
+ "excludeFiles": ["node_modules/**"],
"requireCurlyBraces": ["for", "while", "do", "try", "catch"],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch",
"return", "try", "catch", "function"],
View
@@ -1,11 +1,11 @@
{
"laxcomma": true,
- "strict": true,
"undef": true,
"unused": true,
"node": true,
"eqeqeq": true,
"trailing": true,
"indent": 2,
- "shelljs": false
+ "esnext": true,
+ "experimental": ["asyncawait"]
}
View
@@ -1,16 +1,6 @@
assets/
submodules/
-bin/publish.sh
-reset.sh
-reset.bat
-bin/test.sh
-sample-code/
test/
-lib/devices/android/bootstrap/bin/
-lib/devices/android/bootstrap/target/
-lib/devices/android/bootstrap/local.properties
-lib/devices/android/bootstrap/project.properties
-lib/devices/android/bootstrap/.classpath
_vimrc_local.vim
*.swp
*.swo
View
@@ -0,0 +1,6 @@
+"use strict";
+
+var gulp = require('gulp'),
+ boilerplate = require('appium-gulp-plugins').boilerplate.use(gulp);
+
+boilerplate({build: 'appium', jscs: false});
View
@@ -0,0 +1,9 @@
+import Q from 'q';
+
+let p = new Q('123');
+
+async function func() {
+ return await p;
+}
+
+export default {func: func};
View
@@ -50,6 +50,8 @@
"appium-xcode": "=2.0.4",
"argparse": "~1.0.1",
"async": "~0.9.0",
+ "babel-core": "^5.4.3",
+ "babel-runtime": "^5.3.3",
"binary-cookies": "~0.1.1",
"body-parser": "~1.12.0",
"bplist-creator": "~0.0.5",
@@ -88,6 +90,7 @@
"sandboxed-module": "~2.0.0",
"serve-favicon": "~2.2.0",
"socket.io": "~1.3.4",
+ "source-map-support": "^0.2.10",
"swig": "~1.4.2",
"temp": "~0.8.1",
"through": "~2.3.6",
@@ -110,10 +113,11 @@
"test": "grunt travis"
},
"devDependencies": {
+ "appium-gulp-plugins": "^1.1.2",
"assert": "~1.3.0",
"bdd-with-opts": "^1.0.0",
- "chai": "~2.0.0",
- "chai-as-promised": "~4.2.0",
+ "chai": "^2.3.0",
+ "chai-as-promised": "^5.0.0",
"gps-demo-app": "https://github.com/appium/gps-demo-app/archive/master.tar.gz",
"grunt-contrib-jshint": "~0.11.0",
"grunt-exec": "^0.4.6",
@@ -128,7 +132,7 @@
"merge-stream": "^0.1.7",
"mocha": "~2.1.0",
"mocha-jenkins-reporter": "^0.1.4",
- "monocle-js": "~1.0.1",
+ "mochawait": "^2.0.0",
"node-static": "~0.7.6",
"promisepipe": "^1.0.1",
"rewire": "^2.3.1",

0 comments on commit 8bb9972

Please sign in to comment.