diff --git a/package.json b/package.json index 4f11ff60..b039a84e 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,7 @@ "yargs": "8.0.2" }, "dependencies": { + "axios": "0.17.1", "bootstrap": "4.0.0-alpha.6", "firebase": "4.3.1", "flat-ui": "2.1.1", diff --git a/src/api/api.js b/src/api/api.js new file mode 100644 index 00000000..298f775d --- /dev/null +++ b/src/api/api.js @@ -0,0 +1,6 @@ +/** + * @module api/api + */ +import axios from 'axios'; + +export default axios; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index a6447aa4..965043f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -405,6 +405,13 @@ axios@^0.16.2: follow-redirects "^1.2.3" is-buffer "^1.1.5" +axios@^0.17.1: + version "0.17.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.17.1.tgz#2d8e3e5d0bdbd7327f91bc814f5c57660f81824d" + dependencies: + follow-redirects "^1.2.5" + is-buffer "^1.1.5" + babel-code-frame@^6.11.0, babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" @@ -3019,6 +3026,12 @@ follow-redirects@^1.2.3: dependencies: debug "^2.4.5" +follow-redirects@^1.2.5: + version "1.2.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.2.6.tgz#4dcdc7e4ab3dd6765a97ff89c3b4c258117c79bf" + dependencies: + debug "^3.1.0" + for-each@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.2.tgz#2c40450b9348e97f281322593ba96704b9abd4d4" @@ -3873,7 +3886,7 @@ ignore@^3.3.3: version "3.3.5" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6" -import-glob-loader@^1.1.0: +import-glob-loader@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/import-glob-loader/-/import-glob-loader-1.1.0.tgz#98d84c0f661c8ba9f821d9ddb7c6b6dc8e97eca2" dependencies: