@botpress/client 0.14.0 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/client",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Botpress Client",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -12,12 +12,12 @@
12
12
  "https": false
13
13
  },
14
14
  "scripts": {
15
- "build:type": "tsc --emitDeclarationOnly --declaration --target es2019 --module commonjs --moduleResolution node --lib es2019",
16
- "build:browser": "esbuild --bundle --external:crypto --external:axios --external:browser-or-node --platform=browser --format=esm --minify --outfile=dist/index.mjs src/index.ts",
17
- "build:node": "esbuild --bundle --external:axios --external:browser-or-node --platform=node --minify --sourcemap --outfile=dist/index.cjs src/index.ts",
18
- "build:bundle": "esbuild --bundle --platform=node --minify --sourcemap --outfile=dist/bundle.cjs src/index.ts",
15
+ "type:check": "tsc --noEmit",
16
+ "build:type": "tsc --emitDeclarationOnly --declaration",
17
+ "build:browser": "ts-node -T ./build.ts --browser",
18
+ "build:node": "ts-node -T ./build.ts --node",
19
+ "build:bundle": "ts-node -T ./build.ts --bundle",
19
20
  "build": "pnpm build:type && pnpm build:node && pnpm build:browser && pnpm build:bundle",
20
- "type:check": "tsc --noEmit --target es2019 --module commonjs --moduleResolution node --lib es2019",
21
21
  "generate": "ts-node ./openapi.ts",
22
22
  "test": "pnpm run e2e:test",
23
23
  "e2e:test": "ts-node -T ./e2e/node.ts && ts-node -T ./e2e/browser"
@@ -28,9 +28,11 @@
28
28
  "type-fest": "^3.4.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@botpress/api": "0.24.0",
31
+ "@botpress/api": "0.26.2",
32
32
  "esbuild": "^0.16.12",
33
33
  "lodash": "^4.17.21",
34
- "puppeteer": "^22.0.0"
34
+ "puppeteer": "^22.0.0",
35
+ "ts-node": "^10.9.2",
36
+ "typescript": "^4.9.4"
35
37
  }
36
38
  }