mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: config overhaul
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"name": "@discordjs/next",
|
||||
"version": "0.1.0",
|
||||
"description": "A powerful TypeScript library for interacting with the Discord API",
|
||||
@@ -13,21 +14,31 @@
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/next/*'",
|
||||
"release": "cliff-jumper"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"typings": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"./*": {
|
||||
"types": "./dist/exports/*.d.ts",
|
||||
"import": "./dist/exports/*.mjs",
|
||||
"require": "./dist/exports/*.js"
|
||||
"require": {
|
||||
"types": "./dist/exports/*.d.ts",
|
||||
"default": "./dist/exports/*.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/exports/*.d.mts",
|
||||
"default": "./dist/exports/*.mjs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"directories": {
|
||||
"lib": "src",
|
||||
"test": "__tests__"
|
||||
|
||||
Reference in New Issue
Block a user