UNPKG

3.56 kBJSONView Raw
1{
2 "name": "amazon-cognito-identity-js",
3 "description": "Amazon Cognito Identity Provider JavaScript SDK",
4 "version": "4.4.0",
5 "author": {
6 "name": "Amazon Web Services",
7 "email": "aws@amazon.com",
8 "url": "http://aws.amazon.com"
9 },
10 "homepage": "http://aws.amazon.com/cognito",
11 "contributors": [
12 "Simon Buchan with Skilitics",
13 "Jonathan Goldwasser",
14 "Matt Durant",
15 "John Ferlito",
16 "Michael Hart",
17 "Tylor Steinberger",
18 "Paul Watts",
19 "Gleb Promokhov",
20 "Min Bi",
21 "Michael Labieniec",
22 "Chetan Mehta <chetam@amazon.com>",
23 "Ionut Trestian <trestian@amazon.com>"
24 ],
25 "repository": {
26 "type": "git",
27 "url": "https://github.com/aws-amplify/amplify-js.git"
28 },
29 "license": "SEE LICENSE IN LICENSE.txt",
30 "licenses": [
31 {
32 "type": "Amazon Software License",
33 "url": "http://aws.amazon.com/asl"
34 }
35 ],
36 "keywords": [
37 "amazon",
38 "aws",
39 "cognito",
40 "identity",
41 "react-native",
42 "reactnative"
43 ],
44 "scripts": {
45 "clean": "rimraf lib es",
46 "build:cjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
47 "build:cjs:watch": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --watch",
48 "build:esm": "cross-env BABEL_ENV=es babel src --out-dir es",
49 "build:esm:watch": "cross-env BABEL_ENV=es babel src --out-dir es --watch",
50 "build:umd": "webpack",
51 "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd",
52 "doc": "jsdoc src -d docs",
53 "lint": "eslint src",
54 "lint2": "eslint enhance-rn.js",
55 "test": "jest -w 1 --passWithNoTests",
56 "format": "echo \"Not implemented\""
57 },
58 "main": "lib/index.js",
59 "react-native": {
60 "lib/index.js": "./enhance-rn.js",
61 "./src/StorageHelper": "./src/StorageHelper-rn.js"
62 },
63 "module": "es/index.js",
64 "jsnext:main": "es/index.js",
65 "types": "./index.d.ts",
66 "dependencies": {
67 "buffer": "4.9.1",
68 "crypto-js": "^3.3.0",
69 "isomorphic-unfetch": "^3.0.0",
70 "js-cookie": "^2.2.1"
71 },
72 "devDependencies": {
73 "@babel/cli": "^7.7.4",
74 "@babel/core": "^7.7.4",
75 "@babel/preset-env": "^7.7.4",
76 "babel-loader": "^8.0.6",
77 "cross-env": "^3.1.4",
78 "eslint": "^3.19.0",
79 "eslint-config-airbnb-base": "^5.0.2",
80 "eslint-config-prettier": "^6.3.0",
81 "eslint-import-resolver-webpack": "^0.5.1",
82 "eslint-plugin-import": "^2.7.0",
83 "eslint-plugin-node": "^5.2.0",
84 "eslint-plugin-promise": "^3.6.0",
85 "eslint-plugin-standard": "^3.0.1",
86 "jsdoc": "^3.4.0",
87 "react": "^16.0.0",
88 "react-native": "^0.44.0",
89 "rimraf": "^2.5.4",
90 "webpack": "^3.5.5"
91 },
92 "jest": {
93 "globals": {
94 "ts-jest": {
95 "diagnostics": false,
96 "tsConfig": {
97 "lib": [
98 "es5",
99 "es2015",
100 "dom",
101 "esnext.asynciterable",
102 "es2017.object"
103 ],
104 "allowJs": true
105 }
106 }
107 },
108 "transform": {
109 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
110 },
111 "preset": "ts-jest",
112 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
113 "moduleFileExtensions": [
114 "ts",
115 "tsx",
116 "js",
117 "json",
118 "jsx"
119 ],
120 "testEnvironment": "jsdom",
121 "testURL": "http://localhost/",
122 "coverageThreshold": {
123 "global": {
124 "branches": 0,
125 "functions": 0,
126 "lines": 0,
127 "statements": 0
128 }
129 },
130 "coveragePathIgnorePatterns": [
131 "/node_modules/"
132 ]
133 },
134 "gitHead": "40115e35ba4f245f362ef9a78bdafa3d4f6a8676"
135}