-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
84 lines (84 loc) · 2.13 KB
/
package.json
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
{
"name": "knex-mock-client",
"version": "3.0.2",
"description": "A mock client for knex which allows you to write tests with DB interactions",
"homepage": "https://github.com/felixmosh/knex-mock-client#readme",
"bugs": {
"url": "https://github.com/felixmosh/knex-mock-client/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/felixmosh/knex-mock-client.git"
},
"license": "MIT",
"author": "felixmosh",
"main": "dist/index.js",
"files": [
"dist",
"types"
],
"scripts": {
"start": "ts-node-dev src/index.ts",
"build": "rm -rf dist && tsc",
"lint": "eslint {src,tests,types}/**/*.ts",
"test": "jest test",
"version": "auto-changelog -p && git add CHANGELOG.md",
"release": "release-it --only-version",
"prepare": "npm run build"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
]
},
"dependencies": {
"lodash.clonedeep": "^4.5.0"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@tsconfig/node18": "^18.2.4",
"@types/jest": "^29.5.12",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^18.19.34",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"auto-changelog": "^2.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"knex": "^3.1.0",
"lint-staged": "^15.2.5",
"prettier": "^3.3.0",
"release-it": "^16.3.0",
"ts-jest": "^29.1.4",
"ts-node-dev": "^2.0.0",
"typescript": "^5.4.5"
},
"peerDependencies": {
"knex": ">=2.0.0"
},
"engines": {
"node": ">=16"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"before:init": [
"yarn lint",
"yarn test"
],
"after:bump": [
"npx auto-changelog -p",
"yarn build"
]
},
"github": {
"release": true
}
}
}