Skip to content

Commit

Permalink
feat: tsup build
Browse files Browse the repository at this point in the history
  • Loading branch information
mohantakeo committed Aug 27, 2022
1 parent 566c831 commit d55bc58
Show file tree
Hide file tree
Showing 8 changed files with 322 additions and 44 deletions.
20 changes: 0 additions & 20 deletions .npmignore

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<a href="https://www.npmjs.com/package/url-minify"><img src="https://badgen.net/npm/v/url-minify" alt="NPM version" /></a>
<a href="https://www.npmjs.com/package/url-minify"><img src="https://github.com/rubiin/tweeny-weeny/workflows/CI/badge.svg" alt="CI" /></a>
<a href="https://www.npmjs.com/package/url-minify"><img src="https://img.shields.io/npm/dm/url-minify" alt="Downloads" /></a>

</p>

# Minify Url
Expand All @@ -20,7 +19,7 @@ yarn add url-minify

# USAGE

Currently 6 providers are supported
Currently 12 providers are supported

```ts
import minify from 'url-minify';
Expand Down Expand Up @@ -62,7 +61,7 @@ Url shortner supports the following providers.
| Provider | Status |
| ----------- | ------ |
| is.gd | ✔️ |
| cdpt.in | x |
| cdpt.in | ✔️ |
| tinu.be | ✔️ |
| v.gd | ✔️ |
| rb.gy | ✔️ |
Expand All @@ -72,6 +71,7 @@ Url shortner supports the following providers.
| haha.se | ✔️ |
| cya.se | ✔️ |
| hideuri.com | ✔️ |
| tny.im | ✔️ |

## Contributing

Expand Down
12 changes: 0 additions & 12 deletions build.config.ts

This file was deleted.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.js"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
Expand All @@ -36,8 +35,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"build": "tsup",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && clean-publish",
Expand All @@ -50,14 +48,15 @@
"@antfu/ni": "^0.17.2",
"@types/node": "^18.7.13",
"bumpp": "^8.2.1",
"clean-publish": "^4.0.1",
"eslint": "^8.22.0",
"esno": "^0.16.3",
"rimraf": "^3.0.2",
"tsup": "^6.2.3",
"typescript": "^4.8.2",
"unbuild": "^0.8.9",
"vite": "^3.0.9",
"vitest": "^0.22.1",
"clean-publish": "^4.0.1"
"vitest": "^0.22.1"
},
"dependencies": {
"axios": "^0.27.2"
Expand Down
Loading

0 comments on commit d55bc58

Please sign in to comment.