Skip to content

Commit 75128d7

Browse files
committed
squash: remove type files and add a build step to run tsc.
1 parent 4f08ff1 commit 75128d7

4 files changed

Lines changed: 7 additions & 160 deletions

File tree

dist/BrowserDetection.d.ts

Lines changed: 0 additions & 134 deletions
This file was deleted.

dist/constants.d.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,20 @@
2424
"@types/ua-parser-js": "0.7.39",
2525
"eslint": "8.50.0",
2626
"eslint-plugin-import": "2.28.1",
27-
"typescript": "^5.8.3"
27+
"typescript": "5.8.3"
2828
},
2929
"scripts": {
30-
"lint": "eslint ."
30+
"lint": "eslint .",
31+
"build": "tsc --project tsconfig.json"
3132
},
3233
"pre-commit": [
3334
"lint",
3435
"test"
3536
],
3637
"type": "module",
3738
"main": "./index.js",
39+
"files": [
40+
"dist/index.d.ts"
41+
],
3842
"license": "Apache-2.0"
3943
}

0 commit comments

Comments
 (0)