mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 22:01: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 \
|
||||
.babelrc \
|
||||
generate_translations.mjs \
|
||||
tailwind.config.js \
|
||||
./
|
||||
|
||||
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}\"",
|
||||
"prebuild:dev": "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",
|
||||
"start": "yarn build:dev --watch & yarn tailwind --watch"
|
||||
},
|
||||
|
@ -75,12 +75,7 @@
|
|||
},
|
||||
"engineStrict": true,
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
],
|
||||
"package.json": [
|
||||
"sortpack"
|
||||
]
|
||||
"*.{ts,tsx,js}": ["prettier --write", "eslint --fix"],
|
||||
"package.json": ["sortpack"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue