*Switch to commonjs
This commit is contained in:
parent
a3434a77f7
commit
cc29396abb
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "p-timeout",
|
||||
"version": "6.0.0",
|
||||
"main": "dist/index.js",
|
||||
"description": "Timeout a promise after a specified amount of time",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/p-timeout",
|
||||
|
@ -10,9 +11,7 @@
|
|||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
"type": "commonjs",
|
||||
"engines": {
|
||||
"node": ">=14.16"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"strict": true,
|
||||
"module": "esnext",
|
||||
"module": "commonjs",
|
||||
"target": "esnext",
|
||||
"esModuleInterop": true,
|
||||
"sourceMap": false,
|
||||
|
|
Loading…
Reference in New Issue