UNPKG

supertokens-web-js

Version:
117 lines (116 loc) 3.86 kB
{ "name": "supertokens-web-js", "version": "0.15.0", "description": "SuperTokens SDK for vanilla JS for all recipes", "main": "./index.js", "scripts": { "build-check": "cd lib && npx tsc -p tsconfig.json --noEmit && cd ../test/with-typescript && npm run build", "check-circular-dependencies": "npx madge --circular --extensions js ./lib/build/", "build": "rm -rf bundle && cd lib && rm -rf build && npx tsc -p tsconfig.json && npm run pack", "pretty-check": "npx pretty-quick --check .", "pretty": "npx pretty-quick .", "build-pretty": "npm run build && npm run pretty && npm run pretty", "pack": "./node_modules/.bin/webpack --mode production", "set-up-hooks": "cp hooks/pre-commit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit", "lint": "cd lib && npx tslint -c tslint.json './**/*.ts'", "test-unit": "TEST_MODE=testing npx mocha 'test/unit/*.test.js'", "test": "npm run test-unit", "build-docs": "rm -rf ./docs && npx typedoc --out ./docs --tsconfig ./lib/tsconfig.json ./lib/ts/index.ts ./lib/ts/**/index.ts ./lib/ts/**/*/index.ts", "prune": "cd lib && ts-prune | grep -vE 'used in module| - default$| - package_version$|init$' && exit 1 || exit 0" }, "repository": { "type": "git", "url": "git+https://github.com/supertokens/supertokens-web-js.git" }, "keywords": [ "auth", "authentication", "authorisation", "supertokens", "chrome", "firefox", "IE", "safari" ], "contributors": [], "license": "Apache-2.0", "bugs": { "url": "https://github.com/supertokens/supertokens-web-js/issues" }, "homepage": "https://github.com/supertokens/supertokens-web-js#readme", "dependencies": { "@simplewebauthn/browser": "^13.0.0", "supertokens-js-override": "0.0.4", "supertokens-website": "^20.1.5" }, "devDependencies": { "@babel/core": "^7.17.8", "@babel/plugin-transform-runtime": "^7.15.0", "@babel/preset-env": "^7.16.11", "@babel/register": "^7.17.7", "@size-limit/preset-small-lib": "^8.1.0", "madge": "^5.0.1", "mocha": "^9.2.2", "mocha-jsdom": "^2.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.5.1", "pretty-quick": "^3.1.3", "size-limit": "^8.1.0", "tslint": "6.1.3", "typedoc": "^0.22.5", "typescript": "4.7.3", "webpack": "^5.72.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "4.11.1" }, "size-limit": [ { "path": "lib/build/index.js", "limit": "28kb" }, { "path": "recipe/emailverification/index.js", "limit": "29kb" }, { "path": "recipe/emailpassword/index.js", "limit": "29kb" }, { "path": "recipe/thirdparty/index.js", "limit": "30kb" }, { "path": "recipe/session/index.js", "limit": "25kb" }, { "path": "recipe/passwordless/index.js", "limit": "30kb" }, { "path": "recipe/userroles/index.js", "limit": "26kb" }, { "path": "recipe/multitenancy/index.js", "limit": "28kb" }, { "path": "recipe/multifactorauth/index.js", "limit": "28kb" }, { "path": "recipe/totp/index.js", "limit": "28kb" }, { "path": "recipe/oauth2provider/index.js", "limit": "29kb" }, { "path": "recipe/webauthn/index.js", "limit": "30kb" } ] }