package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "weather-station",
  3. "version": "1.0.0",
  4. "description": "",
  5. "main": "index.js",
  6. "scripts": {
  7. "test": "ts-mocha src/**/*.test.ts",
  8. "clean": "rm -rf build",
  9. "build": "npm run clean && npm run build:js && npm run build:html",
  10. "build:html": "cp -r ./src/*.html ./build",
  11. "build:js": "webpack --mode=production",
  12. "watch:js": "webpack --mode=development --watch",
  13. "watch:html": "npm-watch",
  14. "deploy": "npm run build && scp -r build/* storm:/mnt2/nginx-data/weather/"
  15. },
  16. "watch": {
  17. "build:html": {
  18. "patterns": ["src"],
  19. "extensions": "html",
  20. "runOnChangeOnly": false
  21. }
  22. },
  23. "keywords": [],
  24. "author": "Jason Tarka <git@tarka.ca>",
  25. "license": "",
  26. "dependencies": {
  27. "@types/firebase": "^3.2.1",
  28. "chart.js": "^3.7.0",
  29. "firebase": "^9.6.1",
  30. "svg-gauge": "^1.0.6"
  31. },
  32. "devDependencies": {
  33. "@types/mocha": "^9.0.0",
  34. "@types/should": "^13.0.0",
  35. "mocha": "^8.4.0",
  36. "npm-watch": "^0.11.0",
  37. "should": "^13.2.3",
  38. "ts-loader": "^9.2.6",
  39. "ts-mocha": "^8.0.0",
  40. "ts-node": "^10.4.0",
  41. "typescript": "^4.5.4",
  42. "webpack-cli": "^4.9.1"
  43. }
  44. }