Initial commit of the backend project. (#30)

Sets up package.json, .gitignore, and adds octokit/rest.js as a dependency.
This commit is contained in:
Dandelion Mané 2018-02-26 11:24:00 -08:00 committed by GitHub
parent 32220148c0
commit 4dbb5cd21a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 82 additions and 0 deletions

20
backend/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# production
/build
# misc
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

13
backend/package.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "sourcecred-backend",
"version": "0.1.0",
"description": "Backend for SourceCred",
"main": "index.js",
"repository": "https://github.com/SourceCred/SourceCred",
"author": "dandelionmane,wchargin",
"license": "MIT",
"private": true,
"dependencies": {
"@octokit/rest": "octokit/rest.js"
}
}

49
backend/yarn.lock Normal file
View File

@ -0,0 +1,49 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@octokit/rest@octokit/rest.js":
version "0.0.0-semantically-released"
resolved "https://codeload.github.com/octokit/rest.js/tar.gz/4fbc49bc7686864c302c00ea35462420e9fa1da0"
dependencies:
before-after-hook "^1.1.0"
btoa-lite "^1.0.0"
debug "^3.1.0"
is-array-buffer "^1.0.0"
is-stream "^1.1.0"
lodash "^4.17.4"
url-template "^2.0.8"
before-after-hook@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-1.1.0.tgz#83165e15a59460d13702cb8febd6a1807896db5a"
btoa-lite@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337"
debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
dependencies:
ms "2.0.0"
is-array-buffer@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-1.0.0.tgz#f32497a0509d109423f472003f98bab6a8ea34cb"
is-stream@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
lodash@^4.17.4:
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
ms@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
url-template@^2.0.8:
version "2.0.8"
resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21"