mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@tcgdex/sdk",
|
|
"version": "2.4.9",
|
|
"main": "./dist/cjs/tcgdex.node.js",
|
|
"module": "./dist/modules/tcgdex.node.js",
|
|
"types": "./dist/types/tcgdex.d.ts",
|
|
"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"
|
|
],
|
|
"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",
|
|
"esbuild": "^0.16.3",
|
|
"eslint": "^8",
|
|
"jest": "^29",
|
|
"typescript": "^4"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"dependencies": {
|
|
"isomorphic-unfetch": "^3",
|
|
"unfetch": "^4"
|
|
},
|
|
"scripts": {
|
|
"prebuild": "node scripts/export-version-number.js",
|
|
"build": "npm run build:cjs && npm run build:browser && npm run build:es2015",
|
|
"build:cjs": "tsc --project tsconfig.json",
|
|
"build:es2015": "tsc --project tsconfig.es2015.json",
|
|
"build:browser": "esbuild ./src/tcgdex.browser.ts --bundle --minify --sourcemap --target=es2016,chrome90,firefox78,safari14,ios13,edge90 --outfile=dist/tcgdex.browser.js",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "eslint",
|
|
"test": "jest --coverage"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"jest": {
|
|
"testTimeout": 30000
|
|
}
|
|
}
|