Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
build: export medium drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
nlm-pro committed Aug 21, 2019
1 parent 3f3ff91 commit db5a3b5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"private": true,
"scripts": {
"diagrams": "diagrams build && convert-svg-to-png --background white ./**/*.svg",
"diagrams:watch": "diagrams watch"
"diagrams:watch": "diagrams watch",
"medium": "mkdir $npm_config_name && echo $npm_config_from > $npm_config_name/import.txt && mediumexporter $npm_config_from > $npm_config_name/$npm_config_name.md"
},
"author": "Noël Macé",
"license": "UNLICENSED",
"devDependencies": {
"convert-svg-to-png": "^0.5.0",
"diagrams": "^0.10.0"
"diagrams": "^0.10.0",
"mediumexporter": "^0.1.6"
}
}

0 comments on commit db5a3b5

Please sign in to comment.