UNPKG

2.64 kBJSONView Raw
1{
2 "name": "@aws-amplify/analytics",
3 "version": "5.2.15",
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 "./src/Analytics.ts",
10 "./lib/Analytics.js",
11 "./lib-esm/Analytics.js",
12 "./dist/aws-amplify-analytics.js",
13 "./dist/aws-amplify-analytics.min.js"
14 ],
15 "publishConfig": {
16 "access": "public"
17 },
18 "scripts": {
19 "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
20 "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch",
21 "build-with-test": "npm run clean && npm test && tsc && webpack",
22 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
23 "build:esm": "node ./build es6",
24 "build:cjs:watch": "node ./build es5 --watch",
25 "build:esm:watch": "node ./build es6 --watch",
26 "build": "npm run clean && npm run build:esm && npm run build:cjs",
27 "clean": "rimraf lib-esm lib dist",
28 "format": "echo \"Not implemented\"",
29 "lint": "tslint 'src/**/*.ts'"
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 "dependencies": {
46 "@aws-amplify/cache": "4.0.50",
47 "@aws-amplify/core": "4.6.1",
48 "@aws-sdk/client-firehose": "3.6.1",
49 "@aws-sdk/client-kinesis": "3.6.1",
50 "@aws-sdk/client-personalize-events": "3.6.1",
51 "@aws-sdk/client-pinpoint": "3.6.1",
52 "@aws-sdk/util-utf8-browser": "3.6.1",
53 "lodash": "^4.17.20",
54 "uuid": "^3.2.1"
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 "esModuleInterop": true
70 }
71 }
72 },
73 "transform": {
74 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
75 },
76 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
77 "moduleFileExtensions": [
78 "ts",
79 "tsx",
80 "js",
81 "json",
82 "jsx"
83 ],
84 "testEnvironment": "jsdom",
85 "testURL": "http://localhost/",
86 "coverageThreshold": {
87 "global": {
88 "branches": 0,
89 "functions": 0,
90 "lines": 0,
91 "statements": 0
92 }
93 },
94 "coveragePathIgnorePatterns": [
95 "/node_modules/",
96 "dist",
97 "lib",
98 "lib-esm"
99 ],
100 "setupFiles": [
101 "<rootDir>/src/setupTests.ts"
102 ]
103 },
104 "gitHead": "7c46fbc75cff43c6323d29384f01cee7d3483e40"
105}