Detects when user changes same config setting 3+ times within 24 hours. Shows non-intrusive prompt offering help with guided calibration flow. Guided calibration features: - Test for false positives (walk around room) - Test for missed motion (sit still) - Suggest optimal value based on diurnal baseline SNR and link health - Apply suggested value button Files: - dashboard/js/proactive.js: Complete implementation with localStorage tracking Acceptance: - Help prompt fires after 3+ changes in 24h - Calibration flow tests both directions - Suggests value based on system data - Apply button works
38 lines
732 B
JSON
38 lines
732 B
JSON
{
|
|
"name": "ms",
|
|
"version": "2.1.3",
|
|
"description": "Tiny millisecond conversion utility",
|
|
"repository": "vercel/ms",
|
|
"main": "./index",
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"lint": "eslint lib/* bin/*",
|
|
"test": "mocha tests.js"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"npm run lint",
|
|
"prettier --single-quote --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"eslint": "4.18.2",
|
|
"expect.js": "0.3.1",
|
|
"husky": "0.14.3",
|
|
"lint-staged": "5.0.0",
|
|
"mocha": "4.0.1",
|
|
"prettier": "2.0.5"
|
|
}
|
|
}
|