Files
auth-service/package.json
sdarbinyan 67b09147ea ppackage
2026-05-21 15:27:22 +04:00

72 lines
1.8 KiB
JSON

{
"name": "telegram-userauth",
"version": "0.1.0",
"description": "Reusable Telegram user authentication web component for cross-repo integration.",
"scripts": {
"ng": "ng",
"start": "ng serve --port 4300 --open",
"build": "npm run build:app && npm run build:package",
"build:app": "ng build",
"build:package": "tsup src/package/index.ts --format esm,cjs --dts --clean --out-dir dist/package",
"build:prod": "ng build --configuration production",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"prepack": "npm run build:package"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"keywords": [
"telegram",
"auth",
"web-component",
"userauth"
],
"license": "UNLICENSED",
"main": "./dist/package/index.js",
"module": "./dist/package/index.mjs",
"types": "./dist/package/index.d.ts",
"exports": {
".": {
"types": "./dist/package/index.d.ts",
"import": "./dist/package/index.mjs",
"require": "./dist/package/index.js"
}
},
"files": [
"dist/package",
"README.md",
"TELEGRAM_USERAUTH_BACKEND.md"
],
"sideEffects": false,
"packageManager": "npm@10.9.2",
"dependencies": {
"@angular/common": "^21.0.0",
"@angular/compiler": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^21.0.4",
"@angular/cli": "^21.0.4",
"@angular/compiler-cli": "^21.0.0",
"@types/qrcode": "^1.5.6",
"jsdom": "^27.1.0",
"qrcode": "^1.5.4",
"tsup": "^8.5.0",
"typescript": "~5.9.2",
"vitest": "^4.0.8"
}
}