mirror of https://codeberg.org/pzp/pzp-db.git
improve package.json files and exports
This commit is contained in:
parent
10e74ea8da
commit
a5574b7133
|
@ -1,7 +1,7 @@
|
|||
const FeedV1 = require('./feed-v1')
|
||||
|
||||
/**
|
||||
* @typedef {import('./plugin').Rec} Rec
|
||||
* @typedef {import('./index').Rec} Rec
|
||||
*/
|
||||
|
||||
function ciphertextStrToBuffer(str) {
|
||||
|
|
|
@ -5,15 +5,14 @@
|
|||
"main": "index.js",
|
||||
"files": [
|
||||
"*.js",
|
||||
"lib/**/*.js",
|
||||
"compat/*.js"
|
||||
"lib/**/*.js"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"require": "./index.js"
|
||||
"require": "./lib/index.js"
|
||||
},
|
||||
"./feed-v1": {
|
||||
"require": "./lib/feed-v1/index.js"
|
||||
|
|
Loading…
Reference in New Issue