major refactoring - well almost a rewrite

* changed the output of --list command to be more sane
* use promises and simplify API of swm.js
* simplify swm.js a bit
This commit is contained in:
Thomas Ruoff
2019-11-14 08:42:52 +01:00
parent f4ccfe4429
commit 9160bd1c82
5 changed files with 2873 additions and 121 deletions

View File

@@ -14,7 +14,10 @@
"type": "git",
"url": "git+https://github.com/tomru/switchmon.git"
},
"keywords": ["xrandr", "monitor"],
"keywords": [
"xrandr",
"monitor"
],
"author": "Thomas Ruoff",
"license": "MIT",
"bugs": {
@@ -28,6 +31,7 @@
},
"devDependencies": {
"coveralls": "^2.11.8",
"eslint": "^6.6.0",
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.2.0",