1 | {
|
2 | "name": "@aws-amplify/analytics",
|
3 | "version": "6.0.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": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
|
17 | "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
|
18 | "build-with-test": "npm run clean && npm test && tsc && webpack",
|
19 | "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
|
20 | "build:esm": "node ./build es6",
|
21 | "build:cjs:watch": "node ./build es5 --watch",
|
22 | "build:esm:watch": "node ./build es6 --watch",
|
23 | "build": "npm run clean && npm run build:esm && npm run build:cjs",
|
24 | "clean": "rimraf lib-esm lib dist",
|
25 | "format": "echo \"Not implemented\"",
|
26 | "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
|
27 | "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 69.26"
|
28 | },
|
29 | "react-native": {
|
30 | "./lib/index": "./lib-esm/index.js",
|
31 | "./lib-esm/trackers": "./lib-esm/trackers/reactnative.js"
|
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 | "files": [
|
44 | "lib",
|
45 | "lib-esm",
|
46 | "src"
|
47 | ],
|
48 | "dependencies": {
|
49 | "@aws-amplify/cache": "5.0.5",
|
50 | "@aws-amplify/core": "5.0.5",
|
51 | "@aws-sdk/client-firehose": "3.6.1",
|
52 | "@aws-sdk/client-kinesis": "3.6.1",
|
53 | "@aws-sdk/client-personalize-events": "3.6.1",
|
54 | "@aws-sdk/client-pinpoint": "3.6.1",
|
55 | "@aws-sdk/util-utf8-browser": "3.6.1",
|
56 | "lodash": "^4.17.20",
|
57 | "tslib": "^1.8.0",
|
58 | "uuid": "^3.2.1"
|
59 | },
|
60 | "jest": {
|
61 | "globals": {
|
62 | "ts-jest": {
|
63 | "diagnostics": false,
|
64 | "tsConfig": {
|
65 | "lib": [
|
66 | "es5",
|
67 | "es2015",
|
68 | "dom",
|
69 | "esnext.asynciterable",
|
70 | "es2017.object"
|
71 | ],
|
72 | "allowJs": true,
|
73 | "esModuleInterop": true
|
74 | }
|
75 | }
|
76 | },
|
77 | "transform": {
|
78 | "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
|
79 | },
|
80 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
|
81 | "moduleFileExtensions": [
|
82 | "ts",
|
83 | "tsx",
|
84 | "js",
|
85 | "json",
|
86 | "jsx"
|
87 | ],
|
88 | "testEnvironment": "jsdom",
|
89 | "testURL": "http://localhost/",
|
90 | "coverageThreshold": {
|
91 | "global": {
|
92 | "branches": 0,
|
93 | "functions": 0,
|
94 | "lines": 0,
|
95 | "statements": 0
|
96 | }
|
97 | },
|
98 | "coveragePathIgnorePatterns": [
|
99 | "/node_modules/",
|
100 | "dist",
|
101 | "lib",
|
102 | "lib-esm"
|
103 | ],
|
104 | "setupFiles": [
|
105 | "<rootDir>/src/setupTests.ts"
|
106 | ]
|
107 | },
|
108 | "gitHead": "299233e5f6d1a6703dada4035159d611a3414681"
|
109 | }
|