Skip to content

Commit

Permalink
feat(app): add main entry point and remove unused deps (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
danestves authored Jan 18, 2024
1 parent 43ea553 commit 272dcfc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
Binary file modified bun.lockb
Binary file not shown.
18 changes: 1 addition & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"import": "./dist/index.mjs"
}
},
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
Expand All @@ -48,12 +49,10 @@
"lint": "biome lint .",
"lint:fix": "bun run lint --apply && biome format --write .",
"prepare": "husky install",
"release": "bun run build && bun release-it",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"ts": "node node_modules/.bin/ts-node -r tsconfig-paths/register -O '{\"module\": \"commonjs\", \"moduleResolution\": \"classic\", \"resolveJsonModule\": false }' --transpile-only --project ./tsconfig.json",
"typecheck": "tsc"
},
"lint-staged": {
Expand Down Expand Up @@ -105,12 +104,8 @@
"husky": "8.0.3",
"jsdom": "23.2.0",
"lint-staged": "15.2.0",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"release-it": "17.0.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tsup": "8.0.1",
"typescript": "5.3.3",
"vitest": "1.2.1"
Expand All @@ -121,16 +116,5 @@
},
"engines": {
"node": ">=18.0.0"
},
"release-it": {
"git": {
"commitMessage": "chore(release): v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
}
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
treeshake: true,
sourcemap: "inline",
sourcemap: true,
minify: true,
clean: true,
dts: true,
Expand Down

0 comments on commit 272dcfc

Please sign in to comment.