Skip to content

Commit 5de3039

Browse files
authored
Merge pull request #56 from Rich-Harris/publint
apply publint suggestion
2 parents c3cb13c + e76415c commit 5de3039

File tree

2 files changed

+101
-2
lines changed

2 files changed

+101
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
"default": "./index.js"
1111
}
1212
},
13-
"main": "index.js",
1413
"files": [
1514
"index.js",
1615
"src",
1716
"types"
1817
],
1918
"types": "./types/index.d.ts",
2019
"devDependencies": {
20+
"publint": "^0.1.7",
2121
"typescript": "^3.1.3",
2222
"uvu": "^0.5.6"
2323
},
2424
"scripts": {
2525
"build": "tsc",
2626
"test": "uvu test",
27-
"prepublishOnly": "npm test && npm run build"
27+
"prepublishOnly": "npm test && publint && npm run build"
2828
},
2929
"license": "MIT",
3030
"type": "module",

pnpm-lock.yaml

Lines changed: 99 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)