Skip to content

Commit

Permalink
chore(cli): move dev dependencies to root folder
Browse files Browse the repository at this point in the history
remove oclif/test because not used and because mocha caused incompatibility with jest
  • Loading branch information
dpinol committed Feb 21, 2020
1 parent b9833da commit 86bb95c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint_d": "^8.0.0",
"eslint_d": "^8.1.0",
"jest": "^25.1.0",
"lerna": "^3.19.0",
"prettier": "^1.19.1",
Expand Down
12 changes: 7 additions & 5 deletions packages/botonic-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @botonic/cli
$ botonic COMMAND
running command...
$ botonic (-v|--version|version)
@botonic/cli/0.10.1 darwin-x64 node-v10.15.0
@botonic/cli/0.10.1 linux-x64 node-v13.9.0
$ botonic --help [COMMAND]
USAGE
$ botonic COMMAND
Expand All @@ -46,9 +46,11 @@ USAGE
$ botonic deploy [BOT_NAME]
OPTIONS
-c, --command=command Command to execute from the package "scripts" object
-f, --force Force deploy despite of no changes. Disabled by default
--botName=botName
-b, --botName=botName Name of the bot from Hubtype where you want to deploy
-c, --command=command Command to execute from the package "scripts" object
-e, --email=email Email from Hubtype Organization
-f, --force Force deploy despite of no changes. Disabled by default
-p, --password=password Password from Hubtype Organization
EXAMPLE
$ botonic deploy
Expand Down Expand Up @@ -180,7 +182,7 @@ OPTIONS
EXAMPLE
$ botonic train
TRAINING MODEL FOR {LANGUAGE}...
TRAINING MODEL FOR {LANGUAGE}...
```

_See code: [src/commands/train.ts](https://github.com/hubtype/botonic/blob/v0.10.1/src/commands/train.ts)_
Expand Down
15 changes: 5 additions & 10 deletions packages/botonic-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,22 @@
"bugs": "https://github.com/hubtype/botonic/issues",
"dependencies": {
"@oclif/command": "^1.5.19",
"@oclif/config": "^1.13.3",
"@oclif/config": "^1.14.0",
"@oclif/plugin-help": "^2.2.3",
"analytics-node": "^3.4.0-beta.1",
"axios": "^0.19.0",
"colors": "^1.2.5",
"axios": "^0.19.2",
"colors": "^1.4.0",
"folder-hash": "^3.3.0",
"form-data": "^3.0.0",
"fs-extra": "^8.1.0",
"inquirer": "^7.0.4",
"ora": "^3.4.0",
"tslib": "^1.10.0",
"tslib": "^1.11.0",
"zip-a-folder": "0.0.12"
},
"devDependencies": {
"@oclif/dev-cli": "^1.22.2",
"@oclif/test": "^1.2.5",
"@types/node": "^13.1.6",
"globby": "^11.0.0",
"ts-node": "^8.5.4"
"globby": "^11.0.0"
},
"engines": {
"node": ">=8.0.0"
Expand Down Expand Up @@ -57,9 +54,7 @@
"prepare": "node ../../preinstall.js",
"build": "rm -rf lib && tsc",
"postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json",
"posttest": "tslint -p test -t stylish",
"prepack": "oclif-dev manifest && oclif-dev readme && npm shrinkwrap",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md",
"postinstall": "node scripts/postinstall.js",
"lint": "npm run lint_core -- --fix",
Expand Down

0 comments on commit 86bb95c

Please sign in to comment.