-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.55 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.55 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
{
"name": "@shelf/postgres-local",
"version": "1.1.2",
"description": "Run Postgres locally",
"keywords": [
"postgres",
"postgres local"
],
"homepage": "https://github.com/shelfio/postgres-local#readme",
"bugs": {
"url": "https://github.com/shelfio/postgres-local/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shelfio/postgres-local.git"
},
"type": "module",
"license": "MIT",
"author": {
"name": "Dmytro Harazdovskyi",
"email": "dmytro.harazdovskyi@shelf.io",
"url": "shelf.io"
},
"files": [
"lib"
],
"main": "./lib/cjs/index.cjs",
"module": "./lib/esm/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.cjs",
"default": "./lib/esm/index.js"
}
},
"scripts": {
"build": "rm -rf lib/ && yarn build:types && yarn clean:test-dts && yarn build:code",
"build:code": "yarn build:cjs && yarn build:esm",
"build:cjs": "babel src --out-dir lib/cjs --ignore '**/*.test.ts' --extensions '.ts' --out-file-extension '.cjs'",
"build:esm": "tsc --project tsconfig.esm.json",
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"clean:test-dts": "find ./lib -name '*.test.d.ts' -delete",
"coverage": "yarn test --coverage",
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"prepack": "yarn build",
"test": "jest src --runInBand",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"babel": {
"extends": "@shelf/babel-config/backend"
},
"prettier": "@shelf/prettier-config",
"dependencies": {
"cwd": "0.10.0",
"debug": "4.3.4",
"postgres": "3.4.3"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@shelf/babel-config": "3.0.0",
"@shelf/eslint-config": "5.2.3",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@types/cwd": "0.10.2",
"@types/debug": "4.1.12",
"@types/jest": "29.5.12",
"@types/node": "16",
"babel-jest": "29.7.0",
"eslint": "9.32.0",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"typescript": "5.3.3"
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{js,ts,json}": [
"eslint --fix"
]
}
}