mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
Add stats npm task
This commit is contained in:
parent
9bc44fd1ae
commit
71395868ef
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,6 +21,7 @@ npm-debug.log*
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
lib/
|
lib/
|
||||||
|
stats.json
|
||||||
|
|
||||||
/coverage
|
/coverage
|
||||||
.ghpages-tmp
|
.ghpages-tmp
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"bundle": "webpack",
|
"bundle": "webpack",
|
||||||
"bundle:prod": "webpack -p --env.prod",
|
"bundle:prod": "webpack -p --env.prod",
|
||||||
|
"stats": "webpack -p --env.prod --json > stats.json",
|
||||||
"prettier": "prettier --write \"src/**/*.{ts,tsx}\""
|
"prettier": "prettier --write \"src/**/*.{ts,tsx}\""
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user