Replace CDN React/ReactDOM/Babel with local libs; remove Babel and inline scripts Build Tailwind locally, add safelist; switch to assets/tailwind.css Self-host Font Awesome and Inter (CSS + woff2); remove external font CDNs Implement strict CSP (no unsafe-inline/eval; scripts/styles/fonts from self) Extract inline handlers; move PWA scripts to external files Add local QR code generation (qrcode lib) and remove api.qrserver.com Improve SessionTypeSelector visual selection (highlighted background and ring) Keep PWA working with service worker and offline assets Refs: CSP hardening, offline-first, no external dependencies
42 lines
985 B
JSON
42 lines
985 B
JSON
{
|
|
"name": "set-blocking",
|
|
"version": "2.0.0",
|
|
"description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"pretest": "standard",
|
|
"test": "nyc mocha ./test/*.js",
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
"version": "standard-version"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/yargs/set-blocking.git"
|
|
},
|
|
"keywords": [
|
|
"flush",
|
|
"terminal",
|
|
"blocking",
|
|
"shim",
|
|
"stdio",
|
|
"stderr"
|
|
],
|
|
"author": "Ben Coe <ben@npmjs.com>",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/yargs/set-blocking/issues"
|
|
},
|
|
"homepage": "https://github.com/yargs/set-blocking#readme",
|
|
"devDependencies": {
|
|
"chai": "^3.5.0",
|
|
"coveralls": "^2.11.9",
|
|
"mocha": "^2.4.5",
|
|
"nyc": "^6.4.4",
|
|
"standard": "^7.0.1",
|
|
"standard-version": "^2.2.1"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"LICENSE.txt"
|
|
]
|
|
} |