From 4dbb5cd21a7c14196a3be59ef083c3a4aa22bf0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dandelion=20Man=C3=A9?= Date: Mon, 26 Feb 2018 11:24:00 -0800 Subject: [PATCH] Initial commit of the backend project. (#30) Sets up package.json, .gitignore, and adds octokit/rest.js as a dependency. --- backend/.gitignore | 20 ++++++++++++++++++ backend/package.json | 13 ++++++++++++ backend/yarn.lock | 49 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 backend/.gitignore create mode 100644 backend/package.json create mode 100644 backend/yarn.lock diff --git a/backend/.gitignore b/backend/.gitignore new file mode 100644 index 0000000..2785b06 --- /dev/null +++ b/backend/.gitignore @@ -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* diff --git a/backend/package.json b/backend/package.json new file mode 100644 index 0000000..1c3a189 --- /dev/null +++ b/backend/package.json @@ -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" + } +} diff --git a/backend/yarn.lock b/backend/yarn.lock new file mode 100644 index 0000000..9be05ad --- /dev/null +++ b/backend/yarn.lock @@ -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"