improved packaging
This commit is contained in:
@@ -1,20 +1,24 @@
|
||||
{
|
||||
"type": "module",
|
||||
"main": "dist/exports.js",
|
||||
"bin": {
|
||||
"fluxcurrent-server": "./bin/cli.js"
|
||||
},
|
||||
"main": "./src/start.ts",
|
||||
"scripts": {
|
||||
"build": "tsc --build",
|
||||
"dev": "node --watch --no-warnings ./bin/cli.js",
|
||||
"test:unit": "vitest --run --passWithNoTests",
|
||||
"test": "pnpm run \"/^test:/\""
|
||||
},
|
||||
"packageManager": "pnpm@10.6.0",
|
||||
"files": [
|
||||
"dist"
|
||||
"bin",
|
||||
"src"
|
||||
],
|
||||
"imports": {
|
||||
"#root/*": "./src/*"
|
||||
},
|
||||
"exports": {
|
||||
".": "./dist/exports.js"
|
||||
".": "./src/exports.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@morten-olsen/fluxcurrent-configs": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user