Skip to content

Commit

Permalink
➕ Add brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
epilande committed Dec 5, 2016
1 parent 81d2094 commit 08694a5
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 8 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"npm": ">= 3.x"
},
"dependencies": {
"brightness": "^3.0.0",
"electron": "^1.4.10",
"fix-path": "^2.1.0",
"screen-brightness": "^0.0.1"
Expand Down
89 changes: 81 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ assert-plus@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"

[email protected]:
version "2.0.1"
resolved "https://registry.yarnpkg.com/async/-/async-2.0.1.tgz#b709cc0280a9c36f09f4536be823c838a9049e25"
dependencies:
lodash "^4.8.0"

async@^1.4.0:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
Expand Down Expand Up @@ -172,14 +178,14 @@ block-stream@*:
dependencies:
inherits "~2.0.0"

bluebird@*, bluebird@^3.1.1, bluebird@^3.3.5:
version "3.4.6"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.6.tgz#01da8d821d87813d158967e743d5fe6c62cf8c0f"

bluebird@^2.9.30:
version "2.11.0"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.11.0.tgz#534b9033c022c9579c56ba3b3e5a5caafbb650e1"

bluebird@^3.1.1, bluebird@^3.3.5:
version "3.4.6"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.6.tgz#01da8d821d87813d158967e743d5fe6c62cf8c0f"

[email protected]:
version "2.10.1"
resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f"
Expand All @@ -193,6 +199,16 @@ brace-expansion@^1.0.0:
balanced-match "^0.4.1"
concat-map "0.0.1"

brightness@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/brightness/-/brightness-3.0.0.tgz#20acfdc0c385bc92c67ab6bd17f47704f08ca8a8"
dependencies:
nircmd "^2.0.0"
osx-brightness "^4.0.0"
pify "^2.3.0"
pinkie-promise "^2.0.0"
wmi-client "^0.2.0"

buffer-shims@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
Expand Down Expand Up @@ -779,6 +795,12 @@ get-stream@^2.2.0:
object-assign "^4.0.1"
pinkie-promise "^2.0.0"

getos@^2.4.0:
version "2.8.2"
resolved "https://registry.yarnpkg.com/getos/-/getos-2.8.2.tgz#365e7e3b2cf74cb85ebb6d1d8c76633580cee534"
dependencies:
async "2.0.1"

getpass@^0.1.1:
version "0.1.6"
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6"
Expand Down Expand Up @@ -935,6 +957,10 @@ imurmurhash@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"

in-range@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/in-range/-/in-range-1.0.0.tgz#093d863a11cc6d042a967ec366b648720f360766"

indent-string@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80"
Expand Down Expand Up @@ -1060,6 +1086,12 @@ json-parse-helpfulerror@^1.0.2:
dependencies:
jju "^1.1.0"

json-promise@^1.1.8:
version "1.1.8"
resolved "https://registry.yarnpkg.com/json-promise/-/json-promise-1.1.8.tgz#7b74120422d16ddb449aa3170403fc69ad416402"
dependencies:
bluebird "*"

[email protected]:
version "0.2.3"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
Expand Down Expand Up @@ -1188,6 +1220,10 @@ lodash@^3.10.1, lodash@^3.5.0:
version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

lodash@^4.8.0:
version "4.17.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"

loud-rejection@^1.0.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
Expand All @@ -1206,7 +1242,7 @@ map-obj@^1.0.0, map-obj@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"

meow@^3.1.0:
meow@^3.1.0, meow@^3.4.1:
version "3.7.0"
resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb"
dependencies:
Expand Down Expand Up @@ -1255,13 +1291,13 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.2, minimist@^1.1.3, minimist@^1.
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"

[email protected]:
[email protected], mkdirp@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12"
dependencies:
minimist "0.0.8"

"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
"mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
dependencies:
Expand All @@ -1283,6 +1319,10 @@ [email protected]:
version "0.7.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765"

multi-typeof@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/multi-typeof/-/multi-typeof-1.0.0.tgz#85360707d9a884b2a1e8ad22bdde340e291d206d"

mute-stream@~0.0.4:
version "0.0.6"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db"
Expand All @@ -1295,6 +1335,14 @@ ncp@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"

nircmd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/nircmd/-/nircmd-2.0.0.tgz#07bc14c25bdd9be9b6a30c75d88b85fc812bc68e"
dependencies:
meow "^3.4.1"
multi-typeof "^1.0.0"
pinkie-promise "^1.0.0"

node-gyp@^3.0.3, node-gyp@~3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.4.0.tgz#dda558393b3ecbbe24c9e6b8703c71194c63fa36"
Expand Down Expand Up @@ -1577,6 +1625,15 @@ osenv@0, osenv@~0.1.3:
os-homedir "^1.0.0"
os-tmpdir "^1.0.0"

osx-brightness@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/osx-brightness/-/osx-brightness-4.0.0.tgz#7eca90dc89b5f8c2c98b659b38e4fee984975d03"
dependencies:
in-range "^1.0.0"
json-promise "^1.1.8"
pify "^2.2.0"
pinkie-promise "^1.0.0"

p-limit@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc"
Expand Down Expand Up @@ -1639,16 +1696,26 @@ pend@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"

pify@^2.0.0:
pify@^2.0.0, pify@^2.2.0, pify@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"

pinkie-promise@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-1.0.0.tgz#d1da67f5482563bb7cf57f286ae2822ecfbf3670"
dependencies:
pinkie "^1.0.0"

pinkie-promise@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
dependencies:
pinkie "^2.0.0"

pinkie@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-1.0.0.tgz#5a47f28ba1015d0201bda7bf0f358e47bec8c7e4"

pinkie@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
Expand Down Expand Up @@ -2345,6 +2412,12 @@ window-size@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876"

wmi-client@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/wmi-client/-/wmi-client-0.2.0.tgz#485987d09bacddc5da72e95b94b40bd491c7aa5e"
dependencies:
getos "^2.4.0"

wrap-ansi@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"
Expand Down

0 comments on commit 08694a5

Please sign in to comment.