mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 10:21:55 +00:00
chore: Update some things to make a single export?
This commit is contained in:
23
package.json
23
package.json
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user