chore: Update some things to make a single export?

This commit is contained in:
J H
2024-02-12 15:15:25 -07:00
parent 17ec714277
commit 599da8f52c
11 changed files with 88 additions and 63 deletions

View File

@@ -2,8 +2,24 @@
"name": "@start9labs/start-sdk",
"version": "0.4.0-rev0.lib0.rc8.beta7",
"description": "Software development kit to facilitate packaging services for StartOS",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"main": "./cjs/lib/index.js",
"types": "./cjs/lib/index.d.ts",
"module": "./mjs/lib/index.js",
"sideEffects": true,
"exports": {
".": {
"import": "./mjs/lib/index.js",
"require": "./cjs/lib/index.js",
"types": "./cjs/lib/index.d.ts"
}
},
"typesVersion": {
">=3.1": {
"*": [
"cjs/lib/*"
]
}
},
"scripts": {
"test": "jest -c ./jest.config.js --coverage",
"buildOutput": "ts-node ./lib/test/makeOutput.ts && npx prettier --write '**/*.ts'",
@@ -40,6 +56,5 @@
"tsconfig-paths": "^3.14.2",
"typescript": "^5.0.4",
"vitest": "^0.29.2"
},
"declaration": true
}
}