Sets up the basic structure for integrating with the Strava API. This includes: - Adds .devcontainer configuration for consistent development environment. - Configures eslint and prettier for code quality and formatting. - Implements secure credential management using Infisical. - Creates basic Strava client and request classes with authentication handling. - Sets up basic express routes to return data from the Strava API This commit lays the foundation for future enhancements such as fetching and displaying activity data.
38 lines
952 B
JSON
38 lines
952 B
JSON
{
|
|
"name": "strava-api",
|
|
"version": "1.0.0",
|
|
"description": "API to communicate with Strava account",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"dev": "nodemon --exec ts-node src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"lint": "eslint src --ext .ts",
|
|
"lint:fix": "eslint src --ext .ts --fix",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [
|
|
"strava",
|
|
"api"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@infisical/sdk": "^4.0.6",
|
|
"@types/express": "^5.0.3",
|
|
"effect": "^3.18.4",
|
|
"express": "^5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.0",
|
|
"@typescript-eslint/parser": "^6.13.0",
|
|
"eslint": "^8.54.0",
|
|
"nodemon": "^3.0.2",
|
|
"prettier": "^3.1.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.3.2"
|
|
}
|
|
}
|