Skip to content

Commit

Permalink
adapt new project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Apr 11, 2017
1 parent f4928f4 commit bad7d32
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 61 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
insert_final_newline = true

[{.babelrc,.eslintrc,.codeclimate.yml,.travis.yml,*.json}]
indent_size = 2
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build/
examples/
bin/
node_modules/
test/site/platforms/
test/site/www/components/
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"parser": "babel-eslint",
"rules": {
"indent": [2, 4],
"standard/no-callback-literal": 0,

/* Atom fix */
"generator-star-spacing": 0,
Expand Down
14 changes: 14 additions & 0 deletions .istanbul.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
verbose: false
instrumentation:
include-all-sources: true
extensions:
- .js
reporting:
reports:
- json-summary
- lcov
watermarks:
statements: [50, 80]
lines: [50, 80]
functions: [50, 80]
branches: [50, 80]
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
WebdriverIO
===========

[![Build Status](https://travis-ci.org/webdriverio/webdriverio.svg?branch=master)](https://travis-ci.org/webdriverio/webdriverio)
[![NPM version](https://badge.fury.io/js/webdriverio.svg)](http://badge.fury.io/js/webdriverio)
[![Dependency Status](https://www.versioneye.com/user/projects/58932ea4b166b50039982a32/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/58932ea4b166b50039982a32)
[![npm](https://img.shields.io/npm/dm/webdriverio.svg?maxAge=2592000)]()
[![Coveralls](https://img.shields.io/coveralls/webdriverio/webdriverio/master.svg?maxAge=2592000)]()
[![Gitter](https://badges.gitter.im/webdriverio/webdriverio.svg)](https://gitter.im/webdriverio/webdriverio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/webdriverio/webdriverio.svg?branch=master)](https://travis-ci.org/webdriverio/webdriverio) [![NPM version](https://badge.fury.io/js/webdriverio.svg)](http://badge.fury.io/js/webdriverio) [![Dependency Status](https://www.versioneye.com/user/projects/58932ea4b166b50039982a32/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/58932ea4b166b50039982a32) [![npm](https://img.shields.io/npm/dm/webdriverio.svg?maxAge=2592000)]() [![Coveralls](https://img.shields.io/coveralls/webdriverio/webdriverio/master.svg?maxAge=2592000)]() [![Gitter](https://badges.gitter.im/webdriverio/webdriverio.svg)](https://gitter.im/webdriverio/webdriverio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<br><br>
[![Selenium Test Status](https://saucelabs.com/browser-matrix/webdriverio.svg)](https://saucelabs.com/u/webdriverio)

***

#### [Homepage](http://webdriver.io) | [Developer Guide](http://webdriver.io/guide.html) | [API Reference](http://webdriver.io/api.html) | [Contribute](http://webdriver.io/contribute.html)
Expand Down
102 changes: 48 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,85 +20,79 @@
"node": ">= 0.12.0"
},
"scripts": {
"build": "grunt build",
"coverage": "grunt testcover --verbose",
"prepublish": "npm prune && npm run build && npm run test-unit",
"test": "grunt test",
"test-wdio": "grunt test:wdio",
"test-unit": "grunt test:unit",
"test-mobile": "grunt test:mobile",
"test-desktop": "grunt test:desktop",
"test-functional": "grunt test:functional",
"test-multibrowser": "grunt test:multibrowser",
"test-snyk": "snyk auth $SNYK_AUTH_TOKEN && snyk test"
"build": "run-s clean compile",
"clean": "rm -rf ./build ./coverage",
"compile": "babel lib/ -d build/",
"eslint": "eslint ./lib test/",
"release": "np patch",
"release:patch": "np patch",
"release:minor": "np minor",
"release:major": "np major",
"test": "run-s eslint test:unit",
"test:ci": "run-s clean eslint test:cover",
"test:unit": "mocha --compilers js:babel-core/register test/*.js",
"test:cover": "babel-node ./node_modules/.bin/isparta cover --include 'lib/*.js' _mocha",
"test:snyk": "snyk auth $SNYK_AUTH_TOKEN && snyk test",
"prepublish": "npm prune",
"watch": "npm run compile -- --watch"
},
"dependencies": {
"archiver": "~1.3.0",
"babel-runtime": "~6.22.0",
"css-parse": "~2.0.0",
"css-value": "~0.0.1",
"deepmerge": "~1.3.2",
"ejs": "~2.5.5",
"ejs": "~2.5.6",
"gaze": "~1.1.2",
"glob": "~7.1.1",
"inquirer": "~3.0.1",
"inquirer": "~3.0.6",
"json-stringify-safe": "~5.0.1",
"mkdirp": "~0.5.1",
"npm-install-package": "~2.1.0",
"optimist": "~0.6.1",
"q": "~1.4.1",
"request": "~2.79.0",
"q": "~1.5.0",
"request": "~2.81.0",
"rgb2hex": "~0.1.0",
"safe-buffer": "~5.0.1",
"supports-color": "~3.2.3",
"url": "~0.11.0",
"validator": "~6.2.1",
"wdio-dot-reporter": "~0.0.7",
"validator": "~7.0.0",
"wdio-dot-reporter": "~0.0.8",
"wgxpath": "~1.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^7.1.1",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-syntax-async-functions": "^6.8.0",
"babel-plugin-transform-regenerator": "^6.9.0",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"chai": "^3.4.1",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-regenerator": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"chai-string": "^1.1.4",
"chai-string": "^1.3.0",
"chai-things": "^0.2.0",
"codeclimate-test-reporter": "^0.4.0",
"coveralls": "~2.11.2",
"eslint-config-standard": "^6.2.1",
"codeclimate-test-reporter": "^0.4.1",
"coveralls": "^2.13.0",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-chai-expect": "^1.1.1",
"eslint-plugin-mocha": "^4.7.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.0",
"grunt": "^1.0.1",
"grunt-babel": "^6.0.0",
"grunt-bump": "^0.8.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-eslint": "^19.0.0",
"grunt-mocha-istanbul": "^5.0.1",
"grunt-mocha-test": "^0.13.2",
"grunt-npm": "0.0.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-mocha": "^4.9.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"isparta": "^4.0.0",
"istanbul": "^0.4.5",
"load-grunt-tasks": "^3.2.0",
"mocha": "^3.2.0",
"mock-require": "^2.0.0",
"nock": "9.0.5",
"saucelabs": "^1.0.1",
"sinon": "^1.17.2",
"snyk": "1.25.0",
"wdio-mocha-framework": "^0.5.8"
"mock-require": "^2.0.2",
"nock": "^9.0.13",
"saucelabs": "^1.4.0",
"sinon": "^2.1.0",
"snyk": "^1.28.0",
"wdio-mocha-framework": "^0.5.9"
},
"tags": [
"web",
Expand Down

0 comments on commit bad7d32

Please sign in to comment.