UNPKG

2.2 kBJSONView Raw
1{
2 "name": "@aws-amplify/api",
3 "version": "3.2.24",
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 "react-native": {
9 "./lib/index": "./lib-esm/index.js"
10 },
11 "sideEffects": [
12 "./src/API.ts",
13 "./lib/API.js",
14 "./lib-esm/API.js",
15 "./dist/aws-amplify-api.js",
16 "./dist/aws-amplify-api.min.js"
17 ],
18 "publishConfig": {
19 "access": "public"
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": "node ./build es6",
26 "build:cjs:watch": "node ./build es5 --watch",
27 "build:esm:watch": "node ./build es6 --watch",
28 "build": "npm run clean && npm run build:esm && npm run build:cjs",
29 "clean": "rimraf lib-esm lib dist",
30 "format": "echo \"Not implemented\"",
31 "lint": "tslint 'src/**/*.ts'"
32 },
33 "repository": {
34 "type": "git",
35 "url": "https://github.com/aws-amplify/amplify-js.git"
36 },
37 "author": "Amazon Web Services",
38 "license": "Apache-2.0",
39 "bugs": {
40 "url": "https://github.com/aws/aws-amplify/issues"
41 },
42 "homepage": "https://aws-amplify.github.io/",
43 "devDependencies": {
44 "@types/zen-observable": "^0.8.0"
45 },
46 "dependencies": {
47 "@aws-amplify/api-graphql": "1.2.24",
48 "@aws-amplify/api-rest": "1.2.24"
49 },
50 "jest": {
51 "globals": {
52 "ts-jest": {
53 "diagnostics": false,
54 "tsConfig": {
55 "lib": [
56 "es5",
57 "es2015",
58 "dom",
59 "esnext.asynciterable",
60 "es2017.object"
61 ],
62 "allowJs": true
63 }
64 }
65 },
66 "transform": {
67 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
68 },
69 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
70 "moduleFileExtensions": [
71 "ts",
72 "tsx",
73 "js",
74 "json",
75 "jsx"
76 ],
77 "testEnvironment": "jsdom",
78 "testURL": "http://localhost/",
79 "coverageThreshold": {
80 "global": {
81 "branches": 0,
82 "functions": 0,
83 "lines": 0,
84 "statements": 0
85 }
86 },
87 "coveragePathIgnorePatterns": [
88 "/node_modules/",
89 "dist",
90 "lib",
91 "lib-esm"
92 ]
93 },
94 "gitHead": "2b181d5956984d48b554b073b9a1ce70b84c7fbc"
95}