@weclapp/sdk 2.0.0-dev.23 → 2.0.0-dev.25

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
@@ -31,10 +31,10 @@ This way, every time someone installs or updates dependencies, the SDK is genera
31
31
  ```json5
32
32
  {
33
33
  // in your package.json
34
- "scripts": {
34
+ scripts: {
35
35
  "sdk:generate": "build-weclapp-sdk company.weclapp.com --key [your api key] --cache --target browser",
36
- "postinstall": "npm run sdk:generate",
37
- }
36
+ postinstall: "npm run sdk:generate",
37
+ },
38
38
  }
39
39
  ```
40
40
 
@@ -44,7 +44,7 @@ Check out the [docs](docs) for how the generated SDK looks like and how to use i
44
44
  ### Available flags
45
45
 
46
46
  | Flag | Description | Value / Type |
47
- |---------------------|-------------------------------------------------------------------------------|----------------------------------------------|
47
+ | ------------------- | ----------------------------------------------------------------------------- | -------------------------------------------- |
48
48
  | `--help` / `-h` | Show help. | `boolean` |
49
49
  | `--version` / `-v` | Show version of SDK. | `boolean` |
50
50
  | `--key` / `-k` | API Key in case of using a remote. | `string` |
@@ -55,4 +55,4 @@ Check out the [docs](docs) for how the generated SDK looks like and how to use i
55
55
 
56
56
  ### Contributing
57
57
 
58
- Check out the [contributing guidelines](.github/CONTRIBUTING.md).
58
+ Check out the [contributing guidelines](.github/CONTRIBUTING.md).
package/bin/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import '../dist/cli.js';
2
+ import "../dist/cli.js";