create-scout9 1.0.0-alpha.0.0.8 → 1.0.0-alpha.0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/bin.js +2 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# create-svelte
|
|
2
|
+
|
|
3
|
+
A CLI for creating new [Scout9](https://scout9.com) auto reply projects. Just run...
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm create scout9@latest my-app
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
...and follow the prompts.
|
|
10
|
+
|
|
11
|
+
## API
|
|
12
|
+
|
|
13
|
+
You can also use `create-scout9` programmatically:
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
import { create } from 'create-scout9';
|
|
17
|
+
|
|
18
|
+
await create('my-new-app', {
|
|
19
|
+
name: 'my-new-app',
|
|
20
|
+
template: 'default', // or 'skeleton'
|
|
21
|
+
// types: 'checkjs', // or 'typescript' or null; // @TODO TypeScript support
|
|
22
|
+
prettier: false,
|
|
23
|
+
eslint: false,
|
|
24
|
+
jest: false
|
|
25
|
+
});
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`checkjs` means your project will use TypeScript to typecheck JavaScript via [JSDoc comments](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html).
|
|
29
|
+
|
|
30
|
+
**_Note_**: *Typescript support will be available soon.*
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
[MIT](../../LICENSE).
|
package/bin.js
CHANGED
|
@@ -151,9 +151,10 @@ if (relative !== '') {
|
|
|
151
151
|
console.log(` ${i++}: ${bold(cyan(`${package_manager} install`))}`);
|
|
152
152
|
// prettier-ignore
|
|
153
153
|
console.log(` ${i++}: ${bold(cyan('git init && git add -A && git commit -m "Initial commit"'))} (optional)`);
|
|
154
|
-
console.log(` ${i++}: ${bold(magenta('Add SCOUT9_API_KEY to .env'))} (
|
|
154
|
+
console.log(` ${i++}: ${bold(magenta('Add your SCOUT9_API_KEY to .env'))} (login for api key: https://scout9.com/b)`);
|
|
155
155
|
// console.log(` ${i++}: ${bold(cyan(`${package_manager} run dev`))}`);
|
|
156
156
|
console.log(` ${i++}: ${bold(cyan(`${package_manager} run dev -- --open`))}`);
|
|
157
157
|
|
|
158
158
|
// console.log(`\nTo close the dev server, hit ${bold(cyan('Ctrl-C'))}`);
|
|
159
159
|
console.log(`\nStuck? Connect with us on ${bold('Discord')} ${cyan('https://discord.gg/kG8hZwc5sQ')}`);
|
|
160
|
+
console.log(`\nYour api key is listed on your ${bold('Scout9')} account ${cyan('https://scout9.com/b')} page`);
|