forked from OpenEnergyDashboard/OED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 6.29 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"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/"
]
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"resolutions": {
"babel-core": "7.0.0-bridge.0"
},
"peerDependencies": {
"babel-plugin-lodash": "~3.3.4"
},
"dependencies": {
"@wojtekmaj/react-daterange-picker": "~5.2.0",
"axios": "~1.6.2",
"bcryptjs": "~2.4.3",
"body-parser": "~1.20.2",
"bootstrap": "~5.2.3",
"csv": "~5.3.2",
"csv-parse": "~4.16.3",
"csv-stringify": "~5.6.5",
"dotenv": "~16.0.3",
"express": "~4.17.3",
"express-rate-limit": "~5.5.1",
"history": "~4.7.2",
"ini": "~2.0.0",
"jsonschema": "~1.4.1",
"jsonwebtoken": "~9.0.0",
"lodash": "~4.17.21",
"md5": "~2.2.1",
"moment": "~2.29.4",
"moment-timezone": "~0.5.35",
"morgan": "~1.9.0",
"multer": "~1.3.1",
"ngraph.graph": "~20.0.0",
"ngraph.path": "~1.4.0",
"nodemailer": "~6.6.1",
"pg": "~8.11.3",
"pg-promise": "~11.5.0",
"plotly.js": "~2.18.1",
"prop-types": "~15.8.1",
"query-string": "~8.1.0",
"rc-slider": "~8.6.6",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-intl": "~6.4.4",
"react-plotly.js": "~2.6.0",
"react-redux": "~8.1.2",
"react-router-dom": "~5.3.0",
"react-select": "~5.7.4",
"react-toastify": "~9.1.3",
"react-tooltip": "~4.2.20",
"reactstrap": "~9.1.10",
"redux": "~4.2.1",
"redux-thunk": "~2.4.0",
"serve-favicon": "~2.5.0",
"xml2js": "~0.5.0"
},
"devDependencies": {
"@babel/core": "~7.16.7",
"@babel/plugin-proposal-object-rest-spread": "~7.16.7",
"@babel/preset-env": "~7.16.7",
"@babel/preset-react": "~7.22.0",
"@redux-devtools/extension": "~3.2.5",
"@types/history": "~4.7.2",
"@types/lodash": "~4.14.122",
"@types/node": "~20.5.6",
"@types/plotly.js": "~2.12.5",
"@types/rc-slider": "~8.2.3",
"@types/react": "~18.2.19",
"@types/react-dom": "~18.2.7",
"@types/react-plotly.js": "~2.6.0",
"@types/react-redux": "~7.1.25",
"@types/react-router-dom": "~5.3.0",
"@typescript-eslint/eslint-plugin": "~6.4.1",
"@typescript-eslint/parser": "~6.11.0",
"babel-loader": "~8.2.3",
"babel-plugin-formatjs": "~10.3.12",
"chai": "~3.5.0",
"chai-as-promised": "~7.1.1",
"chai-http": "~4.3.0",
"css-loader": "~6.8.1",
"eslint": "~8.48.0",
"eslint-plugin-jsdoc": "~46.5.0",
"lodash-webpack-plugin": "~0.11.6",
"mocha": "~10.2.0",
"node-polyfill-webpack-plugin": "~1.1.4",
"nodemon": "~2.0.22",
"sinon": "~17.0.1",
"source-map-loader": "~4.0.1",
"stream-browserify": "~3.0.0",
"style-loader": "~3.3.1",
"terser-webpack-plugin": "~5.3.9",
"ts-loader": "~9.2.0",
"typescript": "~5.1.6",
"webpack": "~5.76.0",
"webpack-cli": "~5.1.4"
}
}