From 5e64cd1f3c48a8891c1c08c85c7d174a7be7bcdc Mon Sep 17 00:00:00 2001 From: typicode Date: Tue, 26 Dec 2023 00:13:21 +0100 Subject: [PATCH] Update README.md and package.json --- README.md | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6a0bc1d..edc815f 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ Create a `db.json` file or run `json-server db.json` to create one with some def ```json { "posts": [ - { "id": "1", "title": "string" }, - { "id": "2", "title": "some post" } + { "id": "1", "title": "a title" }, + { "id": "2", "title": "another title" } ], "comments": [ - { "id": "1", "text": "some text", "postId": "1" }, - { "id": "2", "text": "some text", "postId": "1" } + { "id": "1", "text": "a comment about post 1", "postId": "1" }, + { "id": "2", "text": "another comment about post 1", "postId": "1" } ] } ``` diff --git a/package.json b/package.json index 9f7bd2b..063848e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "watch-css": "npm run css -- --watch", "dev": "concurrently npm:watch-*", "build": "rm -rf lib && tsc && npm run css", - "test": "node --import tsx/esm --test src/**/*.test.ts", + "test": "npm run css && node --import tsx/esm --test src/*.test.ts", "lint": "eslint src --ext .ts --ignore-path .gitignore", "prepare": "husky install", "prepublishOnly": "npm run build"