Skip to content

Commit

Permalink
cleanup: wip 3.2
Browse files Browse the repository at this point in the history
Move postcss config to package.json
  • Loading branch information
mochaaP committed Feb 27, 2024
1 parent 9524a23 commit e6665a3
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 62 deletions.
5 changes: 0 additions & 5 deletions .postcssrc.json

This file was deleted.

115 changes: 60 additions & 55 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {}
}
}
}
4 changes: 2 additions & 2 deletions resources/assets/src/components/ModalInput.tsx
Original file line number Diff line number Diff line change
@@ -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;
};
Expand Down

0 comments on commit e6665a3

Please sign in to comment.