package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. },
  15. "watch": {
  16. "build:html": {
  17. "patterns": ["src"],
  18. "extensions": "html",
  19. "runOnChangeOnly": false
  20. }
  21. },
  22. "keywords": [],
  23. "author": "Jason Tarka <git@tarka.ca>",
  24. "license": "",
  25. "dependencies": {
  26. "@types/firebase": "^3.2.1",
  27. "chart.js": "^3.7.0",
  28. "firebase": "^9.6.1",
  29. "svg-gauge": "^1.0.6"
  30. },
  31. "devDependencies": {
  32. "@types/mocha": "^9.0.0",
  33. "@types/should": "^13.0.0",
  34. "mocha": "^8.4.0",
  35. "npm-watch": "^0.11.0",
  36. "should": "^13.2.3",
  37. "ts-loader": "^9.2.6",
  38. "ts-mocha": "^8.0.0",
  39. "ts-node": "^10.4.0",
  40. "typescript": "^4.5.4",
  41. "webpack-cli": "^4.9.1"
  42. }
  43. }