-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
413 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"browsers": ["> 1%", "last 2 versions"], | ||
"node": 6 | ||
} | ||
}], | ||
"stage-0", | ||
["babili", { | ||
"mangle": false | ||
}] | ||
], | ||
"plugins": [ | ||
["transform-runtime", { | ||
"polyfill": false, | ||
"regenerator": true | ||
}] | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ node_js: | |
- node | ||
- 7 | ||
- 6 | ||
- 5 | ||
cache: | ||
yarn: true | ||
sudo: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# test directories | ||
__tests__ | ||
test | ||
tests | ||
powered-test | ||
benchmarks | ||
|
||
# asset directories | ||
docs | ||
doc | ||
website | ||
assets | ||
|
||
# examples | ||
example | ||
examples | ||
|
||
# code coverage directories | ||
coverage | ||
.nyc_output | ||
|
||
# build scripts | ||
Makefile | ||
Gulpfile.js | ||
Gruntfile.js | ||
|
||
# configs | ||
.tern-project | ||
.gitattributes | ||
.editorconfig | ||
.*ignore | ||
.eslintrc | ||
.jshintrc | ||
.flowconfig | ||
.documentup.json | ||
.yarn-metadata.json | ||
.travis.yml | ||
appveyor.yml | ||
.appveyor.yml | ||
|
||
# meta | ||
changelog* | ||
Changelog* | ||
CHANGELOG* | ||
license* | ||
License* | ||
LICENSE* | ||
AUTHORS* | ||
|
||
# misc | ||
*.gz | ||
*.obj | ||
*.lib | ||
*.exp | ||
*.m4 | ||
*.3 | ||
*.info | ||
*.texi | ||
*.ac | ||
*.in | ||
*.tern-port | ||
*.cc | ||
*.c | ||
*.s | ||
*.py | ||
*.pyc | ||
*.pl | ||
*.rb | ||
*.tlog | ||
*.sln | ||
*.jshintrc | ||
*.lint | ||
*.eslintrc | ||
*.editorconfig | ||
*.npmignore | ||
*.eslintignore | ||
*.dntrc | ||
*.cpp | ||
*.jpg | ||
*.gif | ||
*.psd | ||
*.bmp | ||
*.jpeg | ||
*.gitmodules | ||
*.h | ||
*.patch | ||
*.md | ||
*.txt | ||
*.markdown | ||
*.html | ||
*.coffee | ||
*.vcxproj | ||
*.vcxproj.filters | ||
|
||
# gyp | ||
*.gypi | ||
node-pre-gyp | ||
node-gyp | ||
gyp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
environment: | ||
matrix: | ||
- nodejs_version: "" | ||
- nodejs_version: "7" | ||
- nodejs_version: "6" | ||
platform: | ||
- x64 | ||
- x86 | ||
cache: | ||
- "%LOCALAPPDATA%\\Yarn" | ||
install: | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
- yarn upgrade | ||
test_script: | ||
- yarn test | ||
build: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import Kitsu from '../src/main' | ||
const Kitsu = require('../lib/kitsu').default | ||
|
||
const kitsu = new Kitsu() | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{ | ||
"name": "kitsu", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "NodeJS wrapper for Kitsu.io's API", | ||
"license": "MIT", | ||
"author": "James Harris <[email protected]>", | ||
"scripts": { | ||
"test": "jest", | ||
"start": "yarn run example:basic && yarn run example:async && yarn run example:auth", | ||
"example:basic": "babel-node --presets env,stage-0 ./example/basic.js", | ||
"example:async": "babel-node --presets env,stage-0 ./example/async.js", | ||
"example:auth": "babel-node --presets env,stage-0 ./example/auth.js" | ||
"build": "babel src -d lib", | ||
"start": "yarn run example:basic", | ||
"example:basic": "node ./example/basic", | ||
"example:async": "babel-node ./example/async", | ||
"example:auth": "babel-node ./example/auth" | ||
}, | ||
"main": "lib/main.js", | ||
"main": "lib/kitsu.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wopian/kitsu.git" | ||
|
@@ -21,14 +22,16 @@ | |
}, | ||
"homepage": "https://github.com/wopian/kitsu#readme", | ||
"dependencies": { | ||
"camelcase": "^4.1.0", | ||
"camelcase": "~4.1.0", | ||
"client-oauth2": "~4.1.0", | ||
"got": "~7.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "~6.24.1", | ||
"babel-core": "~6.25.0", | ||
"babel-eslint": "~7.2.3", | ||
"babel-plugin-transform-runtime": "~6.23.0", | ||
"babel-preset-babili": "~0.1.4", | ||
"babel-preset-env": "~1.5.2", | ||
"babel-preset-stage-0": "~6.24.1", | ||
"eslint": "~4.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.