Ajout script de build

This commit is contained in:
Mattéo Delabre 2019-07-07 20:54:30 +02:00
부모 89e60481ef
커밋 9b2d96da1f
로그인 계정: matteo
GPG 키 ID: AE3FBD02DC583ABB
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@ -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

파일 보기

@ -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",