UNPKG

2.98 kBJSONView Raw
1{
2 "name": "@aws-amplify/storage",
3 "version": "5.1.1",
4 "description": "Storage category of aws-amplify",
5 "main": "./lib/index.js",
6 "module": "./lib-esm/index.js",
7 "typings": "./lib-esm/index.d.ts",
8 "react-native": {
9 "./lib/index": "./lib-esm/index.js"
10 },
11 "sideEffects": [
12 "./lib/Storage.js",
13 "./lib-esm/Storage.js"
14 ],
15 "publishConfig": {
16 "access": "public"
17 },
18 "scripts": {
19 "test": "tslint 'src/**/*.ts' && jest -w 1 --coverage",
20 "test:size": "size-limit",
21 "build-with-test": "npm test && npm run build",
22 "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
23 "build:esm": "node ./build es6",
24 "build:cjs:watch": "node ./build es5 --watch",
25 "build:esm:watch": "node ./build es6 --watch",
26 "build": "npm run clean && npm run build:esm && npm run build:cjs",
27 "clean": "rimraf lib-esm lib dist dual-publish-tmp",
28 "format": "echo \"Not implemented\"",
29 "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
30 "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 90.31"
31 },
32 "repository": {
33 "type": "git",
34 "url": "https://github.com/aws-amplify/amplify-js.git"
35 },
36 "author": "Amazon Web Services",
37 "license": "Apache-2.0",
38 "bugs": {
39 "url": "https://github.com/aws/aws-amplify/issues"
40 },
41 "homepage": "https://aws-amplify.github.io/",
42 "files": [
43 "lib",
44 "lib-esm",
45 "src"
46 ],
47 "dependencies": {
48 "@aws-amplify/core": "5.0.11",
49 "@aws-sdk/client-s3": "3.6.1",
50 "@aws-sdk/s3-request-presigner": "3.6.1",
51 "@aws-sdk/util-create-request": "3.6.1",
52 "@aws-sdk/util-format-url": "3.6.1",
53 "axios": "0.26.0",
54 "events": "^3.1.0",
55 "tslib": "^1.8.0"
56 },
57 "size-limit": [
58 {
59 "name": "Storage (top-level class)",
60 "path": "./lib-esm/index.js",
61 "import": "{ Amplify, Storage }",
62 "limit": "84.5 kB"
63 }
64 ],
65 "jest": {
66 "globals": {
67 "ts-jest": {
68 "diagnostics": {
69 "pathRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$"
70 },
71 "tsConfig": {
72 "lib": [
73 "es5",
74 "es2015",
75 "dom",
76 "esnext.asynciterable",
77 "es2017.object"
78 ],
79 "allowJs": true
80 }
81 }
82 },
83 "transform": {
84 "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
85 },
86 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
87 "moduleFileExtensions": [
88 "ts",
89 "tsx",
90 "js",
91 "json",
92 "jsx"
93 ],
94 "testEnvironment": "jsdom",
95 "testURL": "http://localhost/",
96 "coverageThreshold": {
97 "global": {
98 "branches": 0,
99 "functions": 0,
100 "lines": 0,
101 "statements": 0
102 }
103 },
104 "coveragePathIgnorePatterns": [
105 "/node_modules/",
106 "dist",
107 "lib",
108 "lib-esm"
109 ]
110 },
111 "devDependencies": {
112 "@types/sinon": "^7.5.1"
113 },
114 "gitHead": "ae3dec1cfd1b3d2a0620573890f4f4467ef84fad"
115}