Add simple listing of sonos devices and basic Dockefile for running it

This commit is contained in:
simojenki
2021-01-29 12:34:02 +11:00
parent da61f079bc
commit 769a3e50d4
14 changed files with 935 additions and 45 deletions

View File

@@ -6,24 +6,30 @@
"author": "simojenki <simojenki@users.noreply.github.com>",
"license": "GPL-3.0-only",
"dependencies": {
"@svrooij/sonos": "^2.3.0",
"@types/express": "^4.17.11",
"@types/node": "^14.14.22",
"axios": "^0.21.1",
"eta": "^1.12.1",
"express": "^4.17.1",
"typescript": "^4.1.3"
"ts-md5": "^1.2.7",
"typescript": "^4.1.3",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"chai": "^4.2.0",
"ts-node": "^9.1.1",
"mocha": "^8.2.1",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"ts-mockito": "^2.6.1"
"ts-mockito": "^2.6.1",
"ts-node": "^9.1.1"
},
"scripts": {
"build": "tsc",
"start": "node ./bin/app.js",
"dev": "ts-node ./src/app.ts",
"start": "node ./build/app.js",
"dev": "nodemon ./src/app.ts",
"test": "nyc ./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
"testw": "mocha --require ts-node/register --watch --watch-files tests/**/* tests/**/*.test.ts"
}