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-08-30 03:26:06 +00:00
|
|
|
"lint": "eslint --ext .js,.ts,.jsx .",
|
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-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": {
|
2020-10-19 06:03:00 +00:00
|
|
|
"@sentry/integrations": "^5.26.0",
|
|
|
|
"@sentry/node": "^5.26.0",
|
2020-12-13 08:45:44 +00:00
|
|
|
"badgen": "^3.2.2",
|
2021-02-08 06:24:56 +00:00
|
|
|
"badgen-icons": "^0.20.0",
|
2019-11-21 05:53:03 +00:00
|
|
|
"byte-size": "^6.2.0",
|
2019-05-10 03:37:08 +00:00
|
|
|
"cheerio": "^1.0.0-rc.3",
|
2020-09-11 11:44:56 +00:00
|
|
|
"date-fns": "^2.16.1",
|
2020-04-15 14:11:48 +00:00
|
|
|
"got": "^10.7.0",
|
2020-05-08 15:30:53 +00:00
|
|
|
"haxe-rpc-client": "^1.0.0",
|
2020-10-07 13:07:51 +00:00
|
|
|
"humanize-duration": "^3.24.0",
|
2018-09-07 07:13:08 +00:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2020-04-19 15:45:12 +00:00
|
|
|
"measurement-protocol": "^0.1.1",
|
2019-05-10 03:37:08 +00:00
|
|
|
"micro": "^9.3.4",
|
2020-09-11 11:44:56 +00:00
|
|
|
"millify": "^3.3.0",
|
2019-11-21 05:53:03 +00:00
|
|
|
"my-way": "^2.0.0",
|
2019-11-20 16:35:05 +00:00
|
|
|
"original-url": "^1.2.3",
|
2018-10-15 09:44:49 +00:00
|
|
|
"react-debounce-render": "^5.0.0",
|
2020-04-15 14:11:48 +00:00
|
|
|
"semver": "^7.3.2",
|
2020-06-06 08:36:10 +00:00
|
|
|
"serve-handler": "^6.1.3",
|
2020-05-23 14:57:54 +00:00
|
|
|
"serve-marked": "^2.0.3",
|
2020-05-20 10:19:43 +00:00
|
|
|
"url-parse": "^1.4.7",
|
2020-10-19 06:03:00 +00:00
|
|
|
"webextension-store-meta": "^1.0.3",
|
2020-05-20 10:19:43 +00:00
|
|
|
"yaml": "^1.10.0"
|
2018-06-26 05:39:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-02-08 06:24:56 +00:00
|
|
|
"@babel/core": "^7.12.13",
|
2020-10-07 13:07:51 +00:00
|
|
|
"@types/cheerio": "^0.22.22",
|
2020-10-19 06:03:00 +00:00
|
|
|
"@types/fs-extra": "^9.0.2",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
|
|
"@types/micro": "^7.3.3",
|
2021-02-08 06:24:56 +00:00
|
|
|
"@types/node": "^12.19.16",
|
2020-10-19 06:03:00 +00:00
|
|
|
"@types/react": "^16.9.53",
|
2020-05-23 14:57:54 +00:00
|
|
|
"@types/react-dom": "^16.9.8",
|
2020-10-07 13:07:51 +00:00
|
|
|
"@types/semver": "^7.3.4",
|
2020-07-22 07:19:19 +00:00
|
|
|
"@types/supertest": "^2.0.10",
|
2019-10-28 16:19:11 +00:00
|
|
|
"@types/url-parse": "^1.4.3",
|
2020-10-19 06:03:00 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.4.1",
|
|
|
|
"@typescript-eslint/parser": "^4.4.1",
|
2019-05-25 12:19:11 +00:00
|
|
|
"@zeit/next-typescript": "^1.1.1",
|
2020-09-11 11:44:56 +00:00
|
|
|
"csstype": "^2.6.13",
|
2020-01-11 13:14:11 +00:00
|
|
|
"eslint": "^6.8.0",
|
2020-10-19 06:03:00 +00:00
|
|
|
"eslint-plugin-react": "^7.21.4",
|
2020-06-06 08:36:10 +00:00
|
|
|
"fs-extra": "^9.0.1",
|
2020-10-19 06:03:00 +00:00
|
|
|
"next": "^9.5.5",
|
|
|
|
"nodemon": "^2.0.5",
|
|
|
|
"react": "^16.14.0",
|
|
|
|
"react-dom": "^16.14.0",
|
2020-10-07 13:07:51 +00:00
|
|
|
"supertest": "^5.0.0",
|
|
|
|
"ts-node": "^9.0.0",
|
|
|
|
"typescript": "^4.0.3"
|
2019-11-20 09:52:15 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2019-11-28 16:42:07 +00:00
|
|
|
"node": "12.x"
|
2018-07-20 09:43:07 +00:00
|
|
|
}
|
2018-06-26 05:39:49 +00:00
|
|
|
}
|