-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.03 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": "@shelf/jest-postgres",
"version": "1.2.1",
"private": false,
"description": "Run your tests using Jest & Postgres",
"keywords": [
"jest",
"jest environment",
"jest preset",
"postgres",
"postgres local"
],
"repository": "shelfio/jest-postgres",
"license": "MIT",
"author": {
"name": "Dmytro Harazdovskyi",
"email": "[email protected]",
"url": "shelf.io"
},
"files": [
"jest-preset.js",
"lib/"
],
"scripts": {
"build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'",
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"prepack": "yarn build",
"test": "jest",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{ts,js,json}": [
"eslint --fix"
]
},
"babel": {
"extends": "@shelf/babel-config/backend"
},
"prettier": "@shelf/prettier-config",
"jest": {
"preset": "./jest-preset.js"
},
"dependencies": {
"@shelf/postgres-local": "1.0.6",
"cwd": "0.10.0"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@shelf/babel-config": "3.0.0",
"@shelf/eslint-config": "3.15.1",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@types/cwd": "0.10.2",
"@types/jest": "29.5.12",
"@types/node": "18",
"cwd": "0.10.0",
"eslint": "8.56.0",
"eslint-plugin-prettier": "5.1.3",
"husky": "8.0.3",
"jest": "29.7.0",
"knex": "3.1.0",
"lint-staged": "15.2.2",
"pg": "8.11.3",
"prettier": "3.2.5",
"typescript": "5.3.3"
},
"peerDependencies": {
"jest-environment-node": "27.x.x || 28.x || 29.x",
"pg": "*"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}