Skip to content

Commit

Permalink
chore: improve package structure (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-berard authored Nov 3, 2024
1 parent 92205ea commit 6470512
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 540 deletions.
54 changes: 32 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
{
"name": "philtv-js",
"version": "0.0.0",
"version": "1.0.0",
"description": "A simple library to pair and interact with Philips TV",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"engines": {
"node": ">=18"
},
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"lint": "pnpm biome lint",
"format": "pnpm biome format",
"lint:check": "pnpm biome check",
"docs:dev": "vitepress dev docs",
"build": "pnpm tsup --dts --clean --minify --format esm src/index.ts",
"docs:build": "vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:generate": "pnpm typedoc:generate && pnpm docs:build",
"docs:preview": "vitepress preview docs",
"typedoc:generate": "typedoc",
"build": "pnpm tsup --dts --clean --minify --format esm src/index.ts"
"format": "pnpm biome format",
"lint": "pnpm biome lint",
"lint:check": "pnpm biome check",
"typedoc:generate": "typedoc"
},
"dependencies": {
"consola": "3.2.3",
"digest-fetch": "3.1.1",
"ky": "1.7.2",
"node-fetch": "3.3.2",
"radash": "12.1.0",
"unstorage": "1.13.1"
"radash": "12.1.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
Expand All @@ -37,7 +39,7 @@
"semantic-release": "24.2.0",
"tsup": "8.3.5",
"tsx": "4.19.2",
"typedoc": "^0.26.11",
"typedoc": "0.26.11",
"typedoc-plugin-markdown": "4.2.10",
"typedoc-vitepress-theme": "1.0.2",
"typescript": "5.6.3",
Expand All @@ -51,27 +53,35 @@
"philtv"
],
"author": "Clément BERARD",
"license": "ISC",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/clement-berard/philtv-js.git"
},
"bugs": {
"url": "https://github.com/clement-berard/philtv-js/issues"
},
"homepage": "https://github.com/clement-berard/philtv-js#readme",
"files": [
"dist"
],
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
"@semantic-release/commit-analyzer",
{
"assets": [
{
"path": "dist/*",
"label": "Distribution files"
}
"releaseRules": [
{ "type": "chore", "release": "patch" }
]
}
]
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}
Loading

0 comments on commit 6470512

Please sign in to comment.