mirror of https://github.com/stashapp/stash.git
Fixes
This commit is contained in:
parent
d1ffc0be0a
commit
e1a1914d16
|
@ -8,6 +8,7 @@
|
||||||
],
|
],
|
||||||
"extends": [
|
"extends": [
|
||||||
"airbnb-typescript",
|
"airbnb-typescript",
|
||||||
|
"airbnb/hooks",
|
||||||
"prettier",
|
"prettier",
|
||||||
"prettier/react",
|
"prettier/react",
|
||||||
"prettier/@typescript-eslint"
|
"prettier/@typescript-eslint"
|
||||||
|
|
|
@ -31,6 +31,8 @@ module.exports = merge(commonConfig, {
|
||||||
compress: true,
|
compress: true,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
hot: true, // enable HMR on the server host: '0.0.0.0',
|
hot: true, // enable HMR on the server host: '0.0.0.0',
|
||||||
|
transportMode: 'ws',
|
||||||
|
injectClient: false,
|
||||||
port: process.env.PORT,
|
port: process.env.PORT,
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
stats: {
|
stats: {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"lint": "yarn lint:css && yarn lint:js",
|
"lint": "yarn lint:css && yarn lint:js",
|
||||||
"lint:js": "eslint --cache src/**/*.{ts,tsx}",
|
"lint:js": "eslint --cache src/**/*.{ts,tsx}",
|
||||||
"lint:css": "stylelint 'src/**/*.scss'",
|
"lint:css": "stylelint 'src/**/*.scss'",
|
||||||
"format": "prettier \"src/**/*.{js,jsx,ts,tsx}\"",
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||||
"gqlgen": "gql-gen --config codegen.yml"
|
"gqlgen": "gql-gen --config codegen.yml"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
@import "styles/scrollbars";
|
@import "styles/scrollbars";
|
||||||
@import "styles/variables";
|
@import "styles/variables";
|
||||||
|
|
||||||
|
@import "./components/**/*.scss";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: $pt-navbar-height 0 0 0;
|
padding: $pt-navbar-height 0 0 0;
|
||||||
|
|
Loading…
Reference in New Issue