fix: Bringing in a building for the browser

This commit is contained in:
J H
2024-03-25 11:07:59 -06:00
parent 18cc5e0ee8
commit 4ab7300376
6 changed files with 55 additions and 19 deletions

View File

@@ -5,14 +5,8 @@
"main": "./cjs/sdk/lib/index.js",
"types": "./cjs/sdk/lib/index.d.ts",
"module": "./mjs/sdk/lib/index.js",
"browser": "./mjs/sdk/lib/index.browser.js",
"sideEffects": true,
"exports": {
".": {
"import": "./mjs/sdk/lib/index.js",
"require": "./cjs/sdk/lib/index.js",
"types": "./cjs/sdk/lib/index.d.ts"
}
},
"typesVersion": {
">=3.1": {
"*": [
@@ -36,10 +30,8 @@
},
"homepage": "https://github.com/Start9Labs/start-sdk#readme",
"dependencies": {
"@iarna/toml": "^2.2.5",
"isomorphic-fetch": "^3.0.0",
"ts-matches": "^5.4.1",
"yaml": "^2.2.2"
"ts-matches": "^5.4.1"
},
"prettier": {
"trailingComma": "all",
@@ -48,6 +40,8 @@
"singleQuote": false
},
"devDependencies": {
"@iarna/toml": "^2.2.5",
"yaml": "^2.2.2",
"@types/jest": "^29.4.0",
"jest": "^29.4.3",
"prettier": "^3.2.5",