UNPKG

3.61 kBJSONView Raw
1{
2 "name": "@aws-amplify/storage",
3 "version": "6.7.3",
4 "description": "Storage category of aws-amplify",
5 "main": "./dist/cjs/index.js",
6 "module": "./dist/esm/index.mjs",
7 "react-native": {
8 "./dist/cjs/index": "./src/index.ts",
9 "fast-xml-parser": "fast-xml-parser",
10 "buffer": "buffer"
11 },
12 "typings": "./dist/esm/index.d.ts",
13 "browser": {
14 "./dist/esm/providers/s3/utils/client/runtime/base64/index.native.mjs": "./dist/esm/providers/s3/utils/client/runtime/base64/index.browser.mjs",
15 "./dist/esm/providers/s3/utils/client/runtime/s3TransferHandler/fetch.mjs": "./dist/esm/providers/s3/utils/client/runtime/s3TransferHandler/xhr.mjs",
16 "./dist/esm/providers/s3/utils/client/runtime/xmlParser/pureJs.mjs": "./dist/esm/providers/s3/utils/client/runtime/xmlParser/dom.mjs",
17 "fast-xml-parser": false,
18 "buffer": false
19 },
20 "sideEffects": false,
21 "publishConfig": {
22 "access": "public"
23 },
24 "scripts": {
25 "test": "npm run lint && jest -w 1 --coverage --logHeapUsage",
26 "build-with-test": "npm test && npm run build",
27 "build:umd": "webpack && webpack --config ./webpack.config.dev.js",
28 "build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
29 "build:watch": "npm run build:esm-cjs -- --watch",
30 "build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
31 "clean": "npm run clean:size && rimraf lib-esm lib dist",
32 "clean:size": "rimraf dual-publish-tmp tmp*",
33 "format": "echo \"Not implemented\"",
34 "lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
35 "lint:fix": "eslint '**/*.{ts,tsx}' --fix",
36 "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 90.31"
37 },
38 "typesVersions": {
39 ">=4.2": {
40 "s3": [
41 "./dist/esm/providers/s3/index.d.ts"
42 ],
43 "internals": [
44 "./dist/esm/internals/index.d.ts"
45 ],
46 "server": [
47 "./dist/esm/server.d.ts"
48 ],
49 "s3/server": [
50 "./dist/esm/providers/s3/server.d.ts"
51 ]
52 }
53 },
54 "repository": {
55 "type": "git",
56 "url": "https://github.com/aws-amplify/amplify-js.git"
57 },
58 "author": "Amazon Web Services",
59 "license": "Apache-2.0",
60 "bugs": {
61 "url": "https://github.com/aws/aws-amplify/issues"
62 },
63 "homepage": "https://aws-amplify.github.io/",
64 "files": [
65 "dist/cjs",
66 "dist/esm",
67 "internals",
68 "src",
69 "server",
70 "s3"
71 ],
72 "dependencies": {
73 "@aws-sdk/types": "3.398.0",
74 "@smithy/md5-js": "2.0.7",
75 "buffer": "4.9.2",
76 "crc-32": "1.2.2",
77 "fast-xml-parser": "^4.4.1",
78 "tslib": "^2.5.0"
79 },
80 "exports": {
81 ".": {
82 "types": "./dist/esm/index.d.ts",
83 "import": "./dist/esm/index.mjs",
84 "require": "./dist/cjs/index.js",
85 "react-native": "./src/index.ts"
86 },
87 "./internals": {
88 "types": "./dist/esm/internals/index.d.ts",
89 "import": "./dist/esm/internals/index.mjs",
90 "require": "./dist/cjs/internals/index.js"
91 },
92 "./server": {
93 "types": "./dist/esm/server.d.ts",
94 "import": "./dist/esm/server.mjs",
95 "require": "./dist/cjs/server.js"
96 },
97 "./s3": {
98 "types": "./dist/esm/providers/s3/index.d.ts",
99 "import": "./dist/esm/providers/s3/index.mjs",
100 "require": "./dist/cjs/providers/s3/index.js",
101 "react-native": "./src/providers/s3/index.ts"
102 },
103 "./s3/server": {
104 "types": "./dist/esm/providers/s3/server.d.ts",
105 "import": "./dist/esm/providers/s3/server.mjs",
106 "require": "./dist/cjs/providers/s3/server.js"
107 },
108 "./package.json": "./package.json"
109 },
110 "peerDependencies": {
111 "@aws-amplify/core": "^6.1.0"
112 },
113 "devDependencies": {
114 "@aws-amplify/core": "6.7.2",
115 "@aws-amplify/react-native": "1.1.6",
116 "@types/node": "20.14.12",
117 "typescript": "5.0.2"
118 },
119 "gitHead": "bb4d6ff5ff797bb6dddb1b38c4540f7bac6f208a"
120}