about summary refs log tree commit diff
path: root/test/package.json
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-28 18:48:37 +0100
committerGitHub <noreply@github.com>2020-01-28 18:48:37 +0100
commit3cf1e858dfad1d8f3ba7079e7e0b249c1cdfd5f5 (patch)
tree2e6cfbdbc7b2de3574c6ec35bbd3c88ef116f786 /test/package.json
parentfc0089b31bd632451786b743df35f51c8ddba07a (diff)
downloadkronika-3cf1e858dfad1d8f3ba7079e7e0b249c1cdfd5f5.tar.gz
kronika-3cf1e858dfad1d8f3ba7079e7e0b249c1cdfd5f5.zip
Add api building (#5)
Diffstat (limited to 'test/package.json')
-rw-r--r--test/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/package.json b/test/package.json
index f78dd9d..52960ed 100644
--- a/test/package.json
+++ b/test/package.json
@@ -5,9 +5,10 @@
   "main": "check.js",
   "dependencies": {
     "esm": "^3.2.25",
-    "kronikarz": "^1.0.0"
+    "kronikarz": "^2.0.0"
   },
   "scripts": {
+    "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js",
     "test": "./validator.sh"
   },
   "keywords": [],