chore: setup empty express app

This commit is contained in:
Elias Renman
2023-05-21 14:55:57 +02:00
parent 3b7d3b23da
commit bb9407c2fa
29 changed files with 667 additions and 4073 deletions

View File

@@ -1,78 +1,16 @@
{
"name": "server",
"description": "Gardening watering server",
"version": "0.0.0",
"homepage": "",
"private": true,
"keywords": [
"feathers"
],
"author": {},
"contributors": [],
"bugs": {},
"engines": {
"node": ">= 18.16.0"
},
"feathers": {
"language": "ts",
"packager": "yarn",
"database": "sqlite",
"framework": "koa",
"transports": [
"websockets"
],
"schema": "typebox"
},
"directories": {
"lib": "src",
"test": "test"
},
"files": [
"lib/client.js",
"lib/**/*.d.ts",
"lib/**/*.shared.js"
],
"main": "lib/client",
"scripts": {
"dev": "nodemon -x ts-node src/index.ts",
"compile": "shx rm -rf lib/ && tsc",
"start": "node lib/",
"prettier": "npx prettier \"**/*.ts\" --write",
"mocha": "cross-env NODE_ENV=test mocha test/ --require ts-node/register --recursive --extension .ts --exit",
"test": "cross-env NODE_ENV=test npm run migrate && npm run mocha",
"bundle:client": "npm run compile && npm pack --pack-destination ./public",
"migrate": "knex migrate:latest",
"migrate:make": "knex migrate:make"
"version": "1.0.0",
"description": "Gardening server",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"prisma": "^4.14.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@feathersjs/adapter-commons": "^5.0.5",
"@feathersjs/authentication": "^5.0.5",
"@feathersjs/authentication-client": "^5.0.5",
"@feathersjs/configuration": "^5.0.5",
"@feathersjs/errors": "^5.0.5",
"@feathersjs/feathers": "^5.0.5",
"@feathersjs/knex": "^5.0.5",
"@feathersjs/koa": "^5.0.5",
"@feathersjs/schema": "^5.0.5",
"@feathersjs/socketio": "^5.0.5",
"@feathersjs/transport-commons": "^5.0.5",
"@feathersjs/typebox": "^5.0.5",
"knex": "^2.4.2",
"sqlite3": "^5.1.6",
"winston": "^3.8.2"
},
"devDependencies": {
"@feathersjs/cli": "5.0.5",
"@feathersjs/rest-client": "^5.0.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"axios": "^1.3.4",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
"express": "^4.18.2",
"node-cron": "^3.0.2",
"socketio": "^1.0.0"
}
}