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",
|
2020-01-25 09:52:51 +00:00
|
|
|
"dev:api": "npm run build:api -- -w & nodemon -w dist dist/index.js",
|
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-01-18 16:08:00 +00:00
|
|
|
"@sentry/integrations": "^5.11.1",
|
|
|
|
"@sentry/node": "^5.11.1",
|
2019-10-25 05:03:32 +00:00
|
|
|
"badgen": "^3.0.1",
|
2019-12-12 03:42:26 +00:00
|
|
|
"badgen-icons": "^0.13.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-01-11 13:14:11 +00:00
|
|
|
"chrome-webstore": "^1.3.0",
|
|
|
|
"date-fns": "^2.9.0",
|
2020-01-25 09:52:51 +00:00
|
|
|
"got": "^10.3.0",
|
2020-01-21 15:58:58 +00:00
|
|
|
"ky": "^0.16.2",
|
|
|
|
"ky-universal": "^0.3.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-12-12 03:43:39 +00:00
|
|
|
"millify": "^3.1.3",
|
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-01-18 16:08:00 +00:00
|
|
|
"semver": "^7.1.1",
|
2019-10-01 16:21:00 +00:00
|
|
|
"serve-handler": "^6.1.2",
|
2019-10-28 16:19:11 +00:00
|
|
|
"serve-marked": "^2.0.2",
|
|
|
|
"url-parse": "^1.4.7"
|
2018-06-26 05:39:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-12-07 16:07:04 +00:00
|
|
|
"@types/cheerio": "^0.22.15",
|
2019-10-25 14:30:19 +00:00
|
|
|
"@types/fs-extra": "^8.0.1",
|
2019-11-16 03:06:19 +00:00
|
|
|
"@types/got": "^9.6.9",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
|
|
"@types/micro": "^7.3.3",
|
2020-01-18 16:08:00 +00:00
|
|
|
"@types/node": "^12.12.25",
|
2020-01-11 13:14:11 +00:00
|
|
|
"@types/react": "^16.9.17",
|
2019-11-16 03:06:19 +00:00
|
|
|
"@types/react-dom": "^16.9.4",
|
|
|
|
"@types/semver": "^6.2.0",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/supertest": "^2.0.8",
|
2019-10-28 16:19:11 +00:00
|
|
|
"@types/url-parse": "^1.4.3",
|
2020-01-18 16:08:00 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.16.0",
|
|
|
|
"@typescript-eslint/parser": "^2.16.0",
|
2019-05-25 12:19:11 +00:00
|
|
|
"@zeit/next-typescript": "^1.1.1",
|
2020-01-11 13:14:11 +00:00
|
|
|
"csstype": "^2.6.8",
|
|
|
|
"eslint": "^6.8.0",
|
2020-01-18 16:08:00 +00:00
|
|
|
"eslint-plugin-react": "^7.18.0",
|
2019-06-30 03:24:37 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
2020-01-18 16:08:00 +00:00
|
|
|
"next": "^9.2.0",
|
2019-12-12 03:43:39 +00:00
|
|
|
"nodemon": "^2.0.2",
|
2019-11-16 03:06:19 +00:00
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
2019-03-24 15:52:07 +00:00
|
|
|
"supertest": "^4.0.2",
|
2020-01-18 16:08:00 +00:00
|
|
|
"ts-node": "^8.6.2",
|
|
|
|
"typescript": "^3.7.5"
|
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
|
|
|
}
|