mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Merge pull request #511 from olivierlambert/npm-scripts
add npm build script and update the doc accordingly
This commit is contained in:
commit
f172db7a99
2 changed files with 3 additions and 4 deletions
|
@ -34,12 +34,10 @@ To run the app from source, just clone the code and run this in your terminal:
|
|||
|
||||
```
|
||||
npm install
|
||||
grunt
|
||||
./index.js --port 8080
|
||||
npm run build
|
||||
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`.
|
||||
|
||||
## License
|
||||
|
||||
Available under the [MIT License](http://mths.be/mit).
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "node index",
|
||||
"build": "grunt",
|
||||
"test": "HOME=test/fixtures mocha test/**/*.js"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in a new issue