UNPKG

@mytmpvpn/mytmpvpn-client

Version:

MyTmpVpn Client Library

57 lines (56 loc) 1.73 kB
{ "name": "@mytmpvpn/mytmpvpn-client", "version": "4.5.0", "description": "MyTmpVpn Client Library", "types": "dist/index.d.ts", "files": [ "/dist" ], "exports": { "./*": "./dist/src/*.js" }, "typesVersions": { "*": { "*": [ "dist/src/*" ] } }, "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": "^6.0.2", "amazon-cognito-identity-js": "^5.2.14", "axios": "^0.29.0", "loglevel": "^1.9.2" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^18.19.101", "@typescript-eslint/eslint-plugin": "^5.62.0", "eslint": "^8.57.1", "eslint-config-standard-with-typescript": "^37.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.6.0", "jest": "^29.7.0", "ts-jest": "^29.3.4", "typescript": "^4.9.5" } }