UNPKG

2.55 kBJSONView Raw
1{
2 "name": "@aws-amplify/auth",
3 "version": "4.5.6",
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 "./src/Auth.ts",
13 "./lib/Auth.js",
14 "./lib-esm/Auth.js",
15 "./dist/aws-amplify-auth.js",
16 "./dist/aws-amplify-auth.min.js"
17 ],
18 "publishConfig": {
19 "access": "public"
20 },
21 "scripts": {
22 "test": "yarn lint --fix && jest -w 1 --coverage",
23 "build-with-test": "npm test && npm run build",
24 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
25 "build:esm": "node ./build es6",
26 "build:cjs:watch": "node ./build es5 --watch",
27 "build:esm:watch": "node ./build es6 --watch",
28 "build": "npm run clean && npm run build:esm && npm run build:cjs",
29 "clean": "rimraf lib-esm lib dist",
30 "format": "echo \"Not implemented\"",
31 "lint": "tslint '{__tests__,src}/**/*.ts'"
32 },
33 "repository": {
34 "type": "git",
35 "url": "https://github.com/aws-amplify/amplify-js.git"
36 },
37 "author": "Amazon Web Services",
38 "license": "Apache-2.0",
39 "bugs": {
40 "url": "https://github.com/aws/aws-amplify/issues"
41 },
42 "homepage": "https://aws-amplify.github.io/",
43 "dependencies": {
44 "@aws-amplify/cache": "4.0.44",
45 "@aws-amplify/core": "4.5.6",
46 "amazon-cognito-identity-js": "5.2.9",
47 "crypto-js": "^4.1.1"
48 },
49 "devDependencies": {
50 "@jest/test-sequencer": "^24.9.0"
51 },
52 "jest": {
53 "globals": {
54 "ts-jest": {
55 "diagnostics": true,
56 "tsConfig": {
57 "lib": [
58 "es5",
59 "es2015",
60 "dom",
61 "esnext.asynciterable",
62 "es2017.object"
63 ],
64 "allowJs": true
65 }
66 }
67 },
68 "transform": {
69 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
70 },
71 "preset": "ts-jest",
72 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
73 "moduleFileExtensions": [
74 "ts",
75 "tsx",
76 "js",
77 "json",
78 "jsx"
79 ],
80 "testEnvironment": "jsdom",
81 "testURL": "http://localhost/",
82 "coverageThreshold": {
83 "global": {
84 "branches": 0,
85 "functions": 0,
86 "lines": 0,
87 "statements": 0
88 }
89 },
90 "coveragePathIgnorePatterns": [
91 "/node_modules/",
92 "dist",
93 "lib",
94 "lib-esm"
95 ],
96 "testSequencer": "./testSequencer.js"
97 },
98 "gitHead": "78a6b547b69cc9032fd5ffce86285f38f2536b7f"
99}