Skip to content

Commit

Permalink
build: update make-module/make-example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Mar 29, 2018
1 parent 6904d44 commit 221ece6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions scripts/make-example
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ cat << EOF > $MODULE/package.json
"debdev": "see index.html && webpack -w"
},
"devDependencies": {
"ts-loader": "^3.3.1",
"typescript": "^2.7.1",
"webpack": "^3.10.0"
"ts-loader": "^3.5.0",
"typescript": "^2.7.2",
"webpack": "^3.11.0"
},
"dependencies": {
"@thi.ng/api": "^2.0.3",
"@thi.ng/hdom": "^2.0.0",
"@thi.ng/rstream": "^1.0.0",
"@thi.ng/transducers": "^1.6.1"
"@thi.ng/api": "latest",
"@thi.ng/hdom": "latest",
"@thi.ng/rstream": "latest",
"@thi.ng/transducers": "latest"
}
}
EOF
Expand Down
3 changes: 2 additions & 1 deletion scripts/make-module
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ cat << EOF > $MODULE/package.json
"scripts": {
"build": "yarn run clean && tsc --declaration",
"clean": "rm -rf *.js *.d.ts build doc",
"cover": "yarn test && nyc report --reporter=lcov",
"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"pub": "yarn run build && yarn publish --access public",
"test": "rm -rf build && tsc -p test && mocha build/test/*.js"
"test": "rm -rf build && tsc -p test && nyc mocha build/test/*.js"
},
"devDependencies": {
"@types/mocha": "^2.2.48",
Expand Down

0 comments on commit 221ece6

Please sign in to comment.