-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
63 lines (63 loc) · 1.81 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
{
"name": "pg-ts",
"version": "10.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "src/index.ts",
"repository": "https://github.com/musicglue/pg-ts",
"author": "Music Glue",
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run compile && mv ./build/src ./dist && rm -rf ./build",
"clean": "rm -rf ./{build,dist}",
"compile": "NODE_ENV=production tsc -p .",
"format": "npm run lint && npm run pretty && npm run lint",
"lint": "tslint -c tslint.json -p tsconfig.json --fix '{src,tests}/**/*.{ts,tsx}'",
"pretty": "prettier --write --list-different --parser ${npm_package_prettier_parser} --trailing-comma ${npm_package_prettier_trailingComma} --print-width ${npm_package_prettier_printWidth} '{src,tests}/**/*.ts'",
"prepublishOnly": "npm run build",
"test": "NODE_ENV=test jest --runInBand"
},
"dependencies": {
"fp-ts": "1.8.0",
"io-ts": "1.3.0",
"lodash": "4.17.11",
"monocle-ts": "1.2.0",
"pg": "^8.2.1",
"postgres-array": "^2.0.0"
},
"devDependencies": {
"@types/jest": "23.3.9",
"@types/lodash": "4.14.118",
"@types/pg": "^7.14.3",
"jest": "23.6.0",
"pg-connection-string": "2.0.0",
"prettier": "1.15.2",
"ts-jest": "23.10.4",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"typescript": "3.1.6"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage",
"coveragePathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"testRegex": "/tests/.*\\.test\\.ts$",
"transform": {
"\\.(ts|tsx)$": "ts-jest"
}
},
"prettier": {
"parser": "typescript",
"printWidth": 100,
"trailingComma": "all"
}
}