UNPKG

2.39 kBJSONView Raw
1{
2 "name": "@aws-amplify/api",
3 "version": "5.0.4",
4 "description": "Api category of aws-amplify",
5 "main": "./lib/index.js",
6 "module": "./lib-esm/index.js",
7 "typings": "./lib-esm/index.d.ts",
8 "typesVersions": {
9 "<3.8": {
10 "lib-esm/index.d.ts": [
11 "index.v37.d.ts"
12 ]
13 }
14 },
15 "react-native": {
16 "./lib/index": "./lib-esm/index.js"
17 },
18 "sideEffects": [
19 "./lib/API.js",
20 "./lib-esm/API.js"
21 ],
22 "publishConfig": {
23 "access": "public"
24 },
25 "scripts": {
26 "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
27 "build-with-test": "npm test && npm run build",
28 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
29 "build:esm": "node ./build es6",
30 "build:cjs:watch": "node ./build es5 --watch",
31 "build:esm:watch": "node ./build es6 --watch",
32 "build": "npm run clean && npm run build:esm && npm run build:cjs",
33 "clean": "rimraf lib-esm lib dist",
34 "format": "echo \"Not implemented\"",
35 "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
36 "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 91.93"
37 },
38 "repository": {
39 "type": "git",
40 "url": "https://github.com/aws-amplify/amplify-js.git"
41 },
42 "author": "Amazon Web Services",
43 "license": "Apache-2.0",
44 "bugs": {
45 "url": "https://github.com/aws/aws-amplify/issues"
46 },
47 "homepage": "https://aws-amplify.github.io/",
48 "devDependencies": {
49 "@types/zen-observable": "^0.8.0"
50 },
51 "files": [
52 "lib",
53 "lib-esm",
54 "src",
55 "index.*.d.ts"
56 ],
57 "dependencies": {
58 "@aws-amplify/api-graphql": "3.0.4",
59 "@aws-amplify/api-rest": "3.0.4",
60 "tslib": "^1.8.0"
61 },
62 "jest": {
63 "globals": {
64 "ts-jest": {
65 "diagnostics": false,
66 "tsConfig": {
67 "lib": [
68 "es5",
69 "es2015",
70 "dom",
71 "esnext.asynciterable",
72 "es2017.object"
73 ],
74 "allowJs": true
75 }
76 }
77 },
78 "transform": {
79 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
80 },
81 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
82 "moduleFileExtensions": [
83 "ts",
84 "tsx",
85 "js",
86 "json",
87 "jsx"
88 ],
89 "testEnvironment": "jsdom",
90 "testURL": "http://localhost/",
91 "coverageThreshold": {
92 "global": {
93 "branches": 0,
94 "functions": 0,
95 "lines": 0,
96 "statements": 0
97 }
98 },
99 "coveragePathIgnorePatterns": [
100 "/node_modules/",
101 "dist",
102 "lib",
103 "lib-esm"
104 ]
105 },
106 "gitHead": "1e1950d032836071b734b6e78b7aad578c4488aa"
107}