40 lines
621 B
Markdown
40 lines
621 B
Markdown
# JavaScript Utils
|
|
|
|
Collection of Javascript functions. This will build into a single js file that was formaly known as "edit.js" (edit.jq.js).
|
|
|
|
## Build
|
|
|
|
Build with the following commands, the output will be stored in "build/js/utilsAll.js" and "build/js/utilsAll.min.js"
|
|
|
|
For full not minified version
|
|
|
|
```sh
|
|
npm build utilsAll-build
|
|
```
|
|
|
|
For minified build (but keeps the function names as is)
|
|
|
|
```sh
|
|
npm build utilsAll-min-build
|
|
```
|
|
|
|
Or build both at the same time
|
|
|
|
```sh
|
|
npm build utilsAll-build-all
|
|
```
|
|
|
|
## Develop
|
|
|
|
Install the core npm modules
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
Run watch
|
|
|
|
```sh
|
|
npm run utilsAll-develop
|
|
```
|