2018-06-26 05:39:49 +00:00
|
|
|
{
|
2019-03-31 09:11:09 +00:00
|
|
|
"name": "badgen.net",
|
2018-06-26 05:39:49 +00:00
|
|
|
"description": "Badge generating service",
|
|
|
|
"author": "Amio <amio.cn@gmail.com>",
|
|
|
|
"license": "ISC",
|
2018-10-16 02:24:21 +00:00
|
|
|
"private": true,
|
2018-06-26 05:39:49 +00:00
|
|
|
"scripts": {
|
2019-07-12 02:19:41 +00:00
|
|
|
"lint": "standard && standard *.ts",
|
2019-07-12 08:18:18 +00:00
|
|
|
"build:api": "tsc -p server.tsconfig.json",
|
|
|
|
"build:web": "next build && next export -o dist",
|
|
|
|
"build": "npm run tools && npm run build:web && npm run build:api",
|
2019-06-07 12:49:58 +00:00
|
|
|
"dev": "npm run build && npm run dev:api",
|
|
|
|
"dev:api": "nodemon --config nodemon.json index.ts",
|
2018-09-04 07:00:54 +00:00
|
|
|
"dev:web": "next",
|
2019-07-12 04:26:10 +00:00
|
|
|
"tools": "ts-node -TP server.tsconfig.json tools/gen-examples.ts",
|
2019-06-05 06:47:05 +00:00
|
|
|
"now-build": "npm run build",
|
2018-08-03 14:40:44 +00:00
|
|
|
"pretest": "npm run lint",
|
2018-07-31 09:51:37 +00:00
|
|
|
"test": "tap test/*.js --reporter spec -j12",
|
2019-06-07 12:49:58 +00:00
|
|
|
"start": "node dist/index.js"
|
2018-06-26 05:39:49 +00:00
|
|
|
},
|
2018-09-06 09:54:28 +00:00
|
|
|
"standard": {
|
2019-07-12 02:19:41 +00:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint/eslint-plugin"
|
|
|
|
]
|
2018-09-06 09:54:28 +00:00
|
|
|
},
|
2018-06-26 05:39:49 +00:00
|
|
|
"dependencies": {
|
2019-07-06 09:52:12 +00:00
|
|
|
"@sentry/integrations": "^5.5.0",
|
|
|
|
"@sentry/node": "^5.5.0",
|
2019-07-06 10:15:06 +00:00
|
|
|
"badgen": "^2.8.2",
|
2019-06-30 03:24:37 +00:00
|
|
|
"badgen-icons": "^0.11",
|
2018-12-25 02:39:49 +00:00
|
|
|
"byte-size": "^5.0.1",
|
2019-05-10 03:37:08 +00:00
|
|
|
"cheerio": "^1.0.0-rc.3",
|
2018-10-19 03:02:19 +00:00
|
|
|
"chrome-webstore": "^1.2.1",
|
2018-12-11 02:22:10 +00:00
|
|
|
"date-fns": "^1.30.1",
|
2019-01-18 02:08:49 +00:00
|
|
|
"got": "^9.6.0",
|
2018-09-07 07:13:08 +00:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2019-05-10 03:37:08 +00:00
|
|
|
"micro": "^9.3.4",
|
2019-05-25 02:48:11 +00:00
|
|
|
"millify": "^3.1.0",
|
2019-06-22 07:25:31 +00:00
|
|
|
"my-way": "^1.0.1",
|
2018-10-15 09:44:49 +00:00
|
|
|
"react-debounce-render": "^5.0.0",
|
2019-07-31 03:34:58 +00:00
|
|
|
"semver": "^6.3.0",
|
2019-07-12 03:03:40 +00:00
|
|
|
"serve-handler": "^6.1.0",
|
2019-07-31 03:34:58 +00:00
|
|
|
"serve-marked": "^2.0.1"
|
2018-06-26 05:39:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/cheerio": "^0.22.12",
|
|
|
|
"@types/fs-extra": "^8.0.0",
|
2019-07-31 03:34:58 +00:00
|
|
|
"@types/got": "^9.6.5",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
|
|
"@types/micro": "^7.3.3",
|
|
|
|
"@types/node": "^12.6.8",
|
2019-07-12 04:26:10 +00:00
|
|
|
"@types/react": "^16.8.23",
|
2019-07-31 03:34:58 +00:00
|
|
|
"@types/react-dom": "^16.8.5",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/semver": "^6.0.1",
|
|
|
|
"@types/supertest": "^2.0.8",
|
2019-07-31 03:34:58 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.13.0",
|
|
|
|
"@typescript-eslint/parser": "^1.13.0",
|
2019-05-25 12:19:11 +00:00
|
|
|
"@zeit/next-typescript": "^1.1.1",
|
2019-07-31 03:34:58 +00:00
|
|
|
"eslint": "^6.1.0",
|
2019-06-30 03:24:37 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-07-18 08:31:11 +00:00
|
|
|
"next": "^9.0.2",
|
2019-06-07 12:49:58 +00:00
|
|
|
"nodemon": "^1.19.1",
|
2019-03-31 06:03:29 +00:00
|
|
|
"react": "^16.8.6",
|
2019-03-31 09:02:23 +00:00
|
|
|
"react-dom": "^16.8.6",
|
2019-07-31 03:34:58 +00:00
|
|
|
"standard": "^13.1.0",
|
2019-03-24 15:52:07 +00:00
|
|
|
"supertest": "^4.0.2",
|
2019-07-31 03:34:58 +00:00
|
|
|
"tap": "^14.5.0",
|
2019-06-22 07:25:31 +00:00
|
|
|
"ts-node": "^8.3.0",
|
2019-07-12 03:03:40 +00:00
|
|
|
"typescript": "^3.5.3"
|
2018-07-20 09:43:07 +00:00
|
|
|
}
|
2018-06-26 05:39:49 +00:00
|
|
|
}
|