Browse Source

Ajout script de build

master
Mattéo Delabre 1 year ago
parent
commit
9b2d96da1f
Signed by: matteo <spam@delab.re> GPG Key ID: AE3FBD02DC583ABB
2 changed files with 4 additions and 3 deletions
  1. +1
    -3
      README.md
  2. +3
    -0
      package.json

+ 1
- 3
README.md View File

@@ -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
cd epenser-maze
npm install
mkdir -p build
node explore build/maze.dot
dot build/maze.dot -Tsvg -o build/maze.svg
npm run build
```

## Licence


+ 3
- 0
package.json View File

@@ -4,6 +4,9 @@
"version": "0.2.0",
"main": "src/index.js",
"license": "CC0",
"scripts": {
"build": "mkdir -p build && node explore build/maze.dot && dot -Tsvg build/maze.dot -o build/maze.svg"
},
"dependencies": {
"cheerio": "1.0.0-rc.3",
"graph-data-structure": "^1.8.0",


Loading…
Cancel
Save