From 576d08d06bd0743d3912770fff4d5b1e38c0f576 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 28 Jan 2020 19:08:33 +0100 Subject: Add headers (#6) * Add api building * Add headers * Change path * Add file * Move script --- test/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/package.json') diff --git a/test/package.json b/test/package.json index 52960ed..74665d2 100644 --- a/test/package.json +++ b/test/package.json @@ -8,7 +8,7 @@ "kronikarz": "^2.0.0" }, "scripts": { - "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js", + "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js && cp _headers ../api", "test": "./validator.sh" }, "keywords": [], -- cgit 1.4.1