add development Section
This commit is contained in:
parent
f3508848d8
commit
bca9d5ed20
|
@ -63,6 +63,8 @@ port it listens on.
|
|||
You do not need it for small fixes.
|
||||
4. run `npm start`
|
||||
|
||||
## Development
|
||||
|
||||
If you want automatic reloading of files during development,
|
||||
you can install `nodemon`:
|
||||
```
|
||||
|
@ -73,6 +75,12 @@ Run it:
|
|||
nodemon index.js --watch lib
|
||||
```
|
||||
|
||||
To generate the layout, install `node-sass`.
|
||||
Then, run
|
||||
```
|
||||
node build-styles.js
|
||||
```
|
||||
|
||||
## Improve me
|
||||
|
||||
Feel free to add a caching layer, improve the styles
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
"build-styles": "node build-styles.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"node-sass": "^4.12.0"
|
||||
},
|
||||
"keywords": [
|
||||
"mastodon",
|
||||
|
|
Loading…
Reference in New Issue