mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-14 09:05:17 +01:00
copy raw media folder after site build
This commit is contained in:
parent
c8c6c70bb0
commit
bcfef9f6da
@ -8,9 +8,10 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "gatsby develop",
|
||||
"build": "npm run rename:scrypt && gatsby build",
|
||||
"build": "npm run rename:scrypt && gatsby build && npm run copy",
|
||||
"ssr": "npm run build && serve -s public/",
|
||||
"rename:scrypt": "sed -i -e 's|./build/Release/scrypt|scrypt|g' node_modules/scrypt/index.js",
|
||||
"copy": "cp -R content/media/ public",
|
||||
"format": "run-p format:js format:css format:md format:yaml",
|
||||
"format:js": "prettier-eslint --write 'src/**/*.{js,jsx}'",
|
||||
"format:css": "prettier-stylelint --write",
|
||||
|
Loading…
Reference in New Issue
Block a user