-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
71 lines (71 loc) · 2.29 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
{
"name": "postgres-migrations",
"version": "5.3.0",
"description": "Stack Overflow style database migrations for PostgreSQL",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"pg-validate-migrations": "./dist/bin/validate.js"
},
"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": ">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": "^8.6.0",
"sql-template-strings": "^2.2.2"
},
"devDependencies": {
"@types/node": "^10.17.60",
"@types/pg": "^8.6.0",
"@types/sinon": "^9.0.11",
"ava": "^3.15.0",
"fit-commit-js": "^0.3.2",
"husky": "^3.1.0",
"prettier": "^2.3.1",
"sinon": "^9.2.4",
"ts-node": "^10.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.3.4",
"typescript-tslint-plugin": "^1.0.1"
}
}