From 3d819f03c702c128fc792f02fa6e1328bd310e77 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 12 Nov 2020 16:55:53 +0100 Subject: [PATCH] Simplify build cp command and add README.md to published package files --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f7650b..3f3536e 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "clean": "(test ! -d dist || rm -r dist)", "compile": "yarn clean && tsc", "dev": "concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"maildev\"", - "build": "yarn compile && cp package.json dist/ && cp yarn.lock dist/ && cp -r config dist/ && cp -r views dist/ && mkdir dist/types && cp src/types/* dist/types/", + "build": "yarn compile && cp -r package.json yarn.lock README.md config/ views/ dist/ && mkdir dist/types && cp src/types/* dist/types/", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "release": "yarn lint && yarn test && yarn build && cd dist && yarn publish" },