1 | {
|
2 | "name": "@aws-amplify/analytics",
|
3 | "version": "6.5.5",
|
4 | "description": "Analytics category of aws-amplify",
|
5 | "main": "./lib/index.js",
|
6 | "module": "./lib-esm/index.js",
|
7 | "typings": "./lib-esm/index.d.ts",
|
8 | "sideEffects": [
|
9 | "./lib/Analytics.js",
|
10 | "./lib-esm/Analytics.js"
|
11 | ],
|
12 | "publishConfig": {
|
13 | "access": "public"
|
14 | },
|
15 | "scripts": {
|
16 | "test": "npm run lint && jest -w 1 --coverage",
|
17 | "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
|
18 | "test:size": "size-limit",
|
19 | "build-with-test": "npm run clean && npm test && tsc && webpack",
|
20 | "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
|
21 | "build:esm": "node ./build es6",
|
22 | "build:cjs:watch": "node ./build es5 --watch",
|
23 | "build:esm:watch": "node ./build es6 --watch",
|
24 | "build": "npm run clean && npm run build:esm && npm run build:cjs",
|
25 | "clean": "npm run clean:size && rimraf lib-esm lib dist",
|
26 | "clean:size": "rimraf dual-publish-tmp tmp*",
|
27 | "format": "echo \"Not implemented\"",
|
28 | "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
|
29 | "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 69.26"
|
30 | },
|
31 | "react-native": {
|
32 | "./lib/index": "./lib-esm/index.js",
|
33 | "./lib-esm/trackers": "./lib-esm/trackers/reactnative.js"
|
34 | },
|
35 | "repository": {
|
36 | "type": "git",
|
37 | "url": "https://github.com/aws-amplify/amplify-js.git"
|
38 | },
|
39 | "author": "Amazon Web Services",
|
40 | "license": "Apache-2.0",
|
41 | "bugs": {
|
42 | "url": "https://github.com/aws/aws-amplify/issues"
|
43 | },
|
44 | "homepage": "https://aws-amplify.github.io/",
|
45 | "files": [
|
46 | "lib",
|
47 | "lib-esm",
|
48 | "src"
|
49 | ],
|
50 | "dependencies": {
|
51 | "@aws-amplify/cache": "5.1.11",
|
52 | "@aws-amplify/core": "5.8.5",
|
53 | "@aws-sdk/client-firehose": "3.6.1",
|
54 | "@aws-sdk/client-kinesis": "3.6.1",
|
55 | "@aws-sdk/client-personalize-events": "3.6.1",
|
56 | "@aws-sdk/util-utf8-browser": "3.6.1",
|
57 | "lodash": "^4.17.20",
|
58 | "tslib": "^1.8.0",
|
59 | "uuid": "^3.2.1"
|
60 | },
|
61 | "devDependencies": {
|
62 | "@aws-sdk/types": "3.6.1"
|
63 | },
|
64 | "size-limit": [
|
65 | {
|
66 | "name": "Analytics (Pinpoint)",
|
67 | "path": "./lib-esm/index.js",
|
68 | "import": "{ Amplify, Analytics, AWSPinpointProvider }",
|
69 | "limit": "31.1 kB"
|
70 | },
|
71 | {
|
72 | "name": "Analytics (Kinesis)",
|
73 | "path": "./lib-esm/index.js",
|
74 | "import": "{ Amplify, Analytics, AWSKinesisProvider }",
|
75 | "limit": "60.4 kB"
|
76 | }
|
77 | ],
|
78 | "jest": {
|
79 | "globals": {
|
80 | "ts-jest": {
|
81 | "diagnostics": false,
|
82 | "tsConfig": {
|
83 | "lib": [
|
84 | "es5",
|
85 | "es2015",
|
86 | "dom",
|
87 | "esnext.asynciterable",
|
88 | "es2017.object"
|
89 | ],
|
90 | "allowJs": true,
|
91 | "esModuleInterop": true
|
92 | }
|
93 | }
|
94 | },
|
95 | "transform": {
|
96 | "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
|
97 | },
|
98 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
|
99 | "moduleFileExtensions": [
|
100 | "ts",
|
101 | "tsx",
|
102 | "js",
|
103 | "json",
|
104 | "jsx"
|
105 | ],
|
106 | "testEnvironment": "jsdom",
|
107 | "testURL": "http://localhost/",
|
108 | "coverageThreshold": {
|
109 | "global": {
|
110 | "branches": 0,
|
111 | "functions": 0,
|
112 | "lines": 0,
|
113 | "statements": 0
|
114 | }
|
115 | },
|
116 | "coveragePathIgnorePatterns": [
|
117 | "/node_modules/",
|
118 | "dist",
|
119 | "lib",
|
120 | "lib-esm"
|
121 | ],
|
122 | "setupFiles": [
|
123 | "<rootDir>/src/setupTests.ts"
|
124 | ]
|
125 | },
|
126 | "gitHead": "c3a06153e3ffe05dd65485a22b1f99aabe9b3d83"
|
127 | }
|