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-02-03 19:38:24 +0100
committerGitHub <noreply@github.com>2020-02-03 19:38:24 +0100
commit8fe56e0b34eac47b92be6cc99ca95c67eaf0affc (patch)
treebd3061fa31cbbc9207cbaa5c02f23dec150aa906 /test/package.json
parenteca7ecabd386edc0e138d6d7a1de2881dacffa41 (diff)
downloadkronika-8fe56e0b34eac47b92be6cc99ca95c67eaf0affc.tar.gz
kronika-8fe56e0b34eac47b92be6cc99ca95c67eaf0affc.zip
Netlify cms (#7)
* Add netlify CMS

* Add netlify.toml

* Add example media library

* Add Netlify Identity

* Fix post path

* Add content

* Add body

* Fix date format

* Add site url

* Add image

* Disable editorial workflow

* Add date path

* Add file extension

* Use the latest release

* Fix slug

* Filename on preview path

* Remove filenames
Diffstat (limited to 'test/package.json')
-rw-r--r--test/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/package.json b/test/package.json
index 74665d2..c98d7e9 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 && cp _headers ../api",
+    "build": "mkdir -p ../static/api && touch ../static/api/posts.json && node -r esm build.js && cp _headers ../static",
     "test": "./validator.sh"
   },
   "keywords": [],