Files
web_sport/packages/api-client/package.json
T
2026-08-13 23:20:22 +07:00

47 lines
1.1 KiB
JSON

{
"name": "@sport/api-client",
"version": "0.0.0",
"private": true,
"description": "The single sanctioned way for any frontend to talk to the REST API.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
"clean": "rm -rf dist .turbo *.tsbuildinfo",
"lint": "eslint src",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "jest --passWithNoTests"
},
"dependencies": {
"@sport/types": "workspace:*"
},
"devDependencies": {
"@sport/config": "workspace:*",
"@sport/eslint-config": "workspace:*",
"@types/node": "^22.19.0",
"eslint": "catalog:",
"typescript": "catalog:",
"jest": "^30.2.0",
"ts-jest": "^29.4.6",
"@types/jest": "^30.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testRegex": ".*\\.spec\\.ts$"
}
}