mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +02:00
add npm build script and update the doc accordingly
This commit is contained in:
parent
df4a91fd05
commit
aed3c2e271
|
@ -34,8 +34,8 @@ To run the app from source, just clone the code and run this in your terminal:
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
grunt
|
npm run build
|
||||||
./index.js --port 8080
|
npm start -- --port 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
And if you don't have [grunt](http://gruntjs.com/getting-started) installed already, just run `npm install -g grunt-cli`.
|
And if you don't have [grunt](http://gruntjs.com/getting-started) installed already, just run `npm install -g grunt-cli`.
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index",
|
"start": "node index",
|
||||||
|
"build": "grunt",
|
||||||
"test": "HOME=test/fixtures mocha test/**/*.js"
|
"test": "HOME=test/fixtures mocha test/**/*.js"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
Loading…
Reference in a new issue