@aws-amplify/api
Version:
Api category of aws-amplify
118 lines (117 loc) • 2.64 kB
JSON
{
"name": "@aws-amplify/api",
"version": "5.1.1",
"description": "Api category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"typings": "./lib-esm/index.d.ts",
"typesVersions": {
"<3.8": {
"lib-esm/index.d.ts": [
"index.v37.d.ts"
]
}
},
"react-native": {
"./lib/index": "./lib-esm/index.js"
},
"sideEffects": [
"./lib/API.js",
"./lib-esm/API.js"
],
"publishConfig": {
"access": "public"
},
"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": "node ./build es6",
"build:cjs:watch": "node ./build es5 --watch",
"build:esm:watch": "node ./build es6 --watch",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"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 91.93"
},
"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": {
"@types/zen-observable": "^0.8.0"
},
"files": [
"lib",
"lib-esm",
"src",
"index.*.d.ts"
],
"dependencies": {
"@aws-amplify/api-graphql": "3.2.1",
"@aws-amplify/api-rest": "3.1.1",
"tslib": "^1.8.0"
},
"size-limit": [
{
"name": "API (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, API }",
"limit": "106.1 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",
"testURL": "http://localhost/",
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"dist",
"lib",
"lib-esm"
]
},
"gitHead": "e7a6f07b544185c89215d15d3f978e81e2917009"
}