Skip to content
Snippets Groups Projects
Unverified Commit 3bb38c25 authored by Camille Villa's avatar Camille Villa Committed by GitHub
Browse files

Merge pull request #2389 from ProjectMirador/bundlewatch

replace size-limit with bundlesize for CI goodness
parents e37026b1 394cb5c1
No related branches found
No related tags found
No related merge requests found
{
"files": [
{
"path": "dist/mirador.min.js",
"maxSize": "420 KB"
}
]
}
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"build:es": "mkdir -p dist/es && cp -r src dist/es && babel dist/es -d dist/es", "build:es": "mkdir -p dist/es && cp -r src dist/es && babel dist/es -d dist/es",
"build:watch": "webpack --watch --mode=development", "build:watch": "webpack --watch --mode=development",
"prepublishOnly": "npm run clean && npm run build:es && npm run build", "prepublishOnly": "npm run clean && npm run build:es && npm run build",
"size": "size-limit", "size": "bundlewatch --config bundlewatch.config.json",
"start": "npm run build:dev && concurrently \"npm run build:watch\" \"npm run server -- -p 4444\"", "start": "npm run build:dev && concurrently \"npm run build:watch\" \"npm run server -- -p 4444\"",
"server:json": "node ./scripts/json-server/server.js >> ./scripts/json-server/json-server.log" "server:json": "node ./scripts/json-server/server.js >> ./scripts/json-server/json-server.log"
}, },
...@@ -27,12 +27,6 @@ ...@@ -27,12 +27,6 @@
"Jack Reed <phillipjreed@gmail.com> (https://www.jack-reed.com)" "Jack Reed <phillipjreed@gmail.com> (https://www.jack-reed.com)"
], ],
"repository": "https://github.com/ProjectMirador/mirador", "repository": "https://github.com/ProjectMirador/mirador",
"size-limit": [
{
"limit": "390 KB",
"path": "dist/mirador.min.js"
}
],
"dependencies": { "dependencies": {
"@material-ui/core": "^3.9.1", "@material-ui/core": "^3.9.1",
"@material-ui/icons": "^3.0.2", "@material-ui/icons": "^3.0.2",
...@@ -76,6 +70,7 @@ ...@@ -76,6 +70,7 @@
"babel-eslint": "10.0.1", "babel-eslint": "10.0.1",
"babel-jest": "^24.5.0", "babel-jest": "^24.5.0",
"babel-loader": "^8.0.4", "babel-loader": "^8.0.4",
"bundlewatch": "^0.2.1",
"chalk": "^2.4.2", "chalk": "^2.4.2",
"codecov": "^3.1.0", "codecov": "^3.1.0",
"concurrently": "^4.0.1", "concurrently": "^4.0.1",
...@@ -104,7 +99,6 @@ ...@@ -104,7 +99,6 @@
"react-dom": "^16.8.3", "react-dom": "^16.8.3",
"redux-mock-store": "^1.5.1", "redux-mock-store": "^1.5.1",
"sass-lint": "^1.12.1", "sass-lint": "^1.12.1",
"size-limit": "^0.21.1",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"supertest": "^4.0.2", "supertest": "^4.0.2",
"terser-webpack-plugin": "^1.2.1", "terser-webpack-plugin": "^1.2.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment