Skip to content

Commit f14e47e

Browse files
committed
feat: initial publish
1 parent c4c002d commit f14e47e

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Hop, Inc
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
"packageManager": "[email protected]",
1111
"scripts": {
1212
"build": "tsup",
13-
"bench": "HOP_DEBUG=true ts-node _workbench.ts"
13+
"bench": "HOP_DEBUG=true ts-node _workbench.ts",
14+
"release": "yarn build && yarn npm publish --tag beta"
1415
},
16+
"files": [
17+
"dist",
18+
"LICENSE",
19+
"package.json"
20+
],
1521
"devDependencies": {
1622
"@types/common-tags": "^1",
1723
"@types/node": "^17.0.35",

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
clean: true,
88
minifySyntax: true,
99
minifyWhitespace: true,
10-
sourcemap: true,
10+
sourcemap: 'inline',
1111
dts: true,
1212
format: ['cjs', 'esm'],
1313
target: 'node14',

0 commit comments

Comments
 (0)