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
40 lines
889 B
JSON
40 lines
889 B
JSON
{
|
|
"name": "y18n",
|
|
"version": "4.0.3",
|
|
"description": "the bare-bones internationalization library used by yargs",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"pretest": "standard",
|
|
"test": "nyc mocha",
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
"release": "standard-version"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:yargs/y18n.git"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"keywords": [
|
|
"i18n",
|
|
"internationalization",
|
|
"yargs"
|
|
],
|
|
"author": "Ben Coe <ben@npmjs.com>",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/yargs/y18n/issues"
|
|
},
|
|
"homepage": "https://github.com/yargs/y18n",
|
|
"devDependencies": {
|
|
"chai": "^4.0.1",
|
|
"coveralls": "^3.0.0",
|
|
"mocha": "^4.0.1",
|
|
"nyc": "^11.0.1",
|
|
"rimraf": "^2.5.0",
|
|
"standard": "^10.0.0-beta.0",
|
|
"standard-version": "^4.2.0"
|
|
}
|
|
}
|