flowershow 0.1.2 → 0.1.3

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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # Flowershow CLI
2
2
 
3
+ ## CLI commands
4
+
5
+ Install Flowershow:
6
+
7
+ ```
8
+ npx flowershow@latest install
9
+ ```
10
+
11
+ Preview your Flowershow website:
12
+
13
+ ```bash
14
+ npx flowershow@latest preview
15
+ ```
16
+
17
+ Static build your website:
18
+
19
+ ```bash
20
+ npx flowershow@latest export
21
+ ```
22
+
23
+ See all available commands:
24
+
3
25
  ```bash
4
- npx flowershow --help
26
+ npx flowershow@latest --help
5
27
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowershow",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Publish your digital garden",
5
5
  "bin": {
6
6
  "flowershow": "src/bin/cli.js"
package/src/bin/cli.js CHANGED
File without changes
@@ -135,6 +135,10 @@ export default class Installer {
135
135
  log(err);
136
136
  exit(1);
137
137
  }
138
+ // remove unneeded dev files
139
+ fs.rmSync(`${flowershowDir}/project.json`, { force: true });
140
+ fs.rmSync(`${flowershowDir}/.eslintrc.json`, { force: true });
141
+ fs.rmSync(`${flowershowDir}/jest.config.js`, { force: true });
138
142
  // update content and assets symlinks
139
143
  const contentSymlinkPath = path.relative(`${flowershowDir}`, contentDir);
140
144
  fs.symlinkSync(contentSymlinkPath, `${flowershowDir}/content`);