Skip to content
Snippets Groups Projects
This project manages its dependencies using npm. Learn more
package.json 1.00 KiB
{
  "name": "iot-project",
  "version": "1.0.0",
  "description": "",
  "main": "app.js",
  "scripts": {
    "predev": "npm run build",
    "dev": "node -r dotenv/config ./artifacts/app.js",
    "start": "node ./artifacts/app.js",
    "clean": "rimraf artifacts",
    "build": "npm run tsc --",
    "lint": "tslint server/**/*.ts",
    "tsc": "tsc",
    "tslint": "tslint",
    "rimraf": "rimraf"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@types/cors": "^2.8.4",
    "@types/express": "^4.16.0",
    "@types/helmet": "^0.0.42",
    "@types/onoff": "^3.2.1",
    "@types/pigpio": "^1.2.1",
    "prettier": "^1.11.1",
    "rimraf": "^2.6.2",
    "tslint": "^5.11.0",
    "typescript": "^3.1.1"
  },
  "dependencies": {
    "body-parser": "^1.18.3",
    "cors": "^2.8.4",
    "dotenv": "^6.0.0",
    "express": "^4.16.3",
    "helmet": "^3.13.0",
    "swagger-ui-express": "^4.1.0"
  },
  "optionalDependencies": {
    "node-dht-sensor": "~0.0.36",
    "onoff": "~4.1.3",
    "pigpio": "~1.2.3"
  }
}