Adding NPM install in README
This commit is contained in:
parent
a3b52b752f
commit
ca7ea30a5d
@ -1,4 +1,4 @@
|
|||||||
# Use
|
# Use
|
||||||
|
|
||||||
* Run ```npm run build``` to compute the code.
|
* Run ```npm install``` and ```npm run build``` to compute the code.
|
||||||
* Get in the root folder the website with an example of JSON inside.
|
* Get in the root folder the website with an example of JSON inside.
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"prebuild": "mkdir images/ 2>/dev/null; true",
|
"prebuild": "mkdir images/ 2>/dev/null; true",
|
||||||
"build": "html-inline -i src/index-notbundled.html -o index.html -b src/ --ignore-external",
|
"build": "html-inline -i src/index-notbundled.html -o index.html -b src/ --ignore-external",
|
||||||
"postbuild": "cp -n src/lessons.json.example lessons.json ; "
|
"postbuild": "cp -n src/lessons.json.example lessons.json ; "
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user