cleanup: wip 3.2
Move postcss config to package.json
This commit is contained in:
parent
9524a234cf
commit
e6665a3977
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"plugins": {
|
|
||||||
"autoprefixer": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
115
package.json
115
package.json
|
|
@ -1,21 +1,72 @@
|
||||||
{
|
{
|
||||||
"name": "blessing-skin-server",
|
"name": "blessing-skin-server",
|
||||||
"version": "6.0.2",
|
"version": "6.0.2",
|
||||||
|
"private": true,
|
||||||
"description": "A web application brings your custom skins back in offline Minecraft servers.",
|
"description": "A web application brings your custom skins back in offline Minecraft servers.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/bs-community/blessing-skin-server"
|
"url": "https://github.com/bs-community/blessing-skin-server"
|
||||||
},
|
},
|
||||||
"author": "printempw",
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"author": "printempw",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
"build:urls": "ts-node tools/generateUrls.ts",
|
||||||
|
"dev": "vite",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "vitest",
|
"test": "vitest"
|
||||||
"build:urls": "ts-node tools/generateUrls.ts"
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"Firefox ESR",
|
||||||
|
"iOS >= 12.5",
|
||||||
|
"Chrome >= 87"
|
||||||
|
],
|
||||||
|
"eslintConfig": {
|
||||||
|
"env": {
|
||||||
|
"es2024": true
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest",
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"xo",
|
||||||
|
"xo-react",
|
||||||
|
"plugin:react/jsx-runtime",
|
||||||
|
"./node_modules/xo/config/plugins.cjs"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"import/extensions": "off",
|
||||||
|
"import/no-named-as-default": "off",
|
||||||
|
"n/file-extension-in-import": "off",
|
||||||
|
"unicorn/filename-case": "off",
|
||||||
|
"n/prefer-global/process": "off"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"*.ts",
|
||||||
|
"*.tsx"
|
||||||
|
],
|
||||||
|
"extends": [
|
||||||
|
"xo-typescript"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"@typescript-eslint/ban-types": "off",
|
||||||
|
"@typescript-eslint/consistent-type-definitions": "warn",
|
||||||
|
"@typescript-eslint/naming-convention": "warn"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ignorePatterns": [
|
||||||
|
"dist",
|
||||||
|
"public"
|
||||||
|
],
|
||||||
|
"root": true
|
||||||
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"kleur": "^4.1.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.0.0",
|
"@emotion/react": "^11.0.0",
|
||||||
|
|
@ -80,55 +131,9 @@
|
||||||
"vitest": "^1.3.1",
|
"vitest": "^1.3.1",
|
||||||
"xo": "^0.57.0"
|
"xo": "^0.57.0"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"postcss": {
|
||||||
"kleur": "^4.1.3"
|
"plugins": {
|
||||||
},
|
"autoprefixer": {}
|
||||||
"browserslist": [
|
}
|
||||||
"Firefox ESR",
|
|
||||||
"iOS >= 12.5",
|
|
||||||
"Chrome >= 87"
|
|
||||||
],
|
|
||||||
"eslintConfig": {
|
|
||||||
"env": {
|
|
||||||
"es2024": true
|
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": "latest",
|
|
||||||
"sourceType": "module"
|
|
||||||
},
|
|
||||||
"extends": [
|
|
||||||
"xo",
|
|
||||||
"xo-react",
|
|
||||||
"plugin:react/jsx-runtime",
|
|
||||||
"./node_modules/xo/config/plugins.cjs"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"import/extensions": "off",
|
|
||||||
"import/no-named-as-default": "off",
|
|
||||||
"unicorn/filename-case": "off",
|
|
||||||
"n/file-extension-in-import": "off",
|
|
||||||
"n/prefer-global/process": "off"
|
|
||||||
},
|
|
||||||
"overrides": [
|
|
||||||
{
|
|
||||||
"files": [
|
|
||||||
"*.ts",
|
|
||||||
"*.tsx"
|
|
||||||
],
|
|
||||||
"extends": [
|
|
||||||
"xo-typescript"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"@typescript-eslint/consistent-type-definitions": "warn",
|
|
||||||
"@typescript-eslint/naming-convention": "warn",
|
|
||||||
"@typescript-eslint/ban-types": "off"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ignorePatterns": [
|
|
||||||
"dist",
|
|
||||||
"public"
|
|
||||||
],
|
|
||||||
"root": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type React, {type HTMLAttributes} from 'react';
|
import type React from 'react';
|
||||||
|
|
||||||
export type Props = {
|
export type Props = {
|
||||||
readonly inputType?: string;
|
readonly inputType?: string;
|
||||||
readonly inputMode?: HTMLAttributes<HTMLInputElement>['inputMode'];
|
readonly inputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
|
||||||
readonly choices?: Array<{text: string; value: string}>;
|
readonly choices?: Array<{text: string; value: string}>;
|
||||||
readonly placeholder?: string;
|
readonly placeholder?: string;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user