UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

166 lines (165 loc) 4.45 kB
{ "name": "@aws-amplify/storage", "version": "6.0.5", "description": "Storage category of aws-amplify", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", "react-native": { "./dist/cjs/index": "./src/index.ts", "fast-xml-parser": "fast-xml-parser", "buffer": "buffer" }, "typings": "./dist/esm/index.d.ts", "browser": { "./dist/esm/providers/s3/utils/client/runtime/base64/index.native.mjs": "./dist/esm/providers/s3/utils/client/runtime/base64/index.browser.mjs", "./dist/esm/providers/s3/utils/client/runtime/s3TransferHandler/fetch.mjs": "./dist/esm/providers/s3/utils/client/runtime/s3TransferHandler/xhr.mjs", "./dist/esm/providers/s3/utils/client/runtime/xmlParser/pureJs.mjs": "./dist/esm/providers/s3/utils/client/runtime/xmlParser/dom.mjs", "fast-xml-parser": false, "buffer": false }, "sideEffects": false, "publishConfig": { "access": "public" }, "scripts": { "test": "npm run lint && jest -w 1 --coverage", "build-with-test": "npm test && npm run build", "build:umd": "webpack && webpack --config ./webpack.config.dev.js", "build:esm-cjs": "rollup -c rollup.config.mjs", "build:cjs:watch": "rimraf dist/cjs && tsc -m commonjs --outDir dist/cjs --watch", "build:esm:watch": "rimraf dist/esm && tsc -m esnext --outDir dist/esm --watch", "build": "npm run clean && npm run build:esm-cjs && npm run build:umd", "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 90.31" }, "typesVersions": { ">=4.2": { "s3": [ "./dist/esm/providers/s3/index.d.ts" ], "server": [ "./dist/esm/server.d.ts" ], "s3/server": [ "./dist/esm/providers/s3/server.d.ts" ] } }, "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": [ "dist/cjs", "dist/esm", "src", "server", "s3" ], "dependencies": { "@aws-sdk/types": "3.398.0", "@smithy/md5-js": "2.0.7", "buffer": "4.9.2", "fast-xml-parser": "^4.2.5", "tslib": "^2.5.0" }, "exports": { ".": { "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.js", "react-native": "./src/index.ts" }, "./server": { "types": "./dist/esm/server.d.ts", "import": "./dist/esm/server.mjs", "require": "./dist/cjs/server.js" }, "./s3": { "types": "./dist/esm/providers/s3/index.d.ts", "import": "./dist/esm/providers/s3/index.mjs", "require": "./dist/cjs/providers/s3/index.js", "react-native": "./src/providers/s3/index.ts" }, "./s3/server": { "types": "./dist/esm/providers/s3/server.d.ts", "import": "./dist/esm/providers/s3/server.mjs", "require": "./dist/cjs/providers/s3/server.js" }, "./package.json": "./package.json" }, "peerDependencies": { "@aws-amplify/core": "^6.0.0" }, "devDependencies": { "@aws-amplify/core": "6.0.5", "@aws-amplify/react-native": "1.0.5", "@rollup/plugin-json": "6.0.1", "@rollup/plugin-typescript": "11.1.5", "rollup": "3.29.4", "typescript": "5.0.2" }, "jest": { "globals": { "ts-jest": { "diagnostics": { "pathRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$" }, "tsConfig": { "downlevelIteration": true, "allowJs": true, "types": [ "@types/jest" ], "outDir": "./tsconfig.json", "noEmitOnError": false, "noImplicitAny": false, "skipLibCheck": true } } }, "transform": { "^.+\\.(js|jsx|ts|tsx)$": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.test|spec)\\.(tsx?|jsx?)$", "testPathIgnorePatterns": [ "xmlParser-fixture.ts", "testUtils", "cases" ], "modulePathIgnorePatterns": [ "dist" ], "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" ] }, "gitHead": "1c545f4a0c111245a66d489aeb01a0c0f78cf7cb" }