UNPKG

@aws-amplify/xr

Version:
106 lines (105 loc) 2.63 kB
{ "name": "@aws-amplify/xr", "version": "4.0.15", "description": "XR category of aws-amplify", "main": "./lib/index.js", "module": "./lib-esm/index.js", "typings": "./lib-esm/index.d.ts", "react-native": { "./lib/index": "./lib-esm/index.js" }, "sideEffects": [ "./lib/XR.js", "./lib-esm/XR.js" ], "publishConfig": { "access": "public" }, "scripts": { "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage", "test:size": "size-limit", "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: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'", "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json" }, "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/core": "5.0.15", "tslib": "^1.8.0" }, "size-limit": [ { "name": "XR (top-level class)", "path": "./lib-esm/index.js", "import": "{ Amplify, XR }", "limit": "43 kB" } ], "jest": { "globals": { "ts-jest": { "diagnostics": false, "tsConfig": { "lib": [ "es5", "es2015", "dom", "esnext.asynciterable", "es2017.object" ], "allowJs": 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" ] }, "gitHead": "8949038c35e011723624ea6140656c8f17920beb" }