39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "@nocobase/api",
|
|
"version": "0.3.0-alpha.0",
|
|
"main": "lib/index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "nodemon",
|
|
"sync": "ts-node ./src/sync.ts",
|
|
"serve": "pm2-runtime start pm2.json",
|
|
"build": "tsc --declaration",
|
|
"db:sync": "docker-compose run app bash -c 'yarn sync'",
|
|
"logs": "docker-compose logs app"
|
|
},
|
|
"dependencies": {
|
|
"@koa/cors": "^3.1.0",
|
|
"@koa/router": "^9.4.0",
|
|
"@nocobase/actions": "^0.3.0-alpha.0",
|
|
"@nocobase/database": "^0.3.0-alpha.0",
|
|
"@nocobase/resourcer": "^0.3.0-alpha.0",
|
|
"@types/koa": "^2.11.4",
|
|
"@types/koa-bodyparser": "^4.3.0",
|
|
"@types/koa__router": "^8.0.2",
|
|
"bcrypt": "^5.0.0",
|
|
"crypto-random-string": "^3.3.0",
|
|
"dotenv": "^8.2.0",
|
|
"koa": "^2.13.0",
|
|
"koa-bodyparser": "^4.3.0",
|
|
"mockjs": "^1.1.0",
|
|
"mysql": "^2.18.1",
|
|
"mysql2": "^2.1.0",
|
|
"nodemon": "^2.0.4",
|
|
"pg": "^8.3.3",
|
|
"pg-hstore": "^2.3.3",
|
|
"pm2": "^4.4.1",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.0.2"
|
|
}
|
|
}
|