mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 07:18:57 +01:00
Fixed scripts
This commit is contained in:
parent
e132d33384
commit
d7267ba40f
@ -5,10 +5,10 @@
|
||||
"main": "n/a",
|
||||
"scripts": {
|
||||
"develop": "gatsby develop",
|
||||
"build": "npm run clean & gatsby build & copy",
|
||||
"build": "gatsby build",
|
||||
"clean:public": "rm -rf public",
|
||||
"clean": "npm run clean:public",
|
||||
"copy:files": "cp pages/*.{pdf,txt,png,jpg,jpeg,gif} public/",
|
||||
"copy:files": "find ./pages -maxdepth 1 -type f -regextype posix-extended -regex '.+\\.(pdf|txt|png|jpg|jpeg|gif)$' -exec cp -v {} ./public ';'",
|
||||
"copy": "npm run copy:files",
|
||||
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
|
Loading…
Reference in New Issue
Block a user