chore: fix file path (#8391)

* chore: fix file path

* chore: emit only mjs
This commit is contained in:
Parbez
2022-07-29 22:13:57 +05:30
committed by GitHub
parent a3183cfad4
commit d070de6da7
3 changed files with 3 additions and 9 deletions

View File

@@ -10,14 +10,8 @@
"format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
"fmt": "yarn format"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"directories": {
"lib": "src",
"test": "__tests__"