forked from ThomWright/postgres-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.25 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
{
"name": "postgres-migrations",
"version": "4.0.3",
"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": "git@github.com:thomwright/postgres-migrations.git"
},
"bugs": {
"url": "https://github.com/thomwright/postgres-migrations/issues"
},
"engines": {
"node": ">10.17.0"
},
"scripts": {
"checkPushed": "[ \"$(git rev-list --count @{upstream}..HEAD)\" -eq 0 ] || (echo You have unpushed commits && exit 1)",
"prepublishOnly": "npm run checkPushed && npm test && npm run build",
"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 --config ava.config.integration.cjs",
"test-unit": "ava --config ava.config.unit.cjs",
"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__' --exclude='__unit__' --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"
}
},
"dependencies": {
"pg": "^7.18.2",
"sql-template-strings": "^2.2.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.30",
"@types/node": "^10.17.18",
"@types/pg": "^7.14.3",
"@types/sinon": "^9.0.0",
"ava": "^3.6.0",
"fit-commit-js": "^0.3.2",
"husky": "^3.1.0",
"prettier": "^2.0.4",
"sinon": "^9.0.1",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.8.3",
"typescript-tslint-plugin": "^0.5.5"
}
}