create-kora-app 0.1.2
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 +31 -0
- package/bin.js +2 -0
- package/package.json +16 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# create-kora-app
|
|
2
|
+
|
|
3
|
+
Scaffold a new [Kora.js](https://github.com/ehoneahobed/kora) offline-first application.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx create-kora-app my-app
|
|
9
|
+
cd my-app
|
|
10
|
+
pnpm install
|
|
11
|
+
pnpm dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Templates
|
|
15
|
+
|
|
16
|
+
- **react-basic** — Local-only React app, no sync
|
|
17
|
+
- **react-sync** — React app with sync server included
|
|
18
|
+
|
|
19
|
+
## Options
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx create-kora-app my-app --template react-sync --pm pnpm
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
| Option | Description |
|
|
26
|
+
|--------|-------------|
|
|
27
|
+
| `--template` | `react-basic` or `react-sync` |
|
|
28
|
+
| `--pm` | Package manager: `pnpm`, `npm`, `yarn`, `bun` |
|
|
29
|
+
| `--skip-install` | Skip dependency installation |
|
|
30
|
+
|
|
31
|
+
See the [full documentation](https://github.com/ehoneahobed/kora) for guides, API reference, and examples.
|
package/bin.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-kora-app",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Create a new Kora.js offline-first application",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-kora-app": "./bin.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin.js"
|
|
11
|
+
],
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@korajs/cli": "0.1.1"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT"
|
|
16
|
+
}
|