[*] Switched to TypeScript
{ | ||
"name": "seb-gateway", | ||
"version": "dev", | ||
"main": "index.js", | ||
"main": "index.ts", | ||
"repository": "https://git.unistra.fr/amicale-core/seb-gateway", | ||
"author": "M4x1m3 <M4x1me@protonmail.com>", | ||
"license": "AGPLv3", | ||
"private": false, | ||
"type": "module", | ||
"dependencies": { | ||
"@types/node": "^16.11.6", | ||
"@types/ws": "^8.2.0", | ||
"dotenv": "^10.0.0", | ||
"typescript": "^4.4.4", | ||
"ws": "^8.2.3" | ||
}, | ||
"scripts": { | ||
"start": "node index.js", | ||
"debug": "nodemon index.js" | ||
"build": "tsc", | ||
"start": "node ./dist/index.js", | ||
"debug": "ts-node index.ts", | ||
"prod": "yarn build && yarn start" | ||
}, | ||
"devDependencies": { | ||
"nodemon": "^2.0.13" | ||
"nodemon": "^2.0.13", | ||
"ts": "^0.2.2", | ||
"ts-node": "^10.4.0" | ||
} | ||
} |
src/Gateway.js
deleted
100644 → 0
src/Gateway.ts
0 → 100644