Skip to content

Commit

Permalink
fix: improve npm-scripts (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Aug 26, 2020
1 parent df1c7d1 commit 5681815
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "specs-new",
"name": "specs",
"version": "1.0.0",
"description": "",
"description": "The Filecoin protocol specification",
"main": "index.js",
"scripts": {
"start": "concurrently -n diagrams,hugo \"tools/diagrams.js --watch\" \"npm run serve\"",
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "npm run diagrams && hugo server --bind=0.0.0.0 --disableFastRender",
"build": "npm run diagrams && hugo --gc --minify",
"clean-modules": "hugo mod clean --all && hugo mod tidy",
"diagrams": "tools/diagrams.js --all"
"start": "concurrently npm:watch-*",
"serve": "npm start",
"watch-hugo": "npm run build-diagrams && hugo server --bind=0.0.0.0 --disableFastRender",
"watch-diagrams": "tools/diagrams.js --watch",
"build": "npm run build-diagrams && hugo --gc --minify",
"build-diagrams": "tools/diagrams.js --all",
"clean": "premove public resources static/_gen && hugo mod clean --all && hugo mod tidy"
},
"author": "",
"license": "MIT",
Expand Down

0 comments on commit 5681815

Please sign in to comment.