mirror of
https://github.com/eliasrenman/gardentron.git
synced 2026-03-16 20:46:07 +01:00
48 lines
1.2 KiB
JSON
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"
|
|
}
|
|
} |