mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-12-01 16:51:17 +00:00
Fix dockerfile.
This commit is contained in:
parent
0acd7bda40
commit
3232d32c74
2 changed files with 4 additions and 8 deletions
|
@ -37,6 +37,7 @@ COPY tsconfig.json \
|
||||||
webpack.config.js \
|
webpack.config.js \
|
||||||
.babelrc \
|
.babelrc \
|
||||||
generate_translations.mjs \
|
generate_translations.mjs \
|
||||||
|
tailwind.config.js \
|
||||||
./
|
./
|
||||||
|
|
||||||
COPY joinlemmy-translations joinlemmy-translations
|
COPY joinlemmy-translations joinlemmy-translations
|
||||||
|
|
11
package.json
11
package.json
|
@ -11,7 +11,7 @@
|
||||||
"lint": "node generate_translations.mjs && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
"lint": "node generate_translations.mjs && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
||||||
"prebuild:dev": "yarn clean && node generate_translations.mjs && yarn tailwind",
|
"prebuild:dev": "yarn clean && node generate_translations.mjs && yarn tailwind",
|
||||||
"prebuild:prod": "yarn clean && node generate_translations.mjs && yarn tailwind",
|
"prebuild:prod": "yarn clean && node generate_translations.mjs && yarn tailwind",
|
||||||
"tailwind": "tailwindcss -i ./src/style.css -o ./dist/styles/styles.css",
|
"tailwind": "tailwindcss -i ./src/style.css -o ./dist/styles/styles.css --minify",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"start": "yarn build:dev --watch & yarn tailwind --watch"
|
"start": "yarn build:dev --watch & yarn tailwind --watch"
|
||||||
},
|
},
|
||||||
|
@ -75,12 +75,7 @@
|
||||||
},
|
},
|
||||||
"engineStrict": true,
|
"engineStrict": true,
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,tsx,js}": [
|
"*.{ts,tsx,js}": ["prettier --write", "eslint --fix"],
|
||||||
"prettier --write",
|
"package.json": ["sortpack"]
|
||||||
"eslint --fix"
|
|
||||||
],
|
|
||||||
"package.json": [
|
|
||||||
"sortpack"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue