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)
|
||||
|
||||
# Documentation
|
||||
@ -15,8 +17,17 @@ cd src/js/
|
||||
rollup main.js --file engine.js --format es
|
||||
```
|
||||
|
||||
# Use it
|
||||
|
||||
...
|
||||
|
||||
# Contribute
|
||||
|
||||
## Branch info
|
||||
|
||||
- `master` — current `dev` branch.
|
||||
- `release` — latest **stable** version branch.
|
||||
|
||||
## Git hooks
|
||||
|
||||
### 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": {
|
||||
"prettier": "2.8.7"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user