Skip to content

Commit

Permalink
feat(remark-kbd-nested)!: revert to only ESM build
Browse files Browse the repository at this point in the history
  • Loading branch information
shivjm committed Apr 23, 2024
1 parent 18ff39d commit 47858f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
11 changes: 7 additions & 4 deletions packages/remark-kbd-nested/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "remark plugin to add support for `kbd` element syntax with configurable delimiters, escaping, and arbitrary nesting",
"main": "src/index.ts",
"scripts": {
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.build.cjs.json",
"build": "tsc -p tsconfig.build.json",
"build:clean": "rimraf lib && npm run build",
"lint": "eslint src/**/*.ts",
"test": "mocha tests/**/*.ts",
Expand Down Expand Up @@ -32,9 +32,12 @@
},
"type": "module",
"publishConfig": {
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"typings": "index.d.ts"
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
}
}
},
"devDependencies": {
"@types/chai": "^4.2.22",
Expand Down
7 changes: 0 additions & 7 deletions packages/remark-kbd-nested/tsconfig.build.cjs.json

This file was deleted.

0 comments on commit 47858f9

Please sign in to comment.