smart-track
Version:
A TypeScript SDK for integrating with tracking services using the Beckn protocol. Provides adapters for package tracking with built-in error handling, retry logic, and type safety.
69 lines (68 loc) • 2.03 kB
JSON
{
"name": "smart-track",
"version": "1.0.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"clean": "rm -rf dist *.tsbuildinfo",
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
"build:prod": "npm run prebuild && npm run build",
"build:package": "npm run prebuild && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"start": "node dist/index.js",
"start:prod": "NODE_ENV=production node dist/index.js",
"dev": "concurrently \"npm run watch\" \"npm run dev:server\"",
"dev:server": "nodemon --exec \"ts-node -r tsconfig-paths/register\" src/index.ts",
"dev:ts": "ts-node -r tsconfig-paths/register src/index.ts"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:Track-Smart/track-adapter.git"
},
"author": "Track Smart Team",
"license": "ISC",
"bugs": {
"url": "https://github.com/vishal-kumar3/SmartTrack/issues"
},
"homepage": "https://github.com/vishal-kumar3/SmartTrack#readme",
"description": "A TypeScript SDK for integrating with tracking services using the Beckn protocol. Provides adapters for package tracking with built-in error handling, retry logic, and type safety.",
"keywords": [
"tracking",
"beckn",
"package-tracking",
"logistics",
"typescript",
"sdk",
"adapter",
"shipping"
],
"dependencies": {
"axios": "^1.10.0",
"concurrently": "9.2.0",
"cors": "2.8.5",
"dotenv": "^17.0.0",
"smart-track": "^1.0.3",
"uuid": "^11.1.0",
"zod": "3.25.67"
},
"devDependencies": {
"@types/cors": "2.8.19",
"@types/node": "^20.6.2",
"@types/uuid": "^10.0.0",
"nodemon": "3.1.10",
"ts-node": "10.9.2",
"tsc-alias": "1.8.16",
"tsconfig-paths": "4.2.0",
"typescript": "5.8.3"
}
}