feat: Typescript for API layer (#817)

Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com>
Co-authored-by: Sebastian Rindom <seb@medusa-commerce.com>
This commit is contained in:
Oliver Windall Juhl
2021-11-18 15:19:17 +01:00
committed by GitHub
co-authored by Philip Korsholm Zakaria El Asri Kasper Fabricius Kristensen Philip Korsholm Sebastian Rindom
parent 55e200bf68
commit 373532ecbc
413 changed files with 20957 additions and 10349 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"name": "@medusajs/medusa-js",
"version": "1.0.1-canary.1",
"description": "Client for Medusa Commerce Rest API",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "tsc --build",
"test": "jest --config jestconfig.json"
},
"author": "Oliver Juhl",
"license": "MIT",
"dependencies": {
"axios": "^0.21.0",
"retry-axios": "^2.6.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/medusajs/medusa-js.git"
},
"bugs": {
"url": "https://github.com/medusajs/medusa-js/issues"
},
"devDependencies": {
"@types/jest": "^26.0.19",
"eslint": "^8.2.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"typescript": "^4.1.3"
}
}