@aws-amplify/api-rest 3.0.9 → 3.0.10-unstableV5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +13 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/api-rest",
3
- "version": "3.0.9",
3
+ "version": "3.0.10-unstableV5.5+f895f7836",
4
4
  "description": "Api-rest category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -17,13 +17,14 @@
17
17
  },
18
18
  "scripts": {
19
19
  "test": "tslint 'src/**/*.ts' && jest --coverage",
20
+ "test:size": "size-limit",
20
21
  "build-with-test": "npm test && npm run build",
21
22
  "build:cjs": "node ./build es5 && webpack && webpack --config ./webpack.config.dev.js",
22
23
  "build:esm": "node ./build es6",
23
24
  "build:cjs:watch": "node ./build es5 --watch",
24
25
  "build:esm:watch": "node ./build es6 --watch",
25
26
  "build": "npm run clean && npm run build:esm && npm run build:cjs",
26
- "clean": "rimraf lib-esm lib dist",
27
+ "clean": "rimraf lib-esm lib dist dual-publish-tmp",
27
28
  "format": "echo \"Not implemented\"",
28
29
  "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
29
30
  "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 65.41"
@@ -44,10 +45,18 @@
44
45
  "src"
45
46
  ],
46
47
  "dependencies": {
47
- "@aws-amplify/core": "5.0.9",
48
+ "@aws-amplify/core": "5.0.10-unstableV5.5+f895f7836",
48
49
  "axios": "0.26.0",
49
50
  "tslib": "^1.8.0"
50
51
  },
52
+ "size-limit": [
53
+ {
54
+ "name": "API (rest client)",
55
+ "path": "./lib-esm/index.js",
56
+ "import": "{ Amplify, RestAPI }",
57
+ "limit": "47.5 kB"
58
+ }
59
+ ],
51
60
  "jest": {
52
61
  "globals": {
53
62
  "ts-jest": {
@@ -92,5 +101,5 @@
92
101
  "lib-esm"
93
102
  ]
94
103
  },
95
- "gitHead": "5e4beb9b69a91ffb6fc79cf6305e27cf9794cacf"
104
+ "gitHead": "f895f78360251cf13d063757d58b366563c7efc5"
96
105
  }