Skip to content

Commit

Permalink
Revert module by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjan1999 committed Apr 14, 2022
1 parent ee5f4b8 commit 0e9dcc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"scripts": {
"clean": "rimraf ./dist",
"lint": "tslint -c tslint.json 'lib/**/*.ts' 'test/**/*.ts'",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "tsup lib/index.ts --format esm,cjs --dts --clean",
"build": "tsup lib/index.ts --format cjs,esm --dts --clean",
"deploy2npm": "npm run build && npm publish",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
Expand Down

0 comments on commit 0e9dcc2

Please sign in to comment.