forked from OpenEnergyDashboard/OED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
173 lines (173 loc) · 7.13 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "open-energy-dashboard",
"version": "0.8.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": {
"@formatjs/intl": "~1.17.0",
"axios": "~0.24.0",
"bcryptjs": "~2.4.3",
"body-parser": "~1.20.1",
"bootstrap": "~4.3.1",
"cookie-parser": "~1.4.4",
"csv": "~5.3.2",
"debug": "~4.3.2",
"dotenv": "~9.0.0",
"express": "~4.17.3",
"express-rate-limit": "~5.5.1",
"history": "~4.7.2",
"jsonschema": "~1.2.4",
"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",
"package-lock": "~1.0.3",
"pg-promise": "~10.6.1",
"plotly.js": "~2.18.1",
"process": "~0.11.10",
"prop-types": "~15.7.2",
"query-string": "~7.0.1",
"rc-slider": "~8.6.6",
"react": "~17.0.2",
"react-bootstrap": "~2.2.3",
"react-dom": "~17.0.2",
"react-dropzone": "~12.0.4",
"react-intl": "~5.22.0",
"react-notification-system": "~0.4.0",
"react-plotly.js": "~2.6.0",
"react-redux": "~7.2.5",
"react-router": "~5.2.1",
"react-router-dom": "~5.3.0",
"react-select": "~5.2.0",
"react-tooltip": "~4.2.20",
"reactstrap": "~8.10.0",
"redux": "~4.1.2",
"redux-thunk": "~2.4.0",
"request": "~2.88.2",
"request-promise-native": "~1.0.7",
"serve-favicon": "~2.5.0",
"xml2js": "~0.4.19"
},
"devDependencies": {
"@babel/cli": "~7.16.7",
"@babel/core": "~7.16.7",
"@babel/plugin-proposal-object-rest-spread": "~7.16.7",
"@babel/preset-env": "~7.16.7",
"@babel/preset-react": "~7.16.7",
"@redux-devtools/core": "~3.11.0",
"@redux-devtools/extension": "~3.2.2",
"@types/core-js": "~0.9.43",
"@types/history": "~4.7.2",
"@types/lodash": "~4.14.122",
"@types/moment": "~2.13.0",
"@types/plotly.js": "~2.12.5",
"@types/rc-slider": "~8.2.3",
"@types/react": "~17.0.53",
"@types/react-dom": "~17.0.10",
"@types/react-notification-system": "~0.2.41",
"@types/react-redux": "~7.1.16",
"@types/react-router": "~5.1.20",
"@types/react-router-dom": "~5.3.0",
"@typescript-eslint/eslint-plugin": "~5.10.0",
"@typescript-eslint/parser": "~5.10.0",
"acorn": "~8.7.0",
"assert": "~2.0.0",
"babel-core": "~7.0.0-bridge.0",
"babel-loader": "~8.2.3",
"babel-plugin-formatjs": "~10.3.12",
"babel-polyfill": "~6.26.0",
"buffer": "~6.0.3",
"chai": "~3.5.0",
"chai-as-promised": "~6.0.0",
"chai-http": "~4.2.1",
"css-loader": "~6.4.0",
"eslint": "~8.10.0",
"eslint-plugin-jsdoc": "~39.2.9",
"eslint-plugin-react": "~7.28.0",
"lodash-webpack-plugin": "~0.11.6",
"mocha": "~9.2.2",
"node-polyfill-webpack-plugin": "~1.1.4",
"nodemon": "~2.0.15",
"sinon": "~12.0.0",
"source-map-loader": "~3.0.0",
"stream-browserify": "~3.0.0",
"style-loader": "~3.3.1",
"terser-webpack-plugin": "~5.0.0",
"ts-loader": "~9.2.0",
"typescript": "~4.4.4",
"watchpack": "~2.2.0",
"webpack": "~5.67.0",
"webpack-cli": "~4.9.0",
"webpack-dev-server": "~4.7.3"
}
}