UNPKG

@mytmpvpn/mytmpvpn-client

Version:

MyTmpVpn Client Library

76 lines (75 loc) 2.23 kB
{ "name": "@mytmpvpn/mytmpvpn-client", "version": "13.0.1", "description": "MyTmpVpn Client Library", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "exports": { ".": { "types": "./dist/src/index.d.ts", "default": "./dist/src/index.js" }, "./appconfig": { "types": "./dist/src/appconfig.d.ts", "default": "./dist/src/appconfig.js" }, "./auth": { "types": "./dist/src/auth.d.ts", "default": "./dist/src/auth.js" }, "./client": { "types": "./dist/src/client.d.ts", "default": "./dist/src/client.js" }, "./userprofiles": { "types": "./dist/src/userprofiles.d.ts", "default": "./dist/src/userprofiles.js" } }, "files": [ "/dist", "appconfig.js", "appconfig.d.ts", "userprofiles.js", "userprofiles.d.ts", "client.js", "client.d.ts", "auth.js", "auth.d.ts" ], "scripts": { "build": "tsc --build && cp src/mytmpvpn-appconfig.json dist/src/", "lint": "eslint .", "watch": "tsc -w", "test": "TEST_USERNAME_TEMPLATE='ic-test-${id}@mytmpvpn.awsapps.com' MYTMPVPN_USEMOCKS=true jest", "integtest": "test -z \"$TEST_USERNAME_TEMPLATE\" -o -z \"$MYTMPVPN_APPCONFIG_FILE\" && echo \"TEST_USERNAME_TEMPLATE and MYTMPVPN_APPCONFIG_FILE must be defined\" || jest", "clean": "rm -rf dist/", "link-deps": "(cd ../mytmpvpn-common && npm link) && npm link ../mytmpvpn-common", "upgrade": "ncu --target semver --upgrade", "prepublishOnly": "npm ci && npm run build && npm run test", "version": "git add -A", "postversion": "git push && git push --tags && npm publish" }, "keywords": [ "VPN" ], "author": "Pierre Vigneras -- pierre.vigneras@gmail.com", "license": "GNU AGPL", "dependencies": { "@mytmpvpn/mytmpvpn-common": "^19.0.0", "amazon-cognito-identity-js": "^5.2.14", "axios": "^1.16.1", "loglevel": "^1.9.2" }, "devDependencies": { "@eslint/js": "^9.39.4", "@types/jest": "^29.5.14", "@types/node": "^18.19.130", "eslint": "^9.39.4", "fast-check": "^3.23.2", "jest": "^29.7.0", "ts-jest": "^29.4.11", "typescript": "^4.9.5", "typescript-eslint": "^8.60.0" } }