UNPKG

2.8 kBJSONView Raw
1{
2 "name": "@aws-amplify/auth",
3 "version": "5.1.5",
4 "description": "Auth category of aws-amplify",
5 "main": "./lib/index.js",
6 "module": "./lib-esm/index.js",
7 "typings": "./lib-esm/index.d.ts",
8 "react-native": {
9 "./lib/index": "./lib-esm/index.js"
10 },
11 "sideEffects": [
12 "./lib/Auth.js",
13 "./lib-esm/Auth.js"
14 ],
15 "publishConfig": {
16 "access": "public"
17 },
18 "scripts": {
19 "test": "yarn lint --fix && jest -w 1 --coverage",
20 "test:size": "size-limit",
21 "build-with-test": "npm test && npm run build",
22 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
23 "build:esm": "node ./build es6",
24 "build:cjs:watch": "node ./build es5 --watch",
25 "build:esm:watch": "node ./build es6 --watch",
26 "build": "npm run clean && npm run build:esm && npm run build:cjs",
27 "clean": "rimraf lib-esm lib dist dual-publish-tmp",
28 "format": "echo \"Not implemented\"",
29 "lint": "tslint '{__tests__,src}/**/*.ts' && npm run ts-coverage",
30 "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 77.44"
31 },
32 "repository": {
33 "type": "git",
34 "url": "https://github.com/aws-amplify/amplify-js.git"
35 },
36 "author": "Amazon Web Services",
37 "license": "Apache-2.0",
38 "bugs": {
39 "url": "https://github.com/aws/aws-amplify/issues"
40 },
41 "homepage": "https://aws-amplify.github.io/",
42 "files": [
43 "lib",
44 "lib-esm",
45 "src"
46 ],
47 "dependencies": {
48 "@aws-amplify/core": "5.0.11",
49 "amazon-cognito-identity-js": "6.1.2",
50 "tslib": "^1.8.0"
51 },
52 "devDependencies": {
53 "@jest/test-sequencer": "^24.9.0"
54 },
55 "size-limit": [
56 {
57 "name": "Auth (top-level class)",
58 "path": "./lib-esm/index.js",
59 "import": "{ Amplify, Auth }",
60 "limit": "73 kB"
61 }
62 ],
63 "jest": {
64 "globals": {
65 "ts-jest": {
66 "diagnostics": true,
67 "tsConfig": {
68 "lib": [
69 "es5",
70 "es2015",
71 "dom",
72 "esnext.asynciterable",
73 "es2017.object"
74 ],
75 "allowJs": true
76 }
77 }
78 },
79 "transform": {
80 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
81 },
82 "preset": "ts-jest",
83 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
84 "moduleFileExtensions": [
85 "ts",
86 "tsx",
87 "js",
88 "json",
89 "jsx"
90 ],
91 "testEnvironment": "jsdom",
92 "testURL": "http://localhost/",
93 "coverageThreshold": {
94 "global": {
95 "branches": 0,
96 "functions": 0,
97 "lines": 0,
98 "statements": 0
99 }
100 },
101 "coveragePathIgnorePatterns": [
102 "/node_modules/",
103 "dist",
104 "lib",
105 "lib-esm"
106 ],
107 "testSequencer": "./testSequencer.js"
108 },
109 "gitHead": "ae3dec1cfd1b3d2a0620573890f4f4467ef84fad"
110}