UNPKG

@aws-amplify/analytics

Version:

Analytics category of aws-amplify

128 lines (127 loc) 3.15 kB
{ "name": "@aws-amplify/analytics", "version": "6.5.5", "description": "Analytics category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", "typings": "./lib-esm/index.d.ts", "sideEffects": [ "./lib/Analytics.js", "./lib-esm/Analytics.js" ], "publishConfig": { "access": "public" }, "scripts": { "test": "npm run lint && jest -w 1 --coverage", "test:watch": "tslint 'src/**/*.ts' && jest -w 1 --watch", "test:size": "size-limit", "build-with-test": "npm run clean && npm test && tsc && webpack", "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js", "build:esm": "node ./build es6", "build:cjs:watch": "node ./build es5 --watch", "build:esm:watch": "node ./build es6 --watch", "build": "npm run clean && npm run build:esm && npm run build:cjs", "clean": "npm run clean:size && rimraf lib-esm lib dist", "clean:size": "rimraf dual-publish-tmp tmp*", "format": "echo \"Not implemented\"", "lint": "tslint 'src/**/*.ts' && npm run ts-coverage", "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 69.26" }, "react-native": { "./lib/index": "./lib-esm/index.js", "./lib-esm/trackers": "./lib-esm/trackers/reactnative.js" }, "repository": { "type": "git", "url": "https://github.com/aws-amplify/amplify-js.git" }, "author": "Amazon Web Services", "license": "Apache-2.0", "bugs": { "url": "https://github.com/aws/aws-amplify/issues" }, "homepage": "https://aws-amplify.github.io/", "files": [ "lib", "lib-esm", "src" ], "dependencies": { "@aws-amplify/cache": "5.1.11", "@aws-amplify/core": "5.8.5", "@aws-sdk/client-firehose": "3.6.1", "@aws-sdk/client-kinesis": "3.6.1", "@aws-sdk/client-personalize-events": "3.6.1", "@aws-sdk/util-utf8-browser": "3.6.1", "lodash": "^4.17.20", "tslib": "^1.8.0", "uuid": "^3.2.1" }, "devDependencies": { "@aws-sdk/types": "3.6.1" }, "size-limit": [ { "name": "Analytics (Pinpoint)", "path": "./lib-esm/index.js", "import": "{ Amplify, Analytics, AWSPinpointProvider }", "limit": "31.1 kB" }, { "name": "Analytics (Kinesis)", "path": "./lib-esm/index.js", "import": "{ Amplify, Analytics, AWSKinesisProvider }", "limit": "60.4 kB" } ], "jest": { "globals": { "ts-jest": { "diagnostics": false, "tsConfig": { "lib": [ "es5", "es2015", "dom", "esnext.asynciterable", "es2017.object" ], "allowJs": true, "esModuleInterop": true } } }, "transform": { "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "json", "jsx" ], "testEnvironment": "jsdom", "testURL": "http://localhost/", "coverageThreshold": { "global": { "branches": 0, "functions": 0, "lines": 0, "statements": 0 } }, "coveragePathIgnorePatterns": [ "/node_modules/", "dist", "lib", "lib-esm" ], "setupFiles": [ "<rootDir>/src/setupTests.ts" ] }, "gitHead": "c3a06153e3ffe05dd65485a22b1f99aabe9b3d83" }