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-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-08-21 15:01:22 +00:00
|
|
|
"@sentry/integrations": "^5.6.1",
|
|
|
|
"@sentry/node": "^5.6.2",
|
2019-10-04 09:27:30 +00:00
|
|
|
"badgen": "^3.0.0",
|
2019-10-01 16:17:30 +00:00
|
|
|
"badgen-icons": "^0.12.0",
|
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",
|
2019-10-01 16:21:00 +00:00
|
|
|
"date-fns": "^2.4.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-10-02 05:43:17 +00:00
|
|
|
"millify": "^3.1.0",
|
2019-08-24 08:12:26 +00:00
|
|
|
"my-way": "^1.0.2",
|
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-08-24 08:12:26 +00:00
|
|
|
"serve-marked": "^2.0.2"
|
2018-06-26 05:39:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-08-21 15:01:22 +00:00
|
|
|
"@types/cheerio": "^0.22.13",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/fs-extra": "^8.0.0",
|
2019-08-21 15:01:22 +00:00
|
|
|
"@types/got": "^9.6.7",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
|
|
"@types/micro": "^7.3.3",
|
2019-10-04 09:28:32 +00:00
|
|
|
"@types/node": "^12.7.11",
|
|
|
|
"@types/react": "^16.9.5",
|
2019-10-01 16:21:00 +00:00
|
|
|
"@types/react-dom": "^16.9.1",
|
|
|
|
"@types/semver": "^6.0.2",
|
2019-07-18 08:20:19 +00:00
|
|
|
"@types/supertest": "^2.0.8",
|
2019-10-01 16:21:00 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.3.2",
|
|
|
|
"@typescript-eslint/parser": "^2.3.2",
|
2019-05-25 12:19:11 +00:00
|
|
|
"@zeit/next-typescript": "^1.1.1",
|
2019-10-04 12:45:52 +00:00
|
|
|
"csstype": "^2.6.6",
|
2019-10-01 16:21:00 +00:00
|
|
|
"eslint": "^6.5.1",
|
2019-10-04 09:28:32 +00:00
|
|
|
"eslint-plugin-react": "^7.15.1",
|
2019-06-30 03:24:37 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-10-01 16:21:00 +00:00
|
|
|
"next": "^9.0.7",
|
|
|
|
"nodemon": "^1.19.3",
|
2019-10-04 09:28:32 +00:00
|
|
|
"react": "^16.10.2",
|
|
|
|
"react-dom": "^16.10.2",
|
2019-03-24 15:52:07 +00:00
|
|
|
"supertest": "^4.0.2",
|
2019-10-01 16:21:00 +00:00
|
|
|
"tap": "^14.6.9",
|
|
|
|
"ts-node": "^8.4.1",
|
|
|
|
"typescript": "^3.6.3"
|
2018-07-20 09:43:07 +00:00
|
|
|
}
|
2018-06-26 05:39:49 +00:00
|
|
|
}
|