Skip to content

Commit

Permalink
chore: setup server-basic
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Sep 10, 2023
1 parent c5762e0 commit 505121e
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server-basic/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
tsconfig.tsbuildinfo
39 changes: 39 additions & 0 deletions packages/server-basic/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "@satorijs/server-basic",
"description": "Basic API server for Satori protocol",
"version": "0.0.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"node": "./lib/index.js",
"browser": "./lib/index.mjs",
"types": "./lib/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"lib"
],
"author": "Shigma <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/satorijs/satori.git",
"directory": "packages/server-basic"
},
"bugs": {
"url": "https://github.com/satorijs/satori/issues"
},
"homepage": "https://github.com/satorijs/satori/tree/master/packages/server-basic",
"keywords": [
"satori",
"protocol",
"server",
"basic",
"api"
],
"peerDependencies": {
"@satorijs/satori": "^3.0.0-alpha.1"
}
}
12 changes: 12 additions & 0 deletions packages/server-basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"strict": true,
"noImplicitAny": false,
},
"include": [
"src",
],
}

0 comments on commit 505121e

Please sign in to comment.