@jsondb-cloud/client 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +10 -2
package/README.md CHANGED
@@ -5,8 +5,12 @@ The official JavaScript/TypeScript SDK for [jsondb.cloud](https://jsondb.cloud)
5
5
  [![npm version](https://img.shields.io/npm/v/@jsondb-cloud/client)](https://www.npmjs.com/package/@jsondb-cloud/client)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/@jsondb-cloud/client)](https://www.npmjs.com/package/@jsondb-cloud/client)
7
7
  [![CI](https://github.com/JsonDBCloud/node/actions/workflows/ci.yml/badge.svg)](https://github.com/JsonDBCloud/node/actions)
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
8
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5-blue)](https://www.typescriptlang.org/)
9
9
  [![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org)
10
+ [![Bundle size](https://img.shields.io/bundlephobia/min/@jsondb-cloud/client)](https://bundlephobia.com/package/@jsondb-cloud/client)
11
+ [![GitHub stars](https://img.shields.io/github/stars/JsonDBCloud/node)](https://github.com/JsonDBCloud/node)
12
+ [![Last commit](https://img.shields.io/github/last-commit/JsonDBCloud/node)](https://github.com/JsonDBCloud/node)
13
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
10
14
 
11
15
  ## Install
12
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsondb-cloud/client",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Official JavaScript/TypeScript SDK for jsondb.cloud",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
@@ -21,9 +21,12 @@
21
21
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
22
22
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
23
23
  "test": "vitest run",
24
- "typecheck": "tsc --noEmit"
24
+ "typecheck": "tsc --noEmit",
25
+ "prepare": "husky"
25
26
  },
26
27
  "devDependencies": {
28
+ "husky": "^9.1.7",
29
+ "lint-staged": "^16.2.7",
27
30
  "tsup": "^8.0.0",
28
31
  "typescript": "^5.4.0",
29
32
  "vitest": "^4.0.18"
@@ -40,5 +43,10 @@
40
43
  "repository": {
41
44
  "type": "git",
42
45
  "url": "git+https://github.com/JsonDBCloud/node.git"
46
+ },
47
+ "lint-staged": {
48
+ "src/**/*.ts": [
49
+ "tsc --noEmit"
50
+ ]
43
51
  }
44
52
  }