Rename fields in package.json

pull/45/head
Nikita Karamov 2022-02-10 21:51:37 +01:00
parent c9364937b4
commit c2e1ee5bd9
No known key found for this signature in database
GPG Key ID: 3C8E688C96EEB9C9
1 changed files with 9 additions and 6 deletions

View File

@ -21,12 +21,15 @@
"email": "me@kytta.dev",
"url": "https://www.kytta.dev"
},
"main": "./dist/shareon.cjs",
"module": "./dist/shareon.mjs",
"unpkg": "./dist/shareon.min.js",
"main": "./dist/shareon.umd.js",
"unpkg": "./dist/shareon.iife.js",
"jsdelivr": "./dist/shareon.iife.js",
"module": "./dist/shareon.es.js",
"exports": {
"require": "./dist/shareon.cjs",
"import": "./dist/shareon.mjs"
".": {
"import": "./dist/shareon.es.js",
"require": "./dist/shareon.umd.js"
}
},
"files": [
"dist"
@ -65,7 +68,7 @@
},
{
"limit": "1 KB",
"path": "./dist/shareon.mjs"
"path": "./dist/shareon.es.js"
}
]
}