Skip to content

Commit

Permalink
fix: incorrect cjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
superical committed Feb 9, 2024
1 parent af167f9 commit 5ba3ce4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"type": "commonjs",
"source": "src/index.ts",
"exports": {
"require": "./dist/index.cjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"umd:main": "dist/index.umd.js",
"engines": {
Expand Down Expand Up @@ -55,11 +55,10 @@
},
"scripts": {
"start": "node build/src/main.js",
"clean": "rimraf coverage build tmp",
"clean": "rimraf dist",
"prebuild": "npm run lint",
"build": "rimraf dist && microbundle src/*.ts --tsconfig tsconfig.release.json",
"build": "npm run clean && microbundle src/*.ts --tsconfig tsconfig.release.json",
"build:watch": "tsc -w -p tsconfig.json",
"build:release": "npm run clean && tsc -p tsconfig.release.json",
"lint": "eslint . --ext .ts --ext .mts",
"test": "hardhat test",
"prettier": "prettier --config .prettierrc --write .",
Expand Down

0 comments on commit 5ba3ce4

Please sign in to comment.