Skip to content

Commit c7c052e

Browse files
committed
Updated help script to include TS defs generation
1 parent d61fd5c commit c7c052e

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

scripts/help.js

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,28 @@ v.log('{bgYellow}{black} | ___/ | \\\\__ \\ / ___// __ \\_ __ \\ _(
66
v.log('{bgYellow}{black} | | | Y \\/ __ \\_\\___ \\\\ ___/| | \\/ / \\ ');
77
v.log('{bgYellow}{black} |____| |___| (____ /____ >\\___ >__| /______ / ');
88
v.log('{bgYellow}{black} \\/ \\/ \\/ \\/ \\/ ');
9-
v.log('{bgYellow}{black} Available commands: ');
9+
v.log('{bgYellow}{black} Available commands: ');
1010

11-
v.log('{white}* npm run {green}build {cyan} Build dev version of Phaser with Webpack');
12-
v.log('{white}* npm run {green}watch {cyan} Build dev & put Webpack in watch mode');
13-
v.log('{white}* npm run {green}dist {cyan} Build dist versions of Phaser');
14-
v.log('{white}* npm run {green}lint {cyan} ESLint check Phaser source');
15-
v.log('{white}* npm run {green}lintfix {cyan} ESLint check and fix Phaser source');
16-
v.log('{white}* npm run {green}sloc {cyan} Get source code & comments line count');
17-
v.log('{white}* npm run {green}bundleshaders {cyan} Convert vert/frag shaders to js');
18-
v.log('{white}* npm run {green}plugin.cam3d {cyan} Build Camera3D Plugin');
19-
v.log('{white}Facebook Instant Games:');
20-
v.log('{white}* npm run {green}buildfb {cyan} Build dev Phaser FB with Webpack');
21-
v.log('{white}* npm run {green}watchfb {cyan} Build FB dev in Webpack watch mode');
22-
v.log('{white}* npm run {green}distfb {cyan} Build dist versions of Phaser FB');
23-
v.log('{white}* npm run {green}distfull {cyan} Build dist versions of Phaser + FB');
11+
v.log('{white} npm run {green}build {cyan} Build dev version of Phaser with Webpack');
12+
v.log('{white} npm run {green}watch {cyan} Build dev & put Webpack in watch mode');
13+
v.log('{white} npm run {green}dist {cyan} Build dist versions of Phaser');
14+
v.log('{white} npm run {green}lint {cyan} ESLint check Phaser source');
15+
v.log('{white} npm run {green}lintfix {cyan} ESLint check and fix Phaser source');
16+
v.log('{white} npm run {green}sloc {cyan} Get source code & comments line count');
17+
v.log('{white} npm run {green}bundleshaders {cyan} Convert vert/frag shaders to js');
18+
v.log('{white} npm run {green}plugin.cam3d {cyan} Build Camera3D Plugin');
19+
v.log('');
20+
v.log(' {white}{bold}Facebook Instant Games{/bold}');
21+
v.log('');
22+
v.log('{white} npm run {green}buildfb {cyan} Build dev Phaser FB with Webpack');
23+
v.log('{white} npm run {green}watchfb {cyan} Build FB dev in Webpack watch mode');
24+
v.log('{white} npm run {green}distfb {cyan} Build dist versions of Phaser FB');
25+
v.log('{white} npm run {green}distfull {cyan} Build dist versions of Phaser + FB');
26+
v.log('');
27+
v.log(' {white}{bold}TypeScript{/bold}');
28+
v.log('');
29+
v.log('{white} npm run {green}build-tsgen {cyan} Build the TypeScript Defs parser');
30+
v.log('{white} npm run {green}tsgen {cyan} Generate the TypeScript Defs');
31+
v.log('{white} npm run {green}test-ts {cyan} Test the TypeScript Defs');
2432

25-
v.log('{bgYellow}{black} https://phaser.io https://labs.phaser.io ');
33+
v.log('{bgYellow}{black} https://phaser.io https://labs.phaser.io ');

0 commit comments

Comments
 (0)