diff options
author | Joris Guyonvarch | 2015-06-27 01:04:51 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-06-27 01:04:51 +0200 |
commit | 6ec9a6fc1d43c8d2a1495e147157dc545175b129 (patch) | |
tree | 9e9809a02c937e6a95eb9c63890a945a250ffa11 /package.json | |
parent | b590ca0aea8bbae34885e98b59bc465c09400ca3 (diff) |
Generate static pages with a watcher and serve files with a simple http server
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/package.json b/package.json index 656665a..3bdedd1 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,22 @@ { - "name": "makeup", + "name": "makeup", + "license": "GPL-3.0", + "description": "MakeUp website", - "dependencies": { - "pandoc-bin": "0.1.2" + "repository": { + "type": "git", + "url": "git://github.com/guyonvarch/makeup.git" }, - "scripts": { - "build": "./gen.sh" + "dependencies": { + "pandoc-bin": "0.1.2", + "http-server": "0.8.0", + "watch": "0.16.0" }, - "license": "GPL-3" + "scripts": { + "watch": "watch ./gen.sh ./Markdown ./Fragments & npm run serve", + "serve": "npm run kill-server && http-server -p 8000", + "kill-server": "fuser -k 8000/tcp || true" + } } |