File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "dictionaries" : [" jsdoc" ," closure" ]
55 },
66 "source" : {
7- "include" : [ " ./index.js " , " ./ lib/init.js" ],
7+ "include" : [ " ./lib/init.js" ],
88 "includePattern" : " .+\\ .js(doc)?$" ,
99 "excludePattern" : " (^|\\ /|\\\\ )_"
1010 },
Original file line number Diff line number Diff line change 1010 "lint" : " jshint lib test" ,
1111 "docs" : " jsdoc -c ./jsdoc.json -R ./Readme.md -u ./docs" ,
1212 "preversion" : " npm run lint" ,
13- "postversion" : " git push && git push --tags" ,
13+ "pages" : " node ./scripts/publish-gh.js" ,
14+ "postversion" : " git push && git push --tags && npm run pages" ,
1415 "build" : " npm run test && npm run docs"
1516 },
1617 "repository" : {
Original file line number Diff line number Diff line change 1+ var ghpages = require ( 'gh-pages' ) ;
2+ var path = require ( 'path' ) ;
3+
4+ ghpages . publish ( path . join ( __dirname , '../out' ) , function ( err ) {
5+ console . log ( err )
6+ } ) ;
You can’t perform that action at this time.
0 commit comments