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