flow_chain/package.json
2022-11-22 16:03:42 +08:00

62 lines
1.8 KiB
JSON

{
"name": "flow_chain",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1",
"prod:api": "NODE_PATH=./dist node dist/api.js",
"run:prod": "NODE_ENV=production ts-node -r tsconfig-paths/register src/api.ts",
"dev:api": "ts-node -r tsconfig-paths/register src/api.ts",
"lint": "eslint --ext .ts src/**",
"format": "eslint --ext .ts src/** --fix"
},
"author": "z",
"license": "ISC",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@metamask/eth-sig-util": "^4.0.1",
"@typegoose/auto-increment": "^0.4.1",
"@typegoose/typegoose": "^7.4.6",
"axios": "^0.21.1",
"bson": "^4.0.4",
"dotenv": "^16.0.3",
"ethereumjs-util": "^7.1.5",
"fast-rbac": "^1.3.0",
"fastify": "^3.9.2",
"fastify-cors": "^5.1.0",
"fastify-file-upload": "^3.0.0",
"fastify-formbody": "^5.0.0",
"fastify-helmet": "^5.0.3",
"fastify-jwt": "^2.2.0",
"fastify-plugin": "^3.0.0",
"mongoose": "5.10.3",
"mongoose-findorcreate": "^3.0.0",
"node-schedule": "^2.0.0",
"redis": "^3.1.2",
"tracer": "^1.1.6",
"web3": "^1.7.4"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/mongoose": "5.10.3",
"@types/node": "^14.14.20",
"@types/node-schedule": "^2.1.0",
"@types/redis": "^2.8.28",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.1",
"typescript": "^4.1.3"
}
}