kopia lustrzana https://github.com/badgen/badgen
Add now cleanup script
rodzic
31b56b2f4e
commit
5cc2e5c6b9
2
index.js
2
index.js
|
@ -9,7 +9,7 @@ module.exports = function ({subject, status, color = '#4C1'}) {
|
|||
|
||||
const stTextWidth = stl * charWidth
|
||||
const stRectWidth = stTextWidth + 14
|
||||
const stTextCenter = sbRectWidth + stRectWidth / 2
|
||||
const stTextCenter = sbRectWidth + stRectWidth / 2 - 1
|
||||
|
||||
const width = sbRectWidth + stRectWidth
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node service.js",
|
||||
"predeploy": "now rm badgen --safe -T badgen",
|
||||
"deploy": "now -T badgen --public && now -T badgen alias"
|
||||
},
|
||||
"author": "Amio <amio.cn@gmail.com>",
|
||||
|
|
Ładowanie…
Reference in New Issue