forked from salsita/node-pg-migrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.88 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "node-pg-migrate",
"version": "3.2.0",
"description": "Postgresql database migration management tool for node.js",
"author": "Theo Ephraim",
"contributors": [
"Jan Doležel <[email protected]> (http://www.eithel.net/)"
],
"bin": {
"node-pg-migrate": "bin/node-pg-migrate"
},
"main": "dist/runner.js",
"types": "index.d.ts",
"keywords": [
"db",
"database",
"migrate",
"migration",
"migrations",
"migrator",
"db-migrate",
"sql",
"pg",
"postgre",
"postgres",
"postgresql",
"extensible",
"expandable",
"programatic",
"programable",
"api"
],
"engines": {
"node": ">=4.0.0"
},
"bugs": {
"url": "https://github.com/salsita/node-pg-migrate/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/salsita/node-pg-migrate.git"
},
"dependencies": {
"@types/pg": "^7.4.5",
"lodash": "~4.17.0",
"mkdirp": "~0.5.1",
"yargs": "~11.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-plugin-rewire": "^1.1.0",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-3": "^6.24.0",
"chai": "^4.1.0",
"chai-as-promised": "^7.1.0",
"config": ">=1.0.0",
"cross-env": "^5.0.0",
"dotenv": ">=1.0.0",
"eslint": "^4.8.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-security": "^1.4.0",
"husky": "^0.14.3",
"lint-staged": "^7.0.0",
"mocha": "^5.0.0",
"pg": "^7.3.0",
"prettier": "^1.11.1",
"sinon": "^4.0.0",
"sinon-chai": "^3.0.0"
},
"peerDependencies": {
"pg": ">=4.3.0 <8.0.0"
},
"optionalDependencies": {
"config": ">=1.0.0",
"dotenv": ">=1.0.0"
},
"scripts": {
"precommit": "lint-staged",
"compile": "babel lib/ -d dist/ && cp lib/migration-template.* dist/",
"test:mocha": "cross-env NODE_ENV=test mocha --opts ./mocha.opts test",
"migrate": "babel-node bin/node-pg-migrate",
"migrate:postgres":
"DATABASE_URL=$DATABASE_URL_POSTGRES npm run migrate -- -m test/migrations",
"migrate:cockroach":
"DATABASE_URL=$DATABASE_URL_COCKROACH npm run migrate -- -m test/cockroach -s '' --migrations-schema circle_test --no-lock",
"test:postgres":
"npm run migrate:postgres up && npm run migrate:postgres down 0 -- --timestamps",
"test:cockroach":
"npm run migrate:cockroach up && npm run migrate:cockroach down 0 -- --timestamp",
"test":
"npm run test:mocha && npm run test:postgres && npm run test:cockroach",
"lint": "eslint -c eslintrc.js . bin/*",
"lintfix": "npm run lint -- --fix",
"prepare": "npm run compile"
},
"lint-staged": {
"*.js": ["npm run lintfix", "git add"],
"*.{json,md}": ["prettier --write", "git add"]
}
}