UNPKG

3.03 kBJSONView Raw
1{
2 "name": "@aws-amplify/core",
3 "version": "4.2.5",
4 "description": "Core category of aws-amplify",
5 "main": "./lib/index.js",
6 "module": "./lib-esm/index.js",
7 "typings": "./lib-esm/index.d.ts",
8 "publishConfig": {
9 "access": "public"
10 },
11 "sideEffects": [
12 "./src/I18n/index.ts",
13 "./src/Credentials.ts",
14 "./lib/I18n/index.js",
15 "./lib/Credentials.js",
16 "./lib-esm/I18n/index.js",
17 "./lib-esm/Credentials.js",
18 "./dist/aws-amplify-core.min.js",
19 "./dist/aws-amplify-core.js"
20 ],
21 "scripts": {
22 "test": "tslint 'src/**/*.ts' && 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": "rimraf lib-esm && node ./build es6",
26 "build:cjs:watch": "node ./build es5 --watch",
27 "build:esm:watch": "rimraf lib-esm && node ./build es6 --watch",
28 "build": "npm run clean && npm run generate-version && npm run build:esm && npm run build:cjs",
29 "generate-version": "genversion src/Platform/version.ts --es6 --semi",
30 "clean": "rimraf lib-esm lib dist",
31 "format": "echo \"Not implemented\"",
32 "lint": "tslint 'src/**/*.ts'"
33 },
34 "react-native": {
35 "./lib/index": "./lib-esm/index.js",
36 "./lib-esm/ClientDevice": "./lib-esm/ClientDevice/reactnative.js",
37 "./lib-esm/RNComponents": "./lib-esm/RNComponents/reactnative.js",
38 "./lib-esm/StorageHelper": "./lib-esm/StorageHelper/reactnative.js"
39 },
40 "repository": {
41 "type": "git",
42 "url": "https://github.com/aws-amplify/amplify-js.git"
43 },
44 "author": "Amazon Web Services",
45 "license": "Apache-2.0",
46 "bugs": {
47 "url": "https://github.com/aws/aws-amplify/issues"
48 },
49 "homepage": "https://aws-amplify.github.io/",
50 "devDependencies": {
51 "@react-native-async-storage/async-storage": "^1.13.0",
52 "find": "^0.2.7",
53 "genversion": "^2.2.0",
54 "prepend-file": "^1.3.1",
55 "react-native": "0.59.0"
56 },
57 "dependencies": {
58 "@aws-crypto/sha256-js": "1.0.0-alpha.0",
59 "@aws-sdk/client-cloudwatch-logs": "3.6.1",
60 "@aws-sdk/client-cognito-identity": "3.6.1",
61 "@aws-sdk/credential-provider-cognito-identity": "3.6.1",
62 "@aws-sdk/types": "3.6.1",
63 "@aws-sdk/util-hex-encoding": "3.6.1",
64 "universal-cookie": "^4.0.4",
65 "zen-observable-ts": "0.8.19"
66 },
67 "jest": {
68 "globals": {
69 "ts-jest": {
70 "diagnostics": false,
71 "tsConfig": {
72 "lib": [
73 "es5",
74 "es2015",
75 "dom",
76 "esnext.asynciterable",
77 "es2017.object"
78 ],
79 "allowJs": true
80 }
81 }
82 },
83 "transform": {
84 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
85 },
86 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
87 "moduleFileExtensions": [
88 "ts",
89 "tsx",
90 "js",
91 "json",
92 "jsx"
93 ],
94 "testEnvironment": "jsdom",
95 "coverageThreshold": {
96 "global": {
97 "branches": 0,
98 "functions": 0,
99 "lines": 0,
100 "statements": 0
101 }
102 },
103 "testURL": "http://localhost/",
104 "coveragePathIgnorePatterns": [
105 "/node_modules/",
106 "dist",
107 "lib",
108 "lib-esm"
109 ]
110 },
111 "gitHead": "56ee0a17c22a4198bc6fe2994cf4e7f7144c69ce"
112}