Skip to content

Commit

Permalink
chore: remove redundant dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 3, 2024
1 parent 502e63f commit d3eec26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
],
"license": "MIT",
"scripts": {
"yakumo": "node --import tsx node_modules/yakumo/lib/cli.js",
"build": "tsc -b",
"yakumo": "node --import tsx scripts/yakumo.js",
"build": "yarn yakumo build",
"bump": "yarn yakumo version",
"dep": "yarn yakumo upgrade",
"pub": "yarn yakumo publish",
Expand All @@ -23,9 +23,11 @@
"devDependencies": {
"@cordisjs/eslint-config": "^1.0.4",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/node": "^20.10.2",
"c8": "^7.14.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"eslint": "^8.55.0",
Expand Down
20 changes: 1 addition & 19 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,9 @@
"lib",
"src"
],
"scripts": {
"compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --sources-content=false --platform=node --external:cosmokit --target=es2022",
"compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --sources-content=false --platform=neutral --external:cosmokit --target=es2022",
"build": "yarn compile:cjs && yarn compile:esm && yarn dtsc",
"test": "node --import tsx --test tests/*.spec.ts",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/node": "^20.10.2",
"c8": "^7.14.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"dtsc": "^3.0.1",
"esbuild": "^0.18.20",
"shx": "^0.3.4",
"tsx": "patch:tsx@npm%3A4.7.0#~/.yarn/patches/tsx-npm-4.7.0-86d7b66640.patch",
"typescript": "^5.3.2"
"chai": "^4.3.10"
},
"dependencies": {
"cosmokit": "^1.5.2"
Expand Down
1 change: 1 addition & 0 deletions scripts/yakumo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'yakumo/lib/cli.js'

0 comments on commit d3eec26

Please sign in to comment.