UNPKG

2.6 kBJSONView Raw
1{
2 "name": "@aws-amplify/pubsub",
3 "version": "4.0.2",
4 "description": "Pubsub 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/PubSub.ts",
13 "./lib/PubSub.js",
14 "./lib-esm/PubSub.js",
15 "./dist/aws-amplify-pubsub.min.js",
16 "./dist/aws-amplify-pubsub.js"
17 ],
18 "publishConfig": {
19 "access": "public"
20 },
21 "scripts": {
22 "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
23 "build-with-test": "npm run clean && npm test && tsc && webpack",
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 "cpx": "^1.5.0"
46 },
47 "dependencies": {
48 "@aws-amplify/auth": "4.0.2",
49 "@aws-amplify/cache": "4.0.4",
50 "@aws-amplify/core": "4.1.0",
51 "graphql": "14.0.0",
52 "paho-mqtt": "^1.1.0",
53 "uuid": "^3.2.1",
54 "zen-observable-ts": "0.8.19"
55 },
56 "jest": {
57 "globals": {
58 "ts-jest": {
59 "diagnostics": false,
60 "tsConfig": {
61 "lib": [
62 "es5",
63 "es2015",
64 "dom",
65 "esnext.asynciterable",
66 "es2017.object"
67 ],
68 "allowJs": true
69 }
70 }
71 },
72 "transform": {
73 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
74 },
75 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
76 "moduleFileExtensions": [
77 "ts",
78 "tsx",
79 "js",
80 "json",
81 "jsx"
82 ],
83 "testEnvironment": "jsdom",
84 "testURL": "http://localhost/",
85 "coverageThreshold": {
86 "global": {
87 "branches": 0,
88 "functions": 0,
89 "lines": 0,
90 "statements": 0
91 }
92 },
93 "coveragePathIgnorePatterns": [
94 "/node_modules/",
95 "dist",
96 "lib",
97 "lib-esm"
98 ]
99 },
100 "gitHead": "ac7a2802568c8bd1daf13e29ebfe9d976c89d099"
101}