Ajout script de build
This commit is contained in:
parent
89e60481ef
commit
9b2d96da1f
|
@ -18,9 +18,7 @@ Pour générer le graphe par vous-même, vous devez au préalable avoir install
|
||||||
git clone https://gitlab.com/matteodelabre/epenser-maze.git
|
git clone https://gitlab.com/matteodelabre/epenser-maze.git
|
||||||
cd epenser-maze
|
cd epenser-maze
|
||||||
npm install
|
npm install
|
||||||
mkdir -p build
|
npm run build
|
||||||
node explore build/maze.dot
|
|
||||||
dot build/maze.dot -Tsvg -o build/maze.svg
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"license": "CC0",
|
"license": "CC0",
|
||||||
|
"scripts": {
|
||||||
|
"build": "mkdir -p build && node explore build/maze.dot && dot -Tsvg build/maze.dot -o build/maze.svg"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheerio": "1.0.0-rc.3",
|
"cheerio": "1.0.0-rc.3",
|
||||||
"graph-data-structure": "^1.8.0",
|
"graph-data-structure": "^1.8.0",
|
||||||
|
|
Loading…
Reference in New Issue