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
36 lines
854 B
JSON
36 lines
854 B
JSON
{
|
|
"name": "require-main-filename",
|
|
"version": "2.0.0",
|
|
"description": "shim for require.main.filename() that works in as many environments as possible",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"pretest": "standard",
|
|
"test": "tap --coverage test.js",
|
|
"release": "standard-version"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/yargs/require-main-filename.git"
|
|
},
|
|
"keywords": [
|
|
"require",
|
|
"shim",
|
|
"iisnode"
|
|
],
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"author": "Ben Coe <ben@npmjs.com>",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/yargs/require-main-filename/issues"
|
|
},
|
|
"homepage": "https://github.com/yargs/require-main-filename#readme",
|
|
"devDependencies": {
|
|
"chai": "^4.0.0",
|
|
"standard": "^10.0.3",
|
|
"standard-version": "^4.0.0",
|
|
"tap": "^11.0.0"
|
|
}
|
|
}
|