-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@telar/mongo",
"version": "1.0.2",
"description": "Telar mongo in JavaScript.",
"main": "index.js",
"module": "esm/index.js",
"scripts": {
"test": "jest --config jestconfig.json --coverage --maxWorkers=10 --detectOpenHandles --forceExit",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"postbuild": "cp package.json dist/ && cp README.md dist/",
"prepublishOnly": "cp -r ./dist/* . && rm -rf ./dist",
"postpublish": "git clean -fd",
"lint": "eslint . --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"lint:fix": "eslint . --ext .ts --fix",
"commit": "git-cz"
},
"publishConfig": {
"access": "public",
"branches": [
"master"
]
},
"pre-commit": [
"lint"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,__mocks__,bin}/**/*.ts": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"release": {
"prepare": [
{
"path": "@semantic-release/changelog"
},
[
"@semantic-release/exec",
{
"prepareCmd": "npx replace-json-property package.json version ${nextRelease.version}"
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "dist"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/telarpress/telar-mongo-js.git"
},
"keywords": [
"telar",
"mongo",
"telar-mongo",
"telar-core"
],
"author": "Amir Movahedi <amir.gholzam@live.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/telarpress/telar-mongo-js/issues"
},
"homepage": "https://github.com/telarpress/telar-mongo-js#readme",
"dependencies": {
"mongo-heartbeat": "^2.0.1",
"mongodb": "^3.6.2",
"uuid": "^8.3.1"
},
"peerDependencies": {
"@telar/core": ">=1.4.0"
},
"devDependencies": {
"@telar/core": "^1.4.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/prompt": "^11.0.0",
"@shelf/jest-mongodb": "^1.2.3",
"@types/jest": "^26.0.15",
"@types/mongodb": "^3.5.32",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"commitizen": "^4.2.2",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.6.1",
"lint-staged": "^10.5.3",
"prettier": "^2.1.2",
"ts-jest": "^26.4.2",
"typescript": "^4.0.3"
}
}