diff --git a/packages/server-basic/.npmignore b/packages/server-basic/.npmignore new file mode 100644 index 00000000..7e5fcbc1 --- /dev/null +++ b/packages/server-basic/.npmignore @@ -0,0 +1,2 @@ +.DS_Store +tsconfig.tsbuildinfo diff --git a/packages/server-basic/package.json b/packages/server-basic/package.json new file mode 100644 index 00000000..89ed1d00 --- /dev/null +++ b/packages/server-basic/package.json @@ -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 ", + "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" + } +} diff --git a/packages/server-basic/tsconfig.json b/packages/server-basic/tsconfig.json new file mode 100644 index 00000000..6f11f324 --- /dev/null +++ b/packages/server-basic/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base", + "compilerOptions": { + "rootDir": "src", + "outDir": "lib", + "strict": true, + "noImplicitAny": false, + }, + "include": [ + "src", + ], +}