mirror of
https://github.com/matheus23/elmjs-inspect.git
synced 2024-10-26 11:19:35 +03:00
Update Readme
This commit is contained in:
parent
2f288b4516
commit
9adfbbfa83
33
README.md
33
README.md
@ -1,10 +1,37 @@
|
|||||||
# elmjs-inspect
|
# elmjs-inspect
|
||||||
|
|
||||||
## Running it
|
## Build it
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm build
|
npm i
|
||||||
node dist/index.js analyze <filename>
|
npm run build
|
||||||
|
npm link
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run it
|
||||||
|
|
||||||
|
Size contribution of each function
|
||||||
|
|
||||||
|
```
|
||||||
|
elmjs-size elm.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Size contribution by modules
|
||||||
|
|
||||||
|
```
|
||||||
|
elmjs-size --summary=module elm.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Size contribution by package
|
||||||
|
|
||||||
|
```
|
||||||
|
elmjs-size --summary=package elm.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Size contribution of only the project's modules
|
||||||
|
|
||||||
|
```
|
||||||
|
elmjs-size --summary=project elm.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user