mirror of https://github.com/status-im/js-waku.git
Add size-limit (#536)
This commit is contained in:
parent
f780a76da3
commit
30faaf91d3
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
|
@ -24,6 +24,7 @@
|
|||
"build:umd:min": "webpack --config webpack.config.min.js",
|
||||
"build:umd:bundle": "webpack --config webpack.config.bundle.js",
|
||||
"build:umd:min:bundle": "webpack --config webpack.config.min.bundle.js",
|
||||
"size": "npm run build:esm && size-limit",
|
||||
"fix": "run-s fix:*",
|
||||
"fix:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --write",
|
||||
"fix:lint": "eslint src --ext .ts --fix",
|
||||
|
@ -80,6 +81,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
||||
"@size-limit/preset-big-lib": "^7.0.8",
|
||||
"@types/app-root-path": "^1.2.4",
|
||||
"@types/chai": "^4.2.15",
|
||||
"@types/mocha": "^9.1.0",
|
||||
|
@ -118,6 +120,7 @@
|
|||
"prettier": "^2.1.1",
|
||||
"process": "^0.11.10",
|
||||
"puppeteer": "^13.0.1",
|
||||
"size-limit": "^7.0.8",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"tail": "^2.2.0",
|
||||
"ts-loader": "^9.2.6",
|
||||
|
@ -145,5 +148,12 @@
|
|||
"exclude": [
|
||||
"**/*.spec.js"
|
||||
]
|
||||
},
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "build/esm/index.js",
|
||||
"import": "{ Waku }",
|
||||
"config": "./webpack.config.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue