d2c292e5b8
- Move PWA into frontend/; server package at pysim_otaman_server/ - Server now serves the PWA (same origin -> no CORS/PNA): static file handler + --web-dir flag + injects window.PYSIM_EMBEDDED marker into index.html - Frontend defaults to relative API base when embedded (pysimBase = '') - Version 1.7.0 aligned: server.py VERSION, pyproject.toml, PWA header - SW cache bump otaman-v7 -> otaman-v8 - Docs: combined README + docs/api.md endpoint reference; update links - Fix stale package.json repository URL
29 lines
845 B
JSON
29 lines
845 B
JSON
{
|
|
"name": "otaman",
|
|
"version": "1.0.0",
|
|
"description": "Standalone offline HTML/JS tool for building APDU commands for SIM, USIM, and GlobalPlatform RAM, plus encoding conversions.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "npx tailwindcss -i src/style.css -o style.css --config tailwind.config.js",
|
|
"build:prod": "NODE_ENV=production npx tailwindcss -i src/style.css -o style.css --config tailwind.config.js --minify",
|
|
"test": "node --test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/anttro/otaman.git"
|
|
},
|
|
"keywords": [],
|
|
"type": "commonjs",
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.5.4",
|
|
"cssnano": "^8.0.2",
|
|
"postcss": "^8.5.25",
|
|
"postcss-cli": "^11.0.1",
|
|
"tailwindcss": "^3.4.19"
|
|
},
|
|
"dependencies": {
|
|
"aes-js": "^3.1.2",
|
|
"des.js": "^1.1.0"
|
|
}
|
|
}
|