kopia lustrzana https://github.com/badgen/badgen.net
52 wiersze
1.6 KiB
JSON
52 wiersze
1.6 KiB
JSON
{
|
|
"name": "badgen-service",
|
|
"private": true,
|
|
"description": "Badge generating service",
|
|
"author": "Amio <amio.cn@gmail.com>",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"lint": "standard",
|
|
"dev": "micro-dev service.js -s",
|
|
"dev:web": "next",
|
|
"build": "NODE_ENV=production next build && next export -o public",
|
|
"pretest": "npm run lint",
|
|
"test": "tap test/*.js --reporter spec -j12",
|
|
"start": "node service.js",
|
|
"predeploy": "now -T amio inspect badgen.net && now rm badgen-service --safe -y -T amio || true",
|
|
"deploy": "now -T amio -e API_HOST='https://api.badgen.net' -e GH_TOKEN='@badgen-gh-token' -e SENTRY_URI='@badgen-sentry-uri' -e TRACKING_GA='@badgen-tracking-ga'",
|
|
"postdeploy": "now -T amio alias",
|
|
"canary": "now -T amio -e GH_TOKEN='@badgen-gh-token' && now -T amio alias badgen-canary"
|
|
},
|
|
"standard": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.18.0",
|
|
"badgen": "^2.5.0",
|
|
"byte-size": "^4.0.3",
|
|
"cheerio": "^1.0.0-rc.2",
|
|
"chrome-webstore": "^1.0.0",
|
|
"date-fns": "^1.29.0",
|
|
"got": "^9.2.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"micro": "^9.3.3",
|
|
"micro-fork": "^0.1.0",
|
|
"millify": "^2.0.1",
|
|
"raven": "^2.6.4",
|
|
"semver": "^5.5.1",
|
|
"serve-handler": "^5.0.2",
|
|
"serve-marked": "^0.3.3",
|
|
"xml2js": "^0.4.19"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^9.0.0",
|
|
"micro-dev": "^3.0.0",
|
|
"next": "^7.0.0-canary.16",
|
|
"react": "^16.5.1",
|
|
"react-dom": "^16.5.1",
|
|
"standard": "^12.0.1",
|
|
"supertest": "^3.3.0",
|
|
"tap": "^12.0.1"
|
|
}
|
|
}
|