build script
This commit is contained in:
parent
7b9c1b4bc8
commit
fff2882583
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
dist/
|
11
README.md
11
README.md
@ -1,3 +1,5 @@
|
|||||||
|
# ⚠️ STATUS: DEVELOPMENT
|
||||||
|
|
||||||
![engine_icon](/src/icons/apple-touch-icon.png)
|
![engine_icon](/src/icons/apple-touch-icon.png)
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
@ -15,8 +17,17 @@ cd src/js/
|
|||||||
rollup main.js --file engine.js --format es
|
rollup main.js --file engine.js --format es
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Use it
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
# Contribute
|
# Contribute
|
||||||
|
|
||||||
|
## Branch info
|
||||||
|
|
||||||
|
- `master` — current `dev` branch.
|
||||||
|
- `release` — latest **stable** version branch.
|
||||||
|
|
||||||
## Git hooks
|
## Git hooks
|
||||||
|
|
||||||
### pre-commit
|
### pre-commit
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"version": "beeeeeeta",
|
||||||
|
"scripts": {
|
||||||
|
"build": "rm -rf ./dist/ && rollup src/js/main.js --file dist/engine-$(npm pkg get version | tr -d '\"').js --format es",
|
||||||
|
"prettier-check": "prettier --check .",
|
||||||
|
"prettier-write": "prettier --write .",
|
||||||
|
"editorconfig-check": "ec ."
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "2.8.7"
|
"prettier": "2.8.7"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user