Move all "edit.js" functions into Modules
Create new repository to track these
This commit is contained in:
39
ReadMe.md
Normal file
39
ReadMe.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user