chore: config overhaul

This commit is contained in:
iCrawl
2023-08-22 01:33:47 +02:00
parent 5d7c59c301
commit 1e3aed0d97
131 changed files with 353 additions and 114 deletions

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@discordjs/scripts",
"version": "0.1.0",
"description": "A set of scripts that we use for our workflows",
@@ -9,14 +10,21 @@
"format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts --fix --format=pretty",
"fmt": "yarn format"
},
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"directories": {
"lib": "src"
},