-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tsconfig and script to handle dist creation
- Loading branch information
Showing
5 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,37 @@ | ||
{ | ||
"name": "@simulacrum/foundation-simulator", | ||
"version": "0.0.1", | ||
"description": "", | ||
"main": "server.ts", | ||
"description": "Base simulator to build simulators for integration testing.", | ||
"author": "Frontside Engineering <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/thefrontside/simulacrum/issues" | ||
}, | ||
"homepage": "https://github.com/thefrontside/simulacrum#readme", | ||
"keywords": [ | ||
"simulation", | ||
"emulation", | ||
"mock", | ||
"mocking", | ||
"integration testing" | ||
], | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "node --import=tsx example/server.ts", | ||
"start:server": "node --import=tsx example/server.ts", | ||
"start:extensive": "node --import=tsx example/extensiveServer.ts", | ||
"prepack": "tsc --build tsconfig.dist.json", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"dependencies": { | ||
"express": "^4.19.2", | ||
"openapi-backend": "^5.10.6", | ||
"openapi-merge": "^1.3.2", | ||
"starfx": "^0.12.0", | ||
"tsx": "^4.11.0", | ||
"typescript": "^5.4.5" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "dist/cjs", | ||
"rootDir": "src", | ||
"noEmit": false | ||
}, | ||
"exclude": ["test"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"noEmit": true | ||
}, | ||
"include": ["src/**/*.ts", "test/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters