diff --git a/package.json b/package.json index 0557d0822..f4a6e2643 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "bootstrap": "lerna bootstrap", - "start": "cd packages/template-default; yarn start", + "start": "cd packages/template-react; yarn start", "test": "lerna run test --stream", "lint": "eslint \"packages/**/*.js\"", "release": "lerna publish --exact", @@ -67,7 +67,7 @@ }, "eslintIgnore": [ "**/node_modules/**", - "**/template-default/**", + "**/template-*/**", "**/spec/mock/**" ], "devDependencies": { diff --git a/packages/cli/hops.js b/packages/cli/hops.js index 965ed6f59..0f9ef942e 100755 --- a/packages/cli/hops.js +++ b/packages/cli/hops.js @@ -31,7 +31,7 @@ function globalCLI (argv) { type: 'string', describe: 'Use this with the npm package name of a template to ' + 'initialize with a different template', - default: 'hops-template-default' + default: 'hops-template-react' }) .option('hops-version', { type: 'string', @@ -51,12 +51,12 @@ function globalCLI (argv) { .example( '$0 init my-project', 'Creates the folder my-project inside the current directory and ' + - 'initializes a sample hops project inside it.' + 'initializes a sample hops react project inside it.' ) .example( - '$0 init --template hops-template-malt my-project', + '$0 init --template hops-template-minimal my-project', 'Creates the folder my-project inside the current directory and ' + - 'initializes an example project using malt inside it.' + 'initializes a minimal hops example inside it.' ) .help('h') .alias('h', 'help') diff --git a/packages/template-react/package.json b/packages/template-react/package.json index ac1cf7cf9..d6d10dcfa 100644 --- a/packages/template-react/package.json +++ b/packages/template-react/package.json @@ -1,5 +1,5 @@ { - "name": "hops-template-default", + "name": "hops-template-react", "version": "7.0.0-2", "main": "src/app.js", "license": "MIT",