build: add deps, build scripts and project version

このコミットが含まれているのは:
sinkaroid 2022-06-03 09:35:47 +07:00
コミット 669a83fc6c
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A7DF4E245FDD8159
1個のファイルの変更40行の追加0行の削除

40
package.json ノーマルファイル
ファイルの表示

@ -0,0 +1,40 @@
{
"name": "jandapress",
"version": "1.0.1",
"description": "A reimagined doujin API around the world",
"main": "index.ts",
"scripts": {
"build": "rm -rf build && tsc",
"test": "ts-node test/test.ts",
"start": "nodemon index.ts",
"start:prod": "npm run build && node build/index.js",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --fix"
},
"keywords": [],
"author": "sinkaroid",
"license": "MIT",
"dependencies": {
"cheerio": "^1.0.0-rc.11",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"express-slow-down": "^1.4.0",
"phin": "^3.6.1",
"pino": "^7.11.0",
"pino-pretty": "^8.0.0"
},
"devDependencies": {
"@types/express-rate-limit": "^6.0.0",
"@types/express-slow-down": "^1.3.2",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"eslint": "^7.32.0",
"nodemon": "^2.0.15",
"npx": "^10.2.2",
"typescript": "4.6.3"
},
"engines": {
"node": ">=14"
}
}