Skip to content

Commit

Permalink
fix: include types
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed May 13, 2020
1 parent e4961d6 commit a26b941
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -3,13 +3,14 @@
"version": "0.0.0-semantic-release",
"main": "dist/index.js",
"bin": "dist/cli.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"author": "EGOIST",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsup src/cli.ts src/index.ts --external typescript --bundle",
"build": "rm -rf dist && tsup src/cli.ts src/index.ts --external typescript --bundle --dts",
"prepublishOnly": "npm run build",
"test": "npm run build && jest"
},
Expand Down Expand Up @@ -37,7 +38,7 @@
"rollup-plugin-dts": "^1.4.2",
"rollup-plugin-hashbang": "^2.2.2",
"ts-jest": "^25.5.1",
"tsup": "^1.3.0",
"tsup": "^1.4.1",
"typescript": "^3.9.2"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -3549,10 +3549,10 @@ ts-jest@^25.5.1:
semver "6.x"
yargs-parser "18.x"

tsup@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/tsup/-/tsup-1.3.0.tgz#53cf85399111488cba484f7ce663e251b229300c"
integrity sha512-LvwseBK56MPv1kSgWnaCxBOvf5dKNy0k0RO/AqvmvYu8Q+tqgeRbwMqs8CXKVC6N9/CidNp6cgtX6H3imIX4dw==
tsup@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/tsup/-/tsup-1.4.1.tgz#ca03916748f54fb66870887406ca8a3c4177870f"
integrity sha512-WY6vYr++ddTYk9RDUDCHtDnrbfTm/WLI9RmlBoqd3mp3c2702xZIsp031QCNOyH1VPLM+OTTryBNcEWVTKengA==
dependencies:
joycon "^2.2.5"
rollup "^2.10.0"
Expand Down

0 comments on commit a26b941

Please sign in to comment.