forked from OpenEnergyDashboard/OED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 5.82 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "open-energy-dashboard",
"version": "1.0.0",
"private": false,
"license": "MPL-2.0",
"repository": "https://github.com/OpenEnergyDashboard/OED",
"scripts": {
"start": "node ./src/bin/www",
"start:dev": "nodemon --legacy-watch --inspect=0.0.0.0 ./src/bin/www",
"webpack:dev": "webpack watch --color --progress --mode development",
"webpack:build": "webpack build --node-env production",
"webpack": "webpack build --color --progress --mode development",
"check": "./src/scripts/devcheck.sh",
"check:header": "./src/scripts/checkHeader.sh",
"check:typescript": "./src/scripts/checkTypescript.sh",
"check:types": "tsc -p . --noEmit",
"check:lint": "eslint --ignore-path .eslintignore --ext .ts,.tsx,.js,.jsx ./src/client/app",
"test": "mocha --timeout 15000 \"src/server/test/**/*.js\"",
"testsome": "mocha --timeout 15000",
"createdb": "node ./src/server/services/createDB.js",
"developerdb": "node -e 'require(\"./src/server/util/developer.js\").createShiftReadingsFunction()'",
"migratedb": "node ./src/server/services/migrateDB.js",
"addMamacMeters": "node ./src/server/services/addMamacMeters.js",
"updateMamacMeters": "node ./src/server/services/updateMamacMeters.js",
"updateEgaugeMeters": "node ./src/server/services/eGauge/updateEgaugeMeters.js",
"createUser": "node ./src/server/services/user/createUser.js",
"editUser": "node ./src/server/services/user/editUser.js",
"sendLogEmail": "node ./src/server/services/sendLogEmail.js",
"refreshReadingViews": "node -e 'require(\"./src/server/services/refreshReadingViews\").refreshReadingViews()'",
"refreshAllReadingViews": "node -e 'require(\"./src/server/services/refreshAllReadingViews\").refreshAllReadingViews()'",
"refreshDailyReadingViews": "node -e 'require(\"./src/server/services/refreshReadingViews\").refreshReadingViews()'",
"refreshHourlyReadingViews": "node -e 'require(\"./src/server/services/refreshHourlyReadingViews\").refreshHourlyReadingViews()'",
"updateCikAndViews": "node -e 'require(\"./src/server/services/graph/redoCik.js\").updateCikAndViews()'",
"obvius:showConfigfiles": "node ./src/server/services/obvius/showConfigfiles.js",
"obvius:purgeConfigfiles": "node ./src/server/services/obvius/purgeConfigfiles.js",
"generateFourDayTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateFourDayTestingData()'",
"generateFourHourTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateFourHourTestingData()'",
"generateTwentyThreeMinuteTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateTwentyThreeMinuteTestingData()'",
"generateFifteenMinuteTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateFifteenMinuteTestingData()'",
"generateOneMinuteTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateOneMinuteTestingData()'",
"generateVariableAmplitudeTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateVariableAmplitudeTestingData()'",
"generateSineSquaredTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateSineSquaredTestingData(2.5)'",
"generateCosineSquaredTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateCosineSquaredTestingData(2.5)'",
"generateTestingData": "node -e 'require(\"./src/server/data/automatedTestingData\").generateTestingData()'",
"testData": "node -e 'require(\"./src/server/data/automatedTestingData.js\").insertSpecialUnitsConversionsMetersGroups()'",
"webData": "node -e 'require(\"./src/server/data/websiteData.js\").insertWebsiteData()'"
},
"nodemonConfig": {
"watch": [
"src/server/",
"src/bin/",
"src/common"
],
"ignore": [
"src/client/"
]
},
"dependencies": {
"@reduxjs/toolkit": "~2.2.5",
"@wojtekmaj/react-daterange-picker": "~6.0.0",
"axios": "~1.6.2",
"bcryptjs": "~2.4.3",
"body-parser": "~1.20.2",
"bootstrap": "~5.3.3",
"csv": "~5.3.2",
"csv-stringify": "~5.6.5",
"dotenv": "~16.4.5",
"escape-html": "~1.0.3",
"express": "~4.19.2",
"express-rate-limit": "~7.2.0",
"history": "~5.3.0",
"ini": "~4.1.3",
"jsonschema": "~1.4.1",
"jsonwebtoken": "~9.0.0",
"lodash": "~4.17.21",
"md5": "~2.3.0",
"moment": "~2.30.1",
"moment-timezone": "~0.5.45",
"morgan": "~1.10.0",
"multer": "~1.4.5-lts.1",
"ngraph.graph": "~20.0.0",
"ngraph.path": "~1.5.0",
"nodemailer": "~6.9.13",
"pg": "~8.12.0",
"pg-promise": "~11.8.0",
"plotly.js": "~2.29.1",
"prop-types": "~15.8.1",
"query-string": "~9.0.0",
"react": "~18.3.1",
"react-dom": "~18.2.0",
"react-intl": "~6.6.8",
"react-plotly.js": "~2.6.0",
"react-redux": "~8.1.3",
"react-router-dom": "~6.21.1",
"react-select": "~5.8.0",
"react-toastify": "~9.1.3",
"react-tooltip": "~4.5.1",
"reactstrap": "~9.2.2",
"redux": "~4.2.1",
"redux-thunk": "~2.4.0",
"serve-favicon": "~2.5.0",
"usehooks-ts": "~3.1.0",
"xml2js": "~0.5.0"
},
"devDependencies": {
"@redux-devtools/extension": "~3.2.5",
"@types/lodash": "~4.17.4",
"@types/node": "~20.14.10",
"@types/plotly.js": "~2.29.2",
"@types/react": "~18.3.3",
"@types/react-dom": "~18.2.24",
"@types/react-plotly.js": "~2.6.0",
"@types/react-redux": "~7.1.25",
"@typescript-eslint/eslint-plugin": "~6.21.0",
"@typescript-eslint/parser": "~6.21.0",
"chai": "~4.4.1",
"chai-as-promised": "~7.1.1",
"chai-http": "~4.4.0",
"css-loader": "~6.8.1",
"eslint": "~8.48.0",
"eslint-plugin-jsdoc": "~48.2.3",
"lodash-webpack-plugin": "~0.11.6",
"mocha": "~10.4.0",
"node-polyfill-webpack-plugin": "~1.1.4",
"nodemon": "~3.1.1",
"sinon": "~18.0.0",
"source-map-loader": "~4.0.1",
"stream-browserify": "~3.0.0",
"style-loader": "~4.0.0",
"terser-webpack-plugin": "~5.3.10",
"ts-loader": "~9.5.1",
"typescript": "~5.4.5",
"webpack": "~5.76.0",
"webpack-cli": "~5.1.4"
}
}