-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
92 lines (92 loc) · 3.4 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "weewx-wdc",
"version": "3.5.1",
"description": "Weather Data Center skin for weewx.",
"author": "David Baetge <[email protected]>",
"license": "MIT",
"browserslist": "> 0.5%, last 2 versions, not dead",
"sideEffects": [
".scss"
],
"dependencies": {
"@carbon/colors": "10.34.0",
"@carbon/icons-react": "10.22.0",
"@carbon/themes": "10.40.0",
"@carbon/type": "10.39.0",
"@ibm/plex": "^6.1.1",
"@nivo/calendar": "^0.79.1",
"@nivo/colors": "^0.82.1",
"@nivo/core": "^0.79.0",
"@react-hook/media-query": "^1.1.1",
"carbon-components": "10.25.0",
"carbon-components-react": "7.50.0",
"carbon-data-table-state-manager": "^1.0.3",
"carbon-icons": "7.0.7",
"color": "^4.2.3",
"d3": "^7.8.2",
"d3-scale": "^4.0.2",
"d3-time-format": "^4.1.0",
"dayjs": "^1.11.3",
"he": "^1.2.0",
"paho-mqtt": "^1.1.0",
"prop-types": "^15.8.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-full-screen": "^1.1.1",
"react-plotly.js": "^2.5.1",
"underscore": "^1.13.6",
"use-debounce": "^8.0.1",
"workbox-cacheable-response": "^6.5.3",
"workbox-expiration": "^6.5.3",
"workbox-recipes": "^6.5.3",
"workbox-routing": "^6.5.3",
"workbox-strategies": "^6.5.3"
},
"devDependencies": {
"@playwright/test": "latest",
"@types/carbon-components-react": "^7.46.1",
"@types/carbon__icons-react": "^10.24.0",
"@types/color": "^3.0.3",
"@types/d3": "^7.4.0",
"@types/d3-scale": "^4.0.2",
"@types/d3-selection": "^3.0.4",
"@types/d3-time-format": "^4.0.0",
"@types/he": "^1.1.2",
"@types/paho-mqtt": "^1.0.6",
"@types/plotly.js": "^2.12.1",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@types/react-plotly.js": "^2.5.1",
"@types/underscore": "^1.11.5",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"css-loader": "^6.7.1",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"mini-css-extract-plugin": "^2.6.1",
"postcss-loader": "^7.0.1",
"prettier": "2.6.2",
"process": "^0.11.10",
"sass": "^1.53.0",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "4.9",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0"
},
"scripts": {
"lint": "eslint --ext .ts,.tsx,.js ./skins/weewx-wdc/src",
"report": "NODE_ENV=production webpack --profile --json > stats.json; webpack-bundle-analyzer ./stats.json",
"dev": "NODE_ENV=development webpack --watch",
"build": "NODE_ENV=production webpack && mv skins/weewx-wdc/dist/service-worker.js skins/weewx-wdc/service-worker.js",
"deploy:local": "sudo rsync -vua ./skins/weewx-wdc/ /etc/weewx/skins/weewx-wdc/ && sudo cp -r ./bin/user/. /etc/weewx/bin/user/ && sudo weectl report run WdcReport",
"serve:local": "docker run -it --rm -d -p 8080:80 --name web -v /var/www/html/weewx:/usr/share/nginx/html nginx",
"deploy:pi": "yarn run build && sudo rsync -vua ./bin/ pi@weewx:/home/pi/bin && sudo rsync -vua --exclude 'weewx-wdc/dwd/*' --exclude 'weewx-wdc/skin.conf' ./skins/ pi@weewx:/home/pi/skins",
"test:e2e": "yarn playwright test --config playwright.config.ts",
"test:local:all": "./test/run_tests.sh && ./test/copy-artifacts.sh && yarn run test:e2e"
},
"packageManager": "[email protected]"
}