You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.1 KiB
75 lines
2.1 KiB
{
|
|
"name": "badgen.net",
|
|
"description": "Badge generating service",
|
|
"author": "Amio <amio.cn@gmail.com>",
|
|
"license": "ISC",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint --ext .js,.ts,.jsx .",
|
|
"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",
|
|
"dev": "npm run build && npm run dev:api",
|
|
"dev:api": "nodemon --config nodemon.json index.ts",
|
|
"dev:web": "next",
|
|
"tools": "ts-node -TP server.tsconfig.json tools/gen-examples.ts",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"standard": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint/eslint-plugin"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@sentry/integrations": "^5.10.1",
|
|
"@sentry/node": "^5.10.1",
|
|
"badgen": "^3.0.1",
|
|
"badgen-icons": "^0.12.0",
|
|
"byte-size": "^6.2.0",
|
|
"cheerio": "^1.0.0-rc.3",
|
|
"chrome-webstore": "^1.2.1",
|
|
"date-fns": "^2.8.0",
|
|
"got": "^9.6.0",
|
|
"lodash.debounce": "^4.0.8",
|
|
"micro": "^9.3.4",
|
|
"millify": "^3.1.0",
|
|
"my-way": "^2.0.0",
|
|
"original-url": "^1.2.3",
|
|
"react-debounce-render": "^5.0.0",
|
|
"semver": "^6.3.0",
|
|
"serve-handler": "^6.1.2",
|
|
"serve-marked": "^2.0.2",
|
|
"url-parse": "^1.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cheerio": "^0.22.15",
|
|
"@types/fs-extra": "^8.0.1",
|
|
"@types/got": "^9.6.9",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/micro": "^7.3.3",
|
|
"@types/node": "^12.12.14",
|
|
"@types/react": "^16.9.15",
|
|
"@types/react-dom": "^16.9.4",
|
|
"@types/semver": "^6.2.0",
|
|
"@types/supertest": "^2.0.8",
|
|
"@types/url-parse": "^1.4.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.10.0",
|
|
"@typescript-eslint/parser": "^2.10.0",
|
|
"@zeit/next-typescript": "^1.1.1",
|
|
"csstype": "^2.6.7",
|
|
"eslint": "^6.7.2",
|
|
"eslint-plugin-react": "^7.17.0",
|
|
"fs-extra": "^8.1.0",
|
|
"next": "^9.1.4",
|
|
"nodemon": "^2.0.1",
|
|
"react": "^16.12.0",
|
|
"react-dom": "^16.12.0",
|
|
"supertest": "^4.0.2",
|
|
"ts-node": "^8.5.4",
|
|
"typescript": "^3.7.3"
|
|
},
|
|
"engines": {
|
|
"node": "12.x"
|
|
}
|
|
}
|
|
|