build: separate size scripts

This commit is contained in:
Evan You 2019-10-02 17:45:02 -04:00
parent 3d14265102
commit 35cb3700b8

View File

@ -6,7 +6,9 @@
"scripts": {
"dev": "node scripts/dev.js",
"build": "node scripts/build.js",
"size": "node scripts/build.js runtime-dom -p -f esm-browser && node scripts/build.js compiler-dom -p -f esm-browser",
"size-runtime": "node scripts/build.js runtime-dom -p -f esm-browser",
"size-compiler": "node scripts/build.js compiler-dom -p -f esm-browser",
"size": "yarn size-runtime && yarn size-compiler",
"lint": "prettier --write --parser typescript 'packages/**/*.ts'",
"test": "jest"
},