mirror of
https://github.com/matheus23/elmjs-inspect.git
synced 2024-08-16 14:50:24 +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
|
||||
|
||||
## Running it
|
||||
## Build it
|
||||
|
||||
```sh
|
||||
npm build
|
||||
node dist/index.js analyze <filename>
|
||||
npm i
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user