Add stats npm task

This commit is contained in:
Roman Hotsiy 2017-11-14 18:03:58 +02:00
parent 9bc44fd1ae
commit 71395868ef
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ npm-debug.log*
node_modules
lib/
stats.json
/coverage
.ghpages-tmp

View File

@ -12,6 +12,7 @@
"test": "jest",
"bundle": "webpack",
"bundle:prod": "webpack -p --env.prod",
"stats": "webpack -p --env.prod --json > stats.json",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\""
},
"author": "",