Files
cgm-remote-monitor/package.json
T
Jeremy CunninghamandPieterGit b8f28b0586 fix(d3): D3 libarry upgrade (lib for visualizing data such as main view, graphs, etc.) (#5081)
* initial commit for d3 upgrade

* d3 v5 mostly working except brush

* more work on the brush

* brush and layout mostly working now

* make open-right and open-left lines visible

* make brush selection hidden

* fix open-right, open-top, and now-line in retro mode

* fix setting brush to now

* fix updateBrushToNow to set start correctly

* add extent to updateBrushToNow

* fix inRetro to use dataExtent instead of domain

* move a debug log message to better location

* debug for brush movements

* cleanup adjusted range vs. brushed range

* fix syntax error

* remove transitions for brush movements

* log message for dataUpdate

* fix updating brush range when new data arrives

* fix keeping up with data when not in retro

* keep brush range at focusRangeMS during update

* fix variable name error

* keep chart in sync with current time when not in retro

* use short transition time

* test no opacity changes

* remove one more highlight and use small transition duration

* fix race condition

* fix for uncommanded going to retro

* fix syntax error

* update chart scales when new data arrives in retro mode

* Use consistent transition for scroll

* clean chart.updateContext

* comment out debug messages

* remove unused variable

* update renderer to account for no structure arg for d3 attr

* fix syntax error

* one more syntax error

* use requestAnimationFrame

(cherry picked from commit b610485597b2e9ecf46471994980136d3c17deec)

* forgot to update current scroll data

(cherry picked from commit 1ab26522cd4abd3fb77a76964469200fc50dc555)

* remove extra treatment circles

* try using class for selection

(cherry picked from commit 92f678c6fe8e2bb700dc61ab56a71d483c5a9988)

* reduce update required for focus circles

(cherry picked from commit 46aab643125c2a083807627b9fb6052faef2134f)

* reduce update required for focus treatments

(cherry picked from commit 23ba5c4bea4bf2ff75f2296e1edc606f311ef7fe)

* fix update prepare treat circles

(cherry picked from commit afcbbab40fe0c93e26e97152513845cf2c5ecf6f)

* use _id for treatments key

* do not use opacity for past entry circles

* replace scale.linear with scaleLinear

see https://github.com/d3/d3/blob/master/CHANGES.md#scales-d3-scale

(cherry picked from commit 3445eeeedd1c0d863ca5210d4cd32994a9da4d49)

* d3 upgrade axis

(cherry picked from commit 06a8a9283100a980ccb5bed7920bce96a5b138cc)

* d3 upgrade axis

(cherry picked from commit 1ac583ce2b1d0796f8d8f0d5f9b5ee29a051af1e)

* fix tooltip location

* fix plugin tooltip location

* update reports for d3 v5

* fix inner radius default for insulin distribution pie

* fix dynamic scaling issues

* fix single click scroll

* Fix font size on axis labels

* Render ticks on top of everything

* fix click to scroll jankiness

* move loading finished to the bottom of updateHeader
2019-10-21 14:06:05 +02:00

139 lines
4.1 KiB
JSON

{
"name": "nightscout",
"version": "0.12.6-dev",
"description": "Nightscout acts as a web-based CGM (Continuous Glucose Montinor) to allow multiple caregivers to remotely view a patients glucose data in realtime.",
"license": "AGPL-3.0",
"author": "Nightscout Team",
"homepage": "http://nightscout.github.io/",
"keywords": [
"diabetes",
"continuous glucose management",
"cgm in the cloud",
"cgm",
"dexcom"
],
"repository": {
"type": "git",
"url": "https://github.com/nightscout/cgm-remote-monitor.git"
},
"contributors": [
{
"name": "Nightscout Team",
"url": "https://github.com/nightscout/cgm-remote-monitor/graphs/contributors"
}
],
"bugs": {
"url": "https://github.com/nightscout/cgm-remote-monitor/issues"
},
"scripts": {
"start": "node server.js",
"test": "env-cmd ./test.env mocha --exit tests/*.test.js",
"env": "env",
"postinstall": "webpack --mode production --config webpack.config.js && npm run-script update-buster",
"bundle": "webpack --mode production --config webpack.config.js && npm run-script update-buster",
"bundle-dev": "webpack --mode development --config webpack.config.js && npm run-script update-buster",
"bundle-analyzer": "webpack --mode development --config webpack.config.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"update-buster": "node bin/generateCacheBuster.js >tmp/cacheBusterToken",
"coverage": "env-cmd ./test.env nyc mocha --exit tests/*.test.js",
"dev": "env-cmd ./my.env nodemon server.js 0.0.0.0",
"prod": "env-cmd ./my.prod.env node server.js 0.0.0.0"
},
"config": {
"blanket": {
"pattern": [
"tests",
"lib",
"server",
"app",
"static/js"
],
"data-cover-never": [
"node_modules"
]
}
},
"engines": {
"node": "^10.15.2 || ^8.15.1",
"npm": "^6.4.1"
},
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"apn": "^2.2.0",
"async": "^0.9.2",
"babel-loader": "^8.0.6",
"base64url": "^3.0.1",
"body-parser": "^1.19.0",
"bootevent": "0.0.1",
"braces": "^3.0.2",
"compression": "^1.7.4",
"css-loader": "^1.0.1",
"cssmin": "^0.4.3",
"d3": "^5.12.0",
"ejs": "^2.6.2",
"errorhandler": "^1.5.1",
"event-stream": "3.3.4",
"expose-loader": "^0.7.5",
"express": "^4.17.1",
"express-minify": "^1.0.0",
"file-loader": "^3.0.1",
"flot": "^0.8.3",
"heapdump": "^0.3.15",
"helmet": "^3.20.0",
"jquery": "^3.4.1",
"jquery-ui-bundle": "^1.12.1-migrate",
"jquery.tooltips": "^1.0.0",
"js-storage": "^1.1.0",
"jsdom": "~11.11.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"memory-cache": "^0.2.0",
"mime": "^2.4.4",
"minimed-connect-to-nightscout": "^1.3.2",
"moment": "^2.24.0",
"moment-locales-webpack-plugin": "^1.1.0",
"moment-timezone": "^0.5.26",
"moment-timezone-data-webpack-plugin": "^1.1.0",
"mongodb": "^3.3.0",
"mongomock": "^0.1.2",
"node-cache": "^4.2.1",
"parse-duration": "^0.1.1",
"pem": "^1.14.3",
"pushover-notifications": "^1.2.0",
"random-token": "0.0.8",
"request": "^2.88.0",
"semver": "^6.3.0",
"share2nightscout-bridge": "^0.2.1",
"shiro-trie": "^0.4.8",
"simple-statistics": "^0.7.0",
"socket.io": "~2.1.1",
"style-loader": "^0.23.1",
"swagger-ui-dist": "^3.23.5",
"swagger-ui-express": "^4.1.2",
"terser": "^3.17.0",
"traverse": "^0.6.6",
"uuid": "^3.3.2",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"benv": "^3.3.0",
"env-cmd": "^8.0.2",
"eslint": "^6.2.1",
"eslint-loader": "^2.2.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"nodemon": "^1.19.1",
"nyc": "^14.1.1",
"should": "^13.2.3",
"supertest": "^3.4.2",
"tap-set-exit": "^1.1.1",
"terser-webpack-plugin": "^1.4.1",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0"
},
"browserslist": "> 0.25%, not dead"
}