UNPKG

@aws-amplify/auth

Version:
112 lines (111 loc) 2.85 kB
{ "name": "@aws-amplify/auth", "version": "5.2.0", "description": "Auth category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", "typings": "./lib-esm/index.d.ts", "react-native": { "./lib/index": "./lib-esm/index.js" }, "sideEffects": [ "./lib/Auth.js", "./lib-esm/Auth.js" ], "publishConfig": { "access": "public" }, "scripts": { "test": "yarn lint --fix && jest -w 1 --coverage", "test:size": "size-limit", "build-with-test": "npm test && npm run build", "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js", "build:esm": "node ./build es6", "build:cjs:watch": "node ./build es5 --watch", "build:esm:watch": "node ./build es6 --watch", "build": "npm run clean && npm run build:esm && npm run build:cjs", "clean": "npm run clean:size && rimraf lib-esm lib dist", "clean:size": "rimraf dual-publish-tmp tmp*", "format": "echo \"Not implemented\"", "lint": "tslint '{__tests__,src}/**/*.ts' && npm run ts-coverage", "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 77.44" }, "repository": { "type": "git", "url": "https://github.com/aws-amplify/amplify-js.git" }, "author": "Amazon Web Services", "license": "Apache-2.0", "bugs": { "url": "https://github.com/aws/aws-amplify/issues" }, "homepage": "https://aws-amplify.github.io/", "files": [ "lib", "lib-esm", "src" ], "dependencies": { "@aws-amplify/core": "5.1.5", "amazon-cognito-identity-js": "6.2.0", "tslib": "^1.8.0" }, "devDependencies": { "@jest/test-sequencer": "^24.9.0" }, "size-limit": [ { "name": "Auth (top-level class)", "path": "./lib-esm/index.js", "import": "{ Amplify, Auth }", "limit": "73 kB" } ], "jest": { "globals": { "ts-jest": { "diagnostics": true, "tsConfig": { "lib": [ "es5", "es2015", "dom", "esnext.asynciterable", "es2017.object" ], "allowJs": true } } }, "transform": { "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "preset": "ts-jest", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "json", "jsx" ], "testEnvironment": "jsdom", "testURL": "http://localhost/", "coverageThreshold": { "global": { "branches": 0, "functions": 0, "lines": 0, "statements": 0 } }, "coveragePathIgnorePatterns": [ "/node_modules/", "dist", "lib", "lib-esm" ], "testSequencer": "./testSequencer.js" }, "gitHead": "6033ebb7214bd1cbe715399c0434cf7fa7ca905e" }