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",
|
||||
"version": "6.0.2",
|
||||
"private": true,
|
||||
"description": "A web application brings your custom skins back in offline Minecraft servers.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bs-community/blessing-skin-server"
|
||||
},
|
||||
"author": "printempw",
|
||||
"license": "MIT",
|
||||
"author": "printempw",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build:urls": "ts-node tools/generateUrls.ts",
|
||||
"dev": "vite",
|
||||
"lint": "eslint .",
|
||||
"test": "vitest",
|
||||
"build:urls": "ts-node tools/generateUrls.ts"
|
||||
"test": "vitest"
|
||||
},
|
||||
"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": {
|
||||
"@emotion/react": "^11.0.0",
|
||||
|
|
@ -80,55 +131,9 @@
|
|||
"vitest": "^1.3.1",
|
||||
"xo": "^0.57.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"kleur": "^4.1.3"
|
||||
},
|
||||
"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
|
||||
"postcss": {
|
||||
"plugins": {
|
||||
"autoprefixer": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import type React, {type HTMLAttributes} from 'react';
|
||||
import type React from 'react';
|
||||
|
||||
export type Props = {
|
||||
readonly inputType?: string;
|
||||
readonly inputMode?: HTMLAttributes<HTMLInputElement>['inputMode'];
|
||||
readonly inputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
|
||||
readonly choices?: Array<{text: string; value: string}>;
|
||||
readonly placeholder?: string;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user