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": {
|
2019-11-16 03:06:19 +00:00
|
|
|
"@sentry/integrations": "^5.8.0",
|
|
|
|
"@sentry/node": "^5.9.0",
|
2019-10-25 05:03:32 +00:00
|
|
|
"badgen": "^3.0.1",
|
2019-10-01 16:17:30 +00:00
|
|
|
"badgen-icons": "^0.12.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",
|
2018-10-19 03:02:19 +00:00
|
|
|
"chrome-webstore": "^1.2.1",
|
2019-11-21 05:53:03 +00:00
|
|
|
"date-fns": "^2.8.0",
|
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-10-02 05:43:17 +00:00
|
|
|
"millify": "^3.1.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",
|
2019-07-31 03:34:58 +00:00
|
|
|
"semver": "^6.3.0",
|
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-11-16 03:06:19 +00:00
|
|
|
"@types/cheerio": "^0.22.14",
|
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",
|
2019-11-21 05:53:03 +00:00
|
|
|
"@types/node": "^12.12.11",
|
2019-10-25 14:30:19 +00:00
|
|
|
"@types/react": "^16.9.11",
|
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",
|
2019-11-21 05:53:03 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.8.0",
|
|
|
|
"@typescript-eslint/parser": "^2.8.0",
|
2019-05-25 12:19:11 +00:00
|
|
|
"@zeit/next-typescript": "^1.1.1",
|
2019-10-25 14:30:19 +00:00
|
|
|
"csstype": "^2.6.7",
|
2019-11-16 03:06:19 +00:00
|
|
|
"eslint": "^6.6.0",
|
2019-10-14 18:21:12 +00:00
|
|
|
"eslint-plugin-react": "^7.16.0",
|
2019-06-30 03:24:37 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-11-21 05:53:03 +00:00
|
|
|
"next": "^9.1.4",
|
|
|
|
"nodemon": "^2.0.0",
|
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",
|
2019-11-16 03:06:19 +00:00
|
|
|
"ts-node": "^8.5.2",
|
|
|
|
"typescript": "^3.7.2"
|
2019-11-20 09:52:15 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "10.x"
|
2018-07-20 09:43:07 +00:00
|
|
|
}
|
2018-06-26 05:39:49 +00:00
|
|
|
}
|