UNPKG

aws-amplify-react

Version:

AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.

125 lines (124 loc) 3.32 kB
{ "name": "aws-amplify-react", "version": "5.1.43", "description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.", "main": "./lib/index.js", "module": "./lib-esm/index.js", "typings": "./lib-esm/index.d.ts", "sideEffects": [ "./src/Storage/index.ts", "./src/Storage/S3Album.ts", "./src/index.ts", "./lib-esm/Storage/index.js", "./lib-esm/Storage/S3Album.js", "./lib-esm/index.js", "./lib/Storage/index.js", "./lib/Storage/S3Album.js", "./lib/index.js", "./dist/aws-amplify-react.js", "./dist/aws-amplify-react.min.js" ], "scripts": { "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage --updateSnapshot --maxWorkers 2", "build-with-test": "npm test && npm run build", "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:cjs && npm run build:esm", "clean": "rimraf lib-esm lib dist", "watch": "yarn run clean && babel src --presets babel-preset-react --out-dir dist --copy-files --watch", "cypress": "cypress run", "cypress:open": "cypress open", "format": "echo \"Not implemented\"", "lint": "tslint 'src/**/*.ts'" }, "devDependencies": { "@types/enzyme": "^3.1.0", "@types/enzyme-adapter-react-16": "^1.0.3", "@types/react": "^16.0.41", "@types/react-dom": "^16.0.11", "aws-amplify": "4.3.42", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "enzyme-to-json": "^3.2.1", "react": "^16.0.0", "react-dom": "^16.0.0", "react-test-renderer": "^16.0.0" }, "repository": { "type": "git", "url": "https://github.com/aws-amplify/amplify-js.git" }, "author": "Amazon Web Services", "license": "Apache-2.0", "jest": { "globals": { "ts-jest": { "diagnostics": false, "tsConfig": { "lib": [ "es5", "es2015", "dom", "esnext.asynciterable", "es2017.object" ], "allowJs": true, "jsx": "react" } } }, "transform": { "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "timers": "fake", "setupTestFrameworkScriptFile": "./test_Setup/enzymeSetup.ts", "snapshotSerializers": [ "enzyme-to-json/serializer" ], "testEnvironment": "jsdom", "testURL": "http://localhost/", "coverageThreshold": { "global": { "branches": 70, "functions": 75, "lines": 75, "statements": 75 } }, "coveragePathIgnorePatterns": [ "/node_modules/", "dist", "lib", "lib-esm" ], "moduleNameMapper": { "\\.(css|less|scss|sass)$": "<rootDir>/__mocks__/styleMock.ts" } }, "dependencies": { "qrcode.react": "^0.8.0", "regenerator-runtime": "^0.11.1" }, "peerDependencies": { "@aws-amplify/analytics": "3.x.x", "@aws-amplify/api": "3.x.x", "@aws-amplify/auth": "3.x.x", "@aws-amplify/core": "3.x.x", "@aws-amplify/interactions": "3.x.x", "@aws-amplify/storage": "3.x.x", "@aws-amplify/ui": "2.x.x", "@aws-amplify/xr": "2.x.x" }, "gitHead": "745cf5462e07317da9f404f39d8707681463a701" }