-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
74 lines (74 loc) · 2.18 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
{
"name": "knex-repositories",
"version": "4.0.0",
"license": "MIT",
"maintainers": [
{
"name": "Igor Savin",
"email": "[email protected]"
}
],
"description": "Parametrized CRUD repository abstraction for Knex.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"db:start": "docker-compose -f scripts/docker-compose.yml up --build -d mysql postgres mssql && docker-compose -f scripts/docker-compose.yml up waitmssql waitmysql waitpostgres",
"db:stop": "docker-compose -f scripts/docker-compose.yml down",
"test": "jest --config=jest.config.json --runInBand",
"test:mysql": "cross-env DB=mysql jest --config=jest.config.json --runInBand",
"test:postgresql": "cross-env DB=postgres jest --config=jest.config.json --runInBand",
"test:update-snapshots": "jest --config=jest.config.json --runInBand -u",
"test:coverage": "jest --config=jest.config.json --coverage --runInBand",
"test:ci": "npm run lint && npm run test:coverage",
"lint": "eslint \"lib/**/*.ts\" \"test/**/*.ts\"",
"prettier": "prettier --write \"{lib,test}/**/*.{js,ts}\" index.ts",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"knex": "^2.4.2"
},
"devDependencies": {
"@types/jest": "^27.5.2",
"@types/node": "^18.15.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"cross-env": "^7.0.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^27.5.1",
"knex": "^2.4.2",
"knex-utils": "^6.0.0",
"mysql": "^2.18.1",
"mysql2": "^3.2.0",
"pg": "^8.10.0",
"prettier": "^2.8.4",
"sqlite3": "^5.1.4",
"tedious": "^12.2.0",
"ts-jest": "^27.1.5",
"typescript": "4.9.5"
},
"engines": {
"node": ">=12"
},
"homepage": "http://github.com/knex/knex-repositories",
"repository": {
"type": "git",
"url": "git://github.com/knex/knex-repositories.git"
},
"keywords": [
"knex",
"crud",
"repository",
"repositories",
"db",
"database",
"persistence"
],
"files": [
"README.md",
"LICENSE",
"dist/*"
]
}