Add package.json export, close #211

This commit is contained in:
Vitaly Puzrin 2021-01-09 19:24:32 +03:00
parent 356c576448
commit b93a6e5643

View file

@ -25,9 +25,12 @@
"repository": "nodeca/pako", "repository": "nodeca/pako",
"module": "./dist/pako.esm.mjs", "module": "./dist/pako.esm.mjs",
"exports": { "exports": {
".": {
"import": "./dist/pako.esm.mjs", "import": "./dist/pako.esm.mjs",
"require": "./index.js" "require": "./index.js"
}, },
"./package.json": "./package.json"
},
"scripts": { "scripts": {
"lint": "eslint .", "lint": "eslint .",
"test": "npm run lint && mocha", "test": "npm run lint && mocha",