refactor: add cjs support
This commit is contained in:
parent
ba35a9c743
commit
b4f6015e02
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"preset": [
|
"preset": [
|
||||||
"@lumeweb/node-library-preset"
|
"presetter-preset-hybrid",
|
||||||
]
|
"@lumeweb/node-library-preset"
|
||||||
}
|
]
|
||||||
|
}
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@lumeweb/node-library-preset": "^0.2.7",
|
"@lumeweb/node-library-preset": "^0.2.7",
|
||||||
"presetter": "*"
|
"presetter": "*",
|
||||||
|
"presetter-preset-hybrid": "^4.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
|
13
package.json
13
package.json
|
@ -3,6 +3,16 @@
|
||||||
"version": "0.1.8",
|
"version": "0.1.8",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"type": "module",
|
||||||
|
"types": "lib/index.d.ts",
|
||||||
|
"module": "lib/index.mjs",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"require": "./lib/index.js",
|
||||||
|
"import": "./lib/index.mjs"
|
||||||
|
},
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
},
|
||||||
"authors": [
|
"authors": [
|
||||||
"Christopher Jeffrey <chjjeffrey@gmail.com>",
|
"Christopher Jeffrey <chjjeffrey@gmail.com>",
|
||||||
"Hammer Technologies LLC <contact@lumeweb.com>"
|
"Hammer Technologies LLC <contact@lumeweb.com>"
|
||||||
|
@ -18,7 +28,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@lumeweb/node-library-preset": "^0.2.7",
|
"@lumeweb/node-library-preset": "^0.2.7",
|
||||||
"presetter": "*"
|
"presetter": "*",
|
||||||
|
"presetter-preset-hybrid": "^4.0.1"
|
||||||
},
|
},
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue