Skip to content

Commit

Permalink
fix: rm .d.ts from esm folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nesopie committed Jun 16, 2024
1 parent feb41aa commit 2afb650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"url": "https://github.com/cryptocoinjs/base-x.git"
},
"scripts": {
"build": "tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json; standard --fix --ignore test",
"build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json; standard --fix --ignore test",
"clean": "rimraf src",
"postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\;",
"gitdiff": "npm run build && git diff --exit-code",
"prepublish": "npm run gitdiff",
Expand All @@ -49,6 +50,7 @@
},
"devDependencies": {
"@types/node": "12.0.10",
"rimraf": "^3.0.2",
"standard": "^17.1.0",
"tape": "^5.3.0",
"typescript": "^5.4.5"
Expand Down
9 changes: 0 additions & 9 deletions src/esm/index.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"target": "ES5",
"module": "commonjs",
"outDir": "./src",
"declaration": true,
"rootDir": "./ts_src",
"types": ["node"],
"allowJs": false,
Expand Down

0 comments on commit 2afb650

Please sign in to comment.