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 ./src/*.* ./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-storage/weather/"
  15. },
  16. "watch": {
  17. "build:html": {
  18. "patterns": [
  19. "src"
  20. ],
  21. "extensions": "html",
  22. "runOnChangeOnly": false
  23. }
  24. },
  25. "keywords": [],
  26. "author": "Jason Tarka <git@tarka.ca>",
  27. "license": "",
  28. "dependencies": {
  29. "chart.js": "^4.2.1",
  30. "firebase": "^9.17.2",
  31. "svg-gauge": "^1.0.7"
  32. },
  33. "devDependencies": {
  34. "@types/mocha": "^10.0.1",
  35. "mocha": "^10.2.0",
  36. "npm-watch": "^0.11.0",
  37. "should": "^13.2.3",
  38. "ts-loader": "^9.4.2",
  39. "ts-mocha": "^10.0.0",
  40. "ts-node": "^10.9.1",
  41. "typescript": "^4.9.5",
  42. "webpack-cli": "^5.0.1"
  43. }
  44. }