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/eslintrc.json",
"extends": ["../../.eslintrc.json", "neon/react", "plugin:storybook/recommended", "@unocss", "neon/prettier"],
"settings": {
"react": {

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@discordjs/ui",
"version": "0.1.0",
"description": "",
@@ -15,12 +16,16 @@
"chromatic": "chromatic"
},
"type": "module",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
}
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"directories": {
"lib": "src"

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"lib": ["ESNext", "DOM", "DOM.Iterable"],