Skip to content

Commit

Permalink
chore: update package cmds & make-module script
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 29, 2018
1 parent 1abd3cd commit 33b3e16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"tslint": "^5.9.1"
},
"scripts": {
"depgraph": "scripts/depgraph && git add assets/deps.png && git commit -m 'docs(all) update dep graph' && git push"
"depgraph": "scripts/depgraph && git add assets/deps.png && git commit -m 'docs: update dep graph' && git push",
"pub": "lerna publish && yarn depgraph"
}
}
2 changes: 2 additions & 0 deletions scripts/make-module
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ echo "creating /src & /test folders..."
mkdir -p $MODULE/src $MODULE/test
touch $MODULE/src/index.ts

cp packages/api/LICENSE $MODULE/

echo "writing test skeleton..."
cat << EOF > $MODULE/test/index.ts
import * as assert from "assert";
Expand Down

0 comments on commit 33b3e16

Please sign in to comment.