-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tsup and package.json for @oxide/api, move src into src/
- Loading branch information
1 parent
757d008
commit 1fcb6a0
Showing
10 changed files
with
2,105 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,46 @@ | ||
{ | ||
"name": "@oxide/api", | ||
"version": "0.1.0-alpha.0", | ||
"description": "TypeScript client for the Oxide API", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"type": "module", | ||
"main": "./dist/Api.js", | ||
"exports": { | ||
"import": "./dist/Api.js", | ||
"require": "./dist/Api.cjs" | ||
}, | ||
"scripts": { | ||
"build": "tsup --dts", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/oxidecomputer/oxide.ts.git" | ||
}, | ||
"keywords": [ | ||
"oxide", | ||
"oxide.ts", | ||
"oxide sdk" | ||
], | ||
"author": "Oxide Computer Company", | ||
"license": "MPL-2.0", | ||
"bugs": { | ||
"url": "https://github.com/oxidecomputer/oxide.ts/issues" | ||
}, | ||
"homepage": "https://github.com/oxidecomputer/oxide.ts#readme", | ||
"devDependencies": { | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.5" | ||
}, | ||
"tsup": { | ||
"entry": [ | ||
"src/Api.ts" | ||
], | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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