Fixed scripts

This commit is contained in:
wpioneer 2017-02-05 21:27:30 +03:00
parent e132d33384
commit d7267ba40f

View File

@ -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",