diff --git a/package.json b/package.json index 850af94..379ddc4 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,10 @@ "scripts": { "test": "jest --verbose --runInBand", "clean": "(test ! -d dist || rm -r dist)", - "prepare": "cp package.json src/", + "prepareSources": "cp package.json src/", "compile": "yarn clean && tsc", - "dev": "yarn prepare && concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"maildev\"", - "build": "yarn prepare && yarn compile && cp -r yarn.lock README.md config/ views/ dist/ && mkdir dist/types && cp src/types/* dist/types/", + "dev": "yarn prepareSources && concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"maildev\"", + "build": "yarn prepareSources && yarn compile && cp -r yarn.lock README.md config/ views/ dist/ && mkdir dist/types && cp src/types/* dist/types/", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "release": "yarn build && yarn lint && yarn test && cd dist && yarn publish" },