Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Feb 3, 2016
0 parents commit 27d70c5
Show file tree
Hide file tree
Showing 7 changed files with 106 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", "stage-0", "stage-3"]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage/
node_modules/
.idea/
build/
3 changes: 3 additions & 0 deletions .istanbul.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instrumentation:
root: src/
excludes: ['./node_modules/.bin/*']
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
node_js:
- "5"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
branches:
only:
- master
21 changes: 21 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 queicherius (David Reeß)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# gw2api-scraping

[![Travis](https://img.shields.io/travis/gw2efficiency/gw2api-scraping.svg?style=flat-square)](https://travis-ci.org/gw2efficiency/gw2api-scraping)
[![Coveralls](https://img.shields.io/coveralls/gw2efficiency/gw2api-scraping/master.svg?style=flat-square)](https://coveralls.io/github/gw2efficiency/gw2api-scraping?branch=master)

> Scraping unofficial sites for information the API can't provide.
**:bomb: NOTE: This module is still heavily in development. Please don't use it yet.**

## Install

```
npm install https://github.com/gw2efficiency/gw2api-scraping
```

This module can be used for Node.js as well as browsers using [Browserify](https://github.com/substack/browserify-handbook#how-node_modules-works). If you
run it in browsers, not all methods are available due to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS).

(Note: Babel gets pulled in as a dependency, because the module is written in ES7 and
gets compiled into ES5 during the installation. The Babel code is **not** included in the module,
don't be shocked at the dependency tree. :wink:)

## Usage

```js

```

## Tests

```
npm test
```

## Licence

MIT
31 changes: 31 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "gw2-api.com",
"version": "1.0.0",
"description": "Scraping unofficial sites for information the API can't provide.",
"main": "./build/server.js",
"scripts": {
"build": "./node_modules/.bin/babel src/ -d build/",
"test": "./node_modules/babel-cli/bin/babel-node.js ./node_modules/.bin/isparta cover --include-all-sources ./node_modules/.bin/_mocha -- tests/ --recursive && node node_modules/snazzy/bin/cmd.js"
},
"author": "[email protected]",
"license": "MIT",
"dependencies": {
"requester": "git+https://github.com/gw2efficiency/requester.git",
"babel-cli": "^6.4.5",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-preset-stage-3": "^6.3.13"
},
"devDependencies": {
"babel-eslint": "^4.1.6",
"chai": "^3.5.0",
"coveralls": "^2.11.6",
"isparta": "^4.0.0",
"mocha": "^2.4.5",
"rewire": "^2.5.1",
"snazzy": "^2.0.1"
},
"standard": {
"parser": "babel-eslint"
}
}

0 comments on commit 27d70c5

Please sign in to comment.