Skip to content
Snippets Groups Projects
Commit 1f2e65dd authored by Maxime Veber's avatar Maxime Veber
Browse files

Use npm script

This is more concise, and usable without docker
parent 3b7e9fdf
Branches
No related tags found
No related merge requests found
...@@ -4,4 +4,4 @@ node_modules: yarn.lock package.json ...@@ -4,4 +4,4 @@ node_modules: yarn.lock package.json
$(NODE) node yarn install $(NODE) node yarn install
start_the_show: node_modules start_the_show: node_modules
$(NODE) -p $(LOCAL_PORT):8000 --name sflive node /bin/sh -c 'node_modules/reveal-md/bin/cli.js --port 8000 --theme=solarized' $(NODE) -p $(LOCAL_PORT):8000 --name sflive node /bin/sh -c 'npm start'
...@@ -7,5 +7,8 @@ ...@@ -7,5 +7,8 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"reveal-md": "^1.1.3" "reveal-md": "^1.1.3"
},
"scripts": {
"start": "reveal-md --port 8000 --theme=solarized"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment