@aws-amplify/core
Version:
Core category of aws-amplify
151 lines (150 loc) • 3.8 kB
JSON
{
"name": "@aws-amplify/core",
"version": "5.1.10",
"description": "Core category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"typings": "./lib-esm/index.d.ts",
"publishConfig": {
"access": "public"
},
"sideEffects": [
"./lib/I18n/index.js",
"./lib/Credentials.js",
"./lib-esm/I18n/index.js",
"./lib-esm/Credentials.js"
],
"scripts": {
"test": "npm run lint && 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": "rimraf lib-esm && node ./build es6",
"build:cjs:watch": "node ./build es5 --watch",
"build:esm:watch": "rimraf lib-esm && node ./build es6 --watch",
"build": "npm run clean && npm run generate-version && npm run build:esm && npm run build:cjs",
"generate-version": "genversion src/Platform/version.ts --es6 --semi",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 76.41"
},
"react-native": {
"./lib/index": "./lib-esm/index.js",
"./lib-esm/ClientDevice": "./lib-esm/ClientDevice/reactnative.js",
"./lib-esm/RNComponents": "./lib-esm/RNComponents/reactnative.js",
"./lib-esm/StorageHelper": "./lib-esm/StorageHelper/reactnative.js"
},
"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/",
"devDependencies": {
"@react-native-async-storage/async-storage": "1.15.17",
"find": "^0.2.7",
"genversion": "^2.2.0",
"prepend-file": "^1.3.1",
"react-native": "^0.64.1"
},
"files": [
"lib",
"lib-esm",
"src",
"typings.d.ts"
],
"dependencies": {
"@aws-crypto/sha256-js": "1.2.2",
"@aws-sdk/client-cloudwatch-logs": "3.6.1",
"@aws-sdk/client-cognito-identity": "3.6.1",
"@aws-sdk/credential-provider-cognito-identity": "3.6.1",
"@aws-sdk/types": "3.6.1",
"@aws-sdk/util-hex-encoding": "3.6.1",
"tslib": "^1.8.0",
"universal-cookie": "^4.0.4",
"zen-observable-ts": "0.8.19"
},
"size-limit": [
{
"name": "Core (ServiceWorker)",
"path": "./lib-esm/index.js",
"import": "{ ServiceWorker }",
"limit": "2.4 kB"
},
{
"name": "Core (Hub)",
"path": "./lib-esm/index.js",
"import": "{ Hub }",
"limit": "2 kB"
},
{
"name": "Core (I18n)",
"path": "./lib-esm/index.js",
"import": "{ I18n }",
"limit": "2.1 kB"
},
{
"name": "Core (Logger)",
"path": "./lib-esm/index.js",
"import": "{ Logger }",
"limit": "1.2 kB"
},
{
"name": "Core (Credentials)",
"path": "./lib-esm/index.js",
"import": "{ Credentials }",
"limit": "34.5 kB"
}
],
"jest": {
"globals": {
"ts-jest": {
"diagnostics": false,
"tsConfig": {
"lib": [
"es5",
"es2015",
"dom",
"esnext.asynciterable",
"es2017.object"
],
"allowJs": true
}
}
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
],
"testEnvironment": "jsdom",
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"testURL": "http://localhost/",
"coveragePathIgnorePatterns": [
"/node_modules/",
"dist",
"lib",
"lib-esm"
]
},
"gitHead": "a330d2fb37290c60a91e3acf07aea4fef9c8ef2b"
}