UNPKG

@timesheet/sdk

Version:
86 lines (85 loc) 2.81 kB
{ "name": "@timesheet/sdk", "version": "1.2.0", "description": "Official TypeScript SDK for the Timesheet API", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE.md", "CHANGELOG.md" ], "scripts": { "sync-version": "node scripts/sync-version.mjs", "prebuild": "npm run sync-version", "version": "npm run sync-version && git add src/version.ts", "build": "rm -rf dist && npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "esbuild src/index.ts --bundle --platform=node --target=es2020 --outfile=dist/index.js --sourcemap --minify --external:axios --external:dayjs --external:jsonwebtoken", "build:esm": "esbuild src/index.ts --bundle --platform=node --target=es2020 --format=esm --outfile=dist/index.mjs --sourcemap --minify --external:axios --external:dayjs --external:jsonwebtoken", "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "format": "prettier --write \"src/**/*.ts\"", "format:check": "prettier --check \"src/**/*.ts\"", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build && SKIP_INTEGRATION_TESTS=true npm run test && npm run lint", "docs": "typedoc" }, "repository": { "type": "git", "url": "git+https://github.com/timesheetIO/timesheet-typescript.git" }, "keywords": [ "timesheet", "api", "sdk", "typescript", "time-tracking", "project-management", "invoicing", "team-collaboration" ], "author": "Timesheet.io <support@timesheet.io>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/timesheetIO/timesheet-typescript/issues" }, "homepage": "https://github.com/timesheetIO/timesheet-typescript#readme", "engines": { "node": ">=18.0.0" }, "dependencies": { "axios": "1.12.0", "dayjs": "^1.11.13", "jsonwebtoken": "^9.0.2" }, "devDependencies": { "@types/dotenv": "^6.1.1", "@types/jest": "^29.5.11", "@types/jsonwebtoken": "^9.0.5", "@types/nock": "^10.0.3", "@types/node": "^20.10.6", "@typescript-eslint/eslint-plugin": "^6.17.0", "@typescript-eslint/parser": "^6.17.0", "dotenv": "^16.5.0", "esbuild": "^0.27.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.2", "jest": "^29.7.0", "nock": "^14.0.5", "prettier": "^3.1.1", "ts-jest": "^29.1.1", "typedoc": "^0.25.6", "typescript": "^5.3.3" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }