Skip to content

Commit 967725c

Browse files
chore: fix packaging (#4)
* fix: remove tests from npm package * chore: add repository info to package.json * fix: npm bin path * chore: increase test timeout
1 parent 9b804bb commit 967725c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
"name": "jsr",
33
"version": "0.6.0",
44
"description": "jsr.io package manager for node",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/denoland/jsr-node-cli.git"
8+
},
59
"bin": {
6-
"jsr": "./dist/bin.js"
10+
"jsr": "dist/bin.js"
711
},
812
"main": "dist/index.js",
913
"exports": {
@@ -13,7 +17,7 @@
1317
}
1418
},
1519
"scripts": {
16-
"test": "mocha -r ts-node/register --extensions ts,tsx --timeout 10000 --watch-files src,test 'test/**/*.test.ts'",
20+
"test": "mocha -r ts-node/register --extensions ts,tsx --timeout 30000 --watch-files src,test 'test/**/*.test.ts'",
1721
"cli": "ts-node src/bin.ts",
1822
"build": "rimraf dist dist-esm && tsc && tsc -p tsconfig.esm.json",
1923
"prepublishOnly": "tsc && npm test"

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"declaration": true,
88
"sourceMap": true,
99
"isolatedModules": true
10-
}
10+
},
11+
"include": ["src"]
1112
}

0 commit comments

Comments
 (0)