|
@@ -6,6 +6,11 @@
|
|
|
"lint-staged": {
|
|
|
"*.js": "eslint"
|
|
|
},
|
|
|
+ "size-limit": [
|
|
|
+ {
|
|
|
+ "path": "packages/uppy/index.js"
|
|
|
+ }
|
|
|
+ ],
|
|
|
"pre-commit": "lint:staged",
|
|
|
"license": "MIT",
|
|
|
"dependencies": {
|
|
@@ -72,6 +77,7 @@
|
|
|
"@babel/preset-env": "^7.4.5",
|
|
|
"@babel/register": "^7.4.4",
|
|
|
"@octokit/rest": "^16.25.0",
|
|
|
+ "@size-limit/preset-big-lib": "^2.1.1",
|
|
|
"@types/aws-serverless-express": "^3.0.1",
|
|
|
"@types/compression": "0.0.36",
|
|
|
"@types/connect-redis": "0.0.7",
|
|
@@ -169,7 +175,8 @@
|
|
|
"verdaccio": "^4.2.1",
|
|
|
"watchify": "^3.11.1",
|
|
|
"webdriverio": "^5.0.0",
|
|
|
- "whatwg-fetch": "3.0.0"
|
|
|
+ "whatwg-fetch": "3.0.0",
|
|
|
+ "webpack": "4.39.1"
|
|
|
},
|
|
|
"scripts": {
|
|
|
"bootstrap": "lerna bootstrap",
|
|
@@ -206,6 +213,7 @@
|
|
|
"test:type": "tsc -p .",
|
|
|
"test:unit": "npm run build:lib && jest",
|
|
|
"test:watch": "jest --watch",
|
|
|
+ "test:size": "size-limit",
|
|
|
"test": "npm-run-all lint test:locale-packs test:unit test:type test:companion",
|
|
|
"uploadcdn": "node ./bin/upload-to-cdn.js",
|
|
|
"version": "node ./bin/after-version-bump.js",
|