@tomsd/mongodbclient 3.0.8 → 3.0.9
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.
- package/README.md +2 -1
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @tomsd/mongodbclient
|
|
2
2
|
|
|
3
|
-
It's a handy mongodb client for easy-use.
|
|
3
|
+
It's a handy mongodb client for easy-use.
|
|
4
|
+
See [mongodbclient.netlify.app](https://mongodbclient.netlify.app/) for details.
|
|
4
5
|
|
|
5
6
|

|
|
6
7
|

|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomsd/mongodbclient",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "It's a handy mongodb client for easy-use.",
|
|
5
5
|
"main": "dist/cjs/mongodbclient.js",
|
|
6
6
|
"module": "dist/esm/mongodbclient.js",
|
|
@@ -8,15 +8,20 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json",
|
|
10
10
|
"format": "npm run format:src && npm run format:test",
|
|
11
|
+
"format:document": "prettier --write docs/**/*.html",
|
|
11
12
|
"format:src": "prettier --write src/**/*.ts",
|
|
12
13
|
"format:test": "prettier --write test/**/*.ts",
|
|
13
14
|
"lint:src": "eslint src/**/*.ts",
|
|
14
15
|
"lint:test": "eslint test/**/*.ts",
|
|
15
16
|
"prepare": "husky install",
|
|
17
|
+
"serve:doc": "mdbook --serve --directory docs",
|
|
16
18
|
"test": "exit 0",
|
|
17
19
|
"test_with_dburi": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha -r ts-node/register \"test/test.ts\" --timeout 30000"
|
|
18
20
|
},
|
|
19
21
|
"lint-staged": {
|
|
22
|
+
"docs/**/*.html": [
|
|
23
|
+
"npm run format:document"
|
|
24
|
+
],
|
|
20
25
|
"src/**/*.ts": [
|
|
21
26
|
"npm run lint:src",
|
|
22
27
|
"npm run format:src"
|
|
@@ -40,6 +45,7 @@
|
|
|
40
45
|
"uuid": "^8.3.2"
|
|
41
46
|
},
|
|
42
47
|
"devDependencies": {
|
|
48
|
+
"@tomsd/md-book": "^0.16.0",
|
|
43
49
|
"@types/mocha": "^9.1.1",
|
|
44
50
|
"@types/node": "^14.14.5",
|
|
45
51
|
"@types/uuid": "^8.3.4",
|