Skip to content

Commit

Permalink
[config] update release command / add exports
Browse files Browse the repository at this point in the history
  • Loading branch information
braebo committed Jun 19, 2022
1 parent c1dbc60 commit 0d25364
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"debug": "NODE_OPTIONS=\"--inspect\" svelte-kit dev",
"build": "rm -rf build && svelte-kit build",
"package": "svelte-kit package",
"release": "cd ./package && pnpm publish --tag latest --access public --report-summary",
"release": "pnpm package && rm ./dist/package.json && changeset release",
"preview": "svelte-kit preview"
},
"devDependencies": {
Expand All @@ -46,5 +46,14 @@
"svelte2tsx": "^0.5.9",
"tslib": "^2.4.0",
"typescript": "^4.6.3"
}
},
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js"
},
"svelte": "./dist/index.js",
"files": [
"./dist",
"LICENSE"
]
}

0 comments on commit 0d25364

Please sign in to comment.