mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
# 1.0.0 (2020-05-07) ### Bug Fixes * **api:** redirect to frontend on spotify auth error ([cffdded](cffddedc81)) * **cd:** typo ([b8ee62f](b8ee62ff09)) * **frontend:** fix minor styling+linting issues ([0abc594](0abc594db4)) ### Features * **api:** add health-check endpoint ([202665a](202665a510)) * **cd:** configure automated semantic releases ([8e796d7](8e796d7e78)) * **frontend:** style recent listens page ([1d5cefb](1d5cefb447)) * add docs and polish ([75d3e2e](75d3e2edbd)) * **api:** add getListens endpoint with pagination ([de6d057](de6d057f80)) * **api:** add optional spotify user whitelist ([a27fcce](a27fcce03b)) * **api:** fetch listens from spotify ([f2065d3](f2065d3f1f)) * **api:** listen on SIGTERM for graceful shutdown ([d58cb46](d58cb46f3e)) * **api:** setup database migrations ([a7c5c68](a7c5c68540)) * **api:** validate configuration ([e78c6e3](e78c6e312d)) * serve frontend from api container in prod build ([ad98ce4](ad98ce4e88)) * **api:** setup logging ([b6eef7f](b6eef7f090)) * **api:** setup nestjs ([db62d5d](db62d5d908)) * **api:** user authentication ([f253a66](f253a66f86)) * **frontend:** redo setup with ts+tailwind and implement auth+header ([05f230a](05f230a7ce)) * **frontend:** setup ([f14eda1](f14eda16ac)) * **frontend:** show page when login fails ([32dcd84](32dcd84964)) * **frontend:** show recent listens ([49bff95](49bff95ea5))
90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
"name": "@listory/api",
|
|
"version": "1.0.0",
|
|
"description": "Track your Spotify Listen History",
|
|
"author": {
|
|
"name": "Julian Tölle",
|
|
"email": "julian.toelle97@gmail.com"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"build": "nest build",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:cov": "jest --coverage",
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
"test:e2e": "jest --config ./apps/listory/test/jest-e2e.json"
|
|
},
|
|
"dependencies": {
|
|
"@hapi/joi": "^17.1.1",
|
|
"@nestjs/common": "^7.0.9",
|
|
"@nestjs/config": "^0.4.0",
|
|
"@nestjs/core": "^7.0.9",
|
|
"@nestjs/jwt": "^7.0.0",
|
|
"@nestjs/passport": "^7.0.0",
|
|
"@nestjs/platform-express": "^7.0.9",
|
|
"@nestjs/schedule": "^0.3.1",
|
|
"@nestjs/serve-static": "^2.1.0",
|
|
"@nestjs/swagger": "^4.5.4",
|
|
"@nestjs/terminus": "^7.0.1",
|
|
"@nestjs/typeorm": "^7.0.0",
|
|
"class-transformer": "^0.2.3",
|
|
"class-validator": "^0.12.2",
|
|
"nestjs-typeorm-paginate": "^2.0.3",
|
|
"passport": "^0.4.1",
|
|
"passport-jwt": "^4.0.0",
|
|
"passport-spotify": "^1.1.0",
|
|
"pg": "^8.0.3",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^3.0.2",
|
|
"rxjs": "^6.5.5",
|
|
"swagger-ui-express": "^4.1.4",
|
|
"typeorm": "^0.2.24"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^7.1.5",
|
|
"@nestjs/schematics": "^7.0.0",
|
|
"@nestjs/testing": "^7.0.9",
|
|
"@types/express": "^4.17.6",
|
|
"@types/hapi__joi": "^17.1.0",
|
|
"@types/jest": "^25.2.1",
|
|
"@types/node": "^13.13.5",
|
|
"@types/passport-jwt": "^3.0.3",
|
|
"@types/supertest": "^2.0.9",
|
|
"jest": "^25.5.4",
|
|
"prettier": "^2.0.5",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "^25.5.0",
|
|
"ts-loader": "^7.0.2",
|
|
"ts-node": "^8.10.1",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"tslint": "^6.1.2",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.3.0",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": ".",
|
|
"testRegex": ".spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"coverageDirectory": "./coverage",
|
|
"testEnvironment": "node",
|
|
"roots": [
|
|
"<rootDir>/apps/"
|
|
]
|
|
}
|
|
}
|