We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46b0874 commit 61012b4Copy full SHA for 61012b4
2 files changed
package.json
@@ -16,6 +16,7 @@
16
"test": "npm run build && mocha test/bootstrap.js --recursive test",
17
"build": "microbundle src/index.mjs --no-sourcemap",
18
"prepare": "npm run -s build",
19
+ "bundlesize": "bundlesize",
20
"release": "cross-var npm run build -s && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags"
21
},
22
"keywords": [
@@ -28,6 +29,7 @@
28
29
],
30
"devDependencies": {
31
"babel-preset-env": "^1.7.0",
32
+ "bundlesize": "^0.17.0",
33
"chai": "^4.2.0",
34
"cross-var": "^1.1.0",
35
"eslint": "^5.9.0",
@@ -37,6 +39,12 @@
37
39
"microbundle": "^0.7.0",
38
40
"mocha": "^5.2.0"
41
42
+ "bundlesize": [
43
+ {
44
+ "path": "./dist/*.js",
45
+ "maxSize": "2 kB"
46
+ }
47
+ ],
48
"dependencies": {
49
"puppeteer": "^1.10.0"
50
}
0 commit comments