forked from ThomWright/postgres-migrations
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.15 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
{
"name": "postgres-migrations",
"version": "3.0.2",
"description": "Stack Overflow style database migrations for PostgreSQL",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Thom Wright",
"keywords": [
"postgres",
"postgresql",
"migration",
"migrations",
"sql",
"database",
"db"
],
"homepage": "https://github.com/thomwright/postgres-migrations#readme",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:thomwright/postgres-migrations.git"
},
"bugs": {
"url": "https://github.com/thomwright/postgres-migrations/issues"
},
"engines": {
"node": ">8.9.3"
},
"scripts": {
"check-formatting": "./node_modules/.bin/prettier '**/*.ts' --list-different",
"fix-formatting": "./node_modules/.bin/prettier '**/*.ts' --write",
"lint": "npm run tslint && npm run check-formatting",
"tslint": "tslint 'src/**/*.ts' --type-check --project tsconfig.json --format verbose",
"test-integration": "ava",
"test-unit": "ava src/**/__unit__/**/*.ts",
"test": "npm run test-unit && npm run lint && npm run test-integration",
"preversion": "npm test",
"build": "rm -rf ./dist && rsync -a --exclude='*.ts' --exclude='__tests__' --prune-empty-dirs src/ dist/ && tsc --project tsconfig-build.json"
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/fit-commit-js/lib/hook.js .git/COMMIT_EDITMSG",
"pre-commit": "npm run lint",
"pre-push": "npm test"
}
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"dependencies": {
"pg": "^7.9.0",
"pgtools": "^0.3",
"sql-template-strings": "^2.2.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.26",
"@types/node": "^8.10.45",
"@types/pg": "^7.4.14",
"@types/sinon": "^7.0.11",
"ava": "^1.4.1",
"fit-commit-js": "^0.3.2",
"husky": "^1.3.1",
"prettier": "^1.16.4",
"sinon": "^7.3.1",
"ts-node": "^8.0.3",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.2",
"typescript-tslint-plugin": "^0.3.1"
}
}