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