Files
gardentron/server/package.json
2023-05-20 09:18:45 +02:00

48 lines
1.2 KiB
JSON

{
"name": "server",
"description": "The server for handling two way communication with a iot Device",
"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": [
"rest",
"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"
}
}