Skip to content

Commit

Permalink
chore: fix fe-sdk-demo not found when install
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Jan 26, 2024
1 parent 0eb1853 commit 5b01ae7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/server/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ build-*
*.db-shm
*.db-wal
*.sqlite
packages/fe-sdk-demo
packages/fe-sdk-demo/*
!packages/fe-sdk-demo/package.json
35 changes: 35 additions & 0 deletions examples/server/packages/fe-sdk-demo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "fe-sdk-demo",
"version": "1.0.0",
"main": "lib/index.js",
"scripts": {
"tsc:build": "tsc --project tsconfig.json",
"doc:build": "typedoc src/**.ts --plugin ./hover.mjs && node write-popover.mjs",
"serve": "serve docs"
},
"dependencies": {
"zod": "^3",
"axios": "1.6.1",
"change-case": "^4.1.2",
"kysely": "^0.26.3",
"@tanstack/react-query": "^5.14.0",
"i18next": "^23.7.13",
"intl-pluralrules": "^2.0.1"
},
"devDependencies": {
"typescript": "^5",
"typedoc": "^0.25.2",
"@tsconfig/recommended": "^1.0.3"
},
"peerDependencies": {
"socket.io-client": "^4.7.2"
},
"peerDependenciesMeta": {
"socket.io-client": {
"optional": true
}
},
"files": [
"lib"
]
}

0 comments on commit 5b01ae7

Please sign in to comment.