-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "iot-platform",
"version": "1.0.0",
"main": "/dist/api/app.js",
"repository": "https://github.com/mabenj/IoT-Platform.git",
"author": "mabeja@utu.fi, eljuse@utu.fi",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc",
"build:client": "mkdirp dist && rm -rf dist/client-app && cd src/client-app && yarn install && yarn run build && mv build ../../dist/client-app && cd ../.. && node postBuild.js",
"start": "cross-env NODE_ENV=production node dist/api/app.js",
"dev:api": "nodemon --ignore src/api/demo src/api/app.ts",
"dev:client": "cd src/client-app && npm run dev:client",
"demo-device": "npx ts-node src/api/demo/sendDeviceData.ts"
},
"dependencies": {
"axios": "^0.27.2",
"coap": "^1.0.8",
"cross-env": "^7.0.3",
"date-fns": "^2.29.3",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"express-async-errors": "^3.1.1",
"mongoose": "^6.3.1",
"nanoid": "^3.3.3",
"winston": "^3.7.2"
},
"devDependencies": {
"@faker-js/faker": "^6.2.0",
"@types/express": "^4.17.13",
"@types/mongoose": "^5.11.97",
"@types/node": "^17.0.25",
"mkdirp": "^1.0.4",
"nodemon": "^2.0.15",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
}
}