mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"name": "@tcgdex/sdk",
|
|
"version": "2.6.0-beta.4",
|
|
"main": "./dist/tcgdex.node.js",
|
|
"module": "./dist/tcgdex.node.mjs",
|
|
"types": "./dist/tcgdex.node.d.ts",
|
|
"browser": "./dist/tcgdex.browser.global.js",
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./dist/tcgdex.node.d.ts",
|
|
"default": "./dist/tcgdex.node.js"
|
|
},
|
|
"import": {
|
|
"types": "./dist/tcgdex.node.d.mts",
|
|
"default": "./dist/tcgdex.node.mjs"
|
|
}
|
|
}
|
|
},
|
|
"description": "Communicate with the Open Source TCGdex API in Javascript/Typescript using the SDK",
|
|
"repository": "https://github.com/tcgdex/javascript-sdk.git",
|
|
"homepage": "https://github.com/tcgdex/javascript-sdk",
|
|
"author": "Aviortheking",
|
|
"keywords": [
|
|
"tcgdex",
|
|
"pokemon",
|
|
"trading",
|
|
"card",
|
|
"tcg",
|
|
"sdk",
|
|
"api",
|
|
"typescript",
|
|
"javascript",
|
|
"typing",
|
|
"browser",
|
|
"node"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/core": "^7",
|
|
"@babel/preset-env": "^7",
|
|
"@babel/preset-typescript": "^7",
|
|
"@dzeio/config": "^1",
|
|
"@types/node-fetch": "^2",
|
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
"@typescript-eslint/parser": "^5",
|
|
"eslint": "^8",
|
|
"jest": "^29",
|
|
"tsup": "^7",
|
|
"typescript": "^5"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"dependencies": {
|
|
"@cachex/memory": "^1",
|
|
"@cachex/web-storage": "^1",
|
|
"@dzeio/object-util": "^1",
|
|
"isomorphic-unfetch": "^3"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "node scripts/export-version-number.js",
|
|
"build": "rm -rf dist && tsup ./src/tcgdex.node.ts --format cjs,esm --dts --clean && tsup ./src/tcgdex.browser.ts --format iife --global-name TCGdex --sourcemap",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "eslint",
|
|
"test": "jest --coverage"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"jest": {
|
|
"testTimeout": 30000
|
|
}
|
|
}
|