diff --git a/README.md b/README.md index e12effc..c46ca44 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # SwiftChain_Backend +setup linked: 1,3,2 + **SwiftChain_Backend** is the core API service for **SwiftChain**, a Blockchain-Powered Logistics & Escrow Delivery Platform. It connects individuals, businesses, and independent drivers in a decentralized logistics economy, ensuring trust through escrow payments and smart contracts. --- diff --git a/package.json b/package.json index eeeb8c4..7245e2f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "start": "node dist/server.js", "lint": "eslint . --ext .ts", "format": "prettier --write .", - "test": "jest" + "test": "jest", + "prepare": "husky install" }, "dependencies": { "bcryptjs": "2.4.3", @@ -53,5 +54,11 @@ "ts-jest": "^29.4.11", "ts-node": "10.9.2", "typescript": "5.2.2" + }, + "lint-staged": { + "*.ts": [ + "eslint --fix", + "prettier --write" + ] } }