Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Jain <jsarthak448@gmail.com>
  • Loading branch information
sarthakjdev committed Oct 15, 2023
1 parent fe8ac90 commit c64e4e3
Show file tree
Hide file tree
Showing 10 changed files with 492 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules
*.env
dist/
dist/cjs/**
dist/esm/**
errors.log
.eslintrc.js
.eslintrc.js
3 changes: 3 additions & 0 deletions example/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Client } from "wapi.js";

new Client();
13 changes: 13 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "example-chatbot",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"typescript": "^5.2.2"
},
"dependencies": {
"pako": "^2.1.0",
"wapi.js": "file:./../packages/wapi.js/"
}
}
23 changes: 23 additions & 0 deletions example/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"strictNullChecks": true,
"moduleResolution": "Node",
"allowUnreachableCode": false,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"declaration": true,
"declarationMap": false,
"module": "ESNext",
"importHelpers": false,
"newLine": "lf",
"noEmitHelpers": true,
"noEmit": true,
"removeComments": false,
"sourceMap": true,
"target": "ESNext"
},
"lib": [
"ESNext"
],
}
3 changes: 3 additions & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./tsconfig.base.json",
}
Loading

0 comments on commit c64e4e3

Please sign in to comment.