forked from gajus/database-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.36 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
{
"author": {
"email": "[email protected]",
"name": "Gajus Kuizinas",
"url": "http://gajus.com"
},
"ava": {
"babel": "inherit",
"require": [
"babel-register"
]
},
"bin": "./dist/bin/index.js",
"dependencies": {
"@wwwouter/typed-knex": "^3.1.0",
"debug": "^3.1.0",
"es6-error": "^4.0.2",
"lodash": "^4.17.20",
"slonik": "^27.1.0",
"yargs": "^10.0.3"
},
"description": "A generic type generator for various databases.",
"devDependencies": {
"ava": "^0.23.0",
"babel-cli": "^6.26.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"coveralls": "^3.0.0",
"eslint": "^4.11.0",
"eslint-config-canonical": "^9.3.1",
"flow-bin": "^0.125.1",
"husky": "^0.14.3",
"nyc": "^11.3.0",
"semantic-release": "^8.2.0"
},
"engines": {
"node": ">=6"
},
"keywords": [
"flowtype",
"postgres"
],
"license": "BSD-3-Clause",
"main": "./dist/index.js",
"name": "database-types",
"nyc": {
"include": [
"src/**/*.js"
],
"instrument": false,
"reporter": [
"text-lcov"
],
"require": [
"babel-register"
],
"sourceMap": false
},
"repository": {
"type": "git",
"url": "https://github.com/gajus/database-types"
},
"scripts": {
"build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps",
"lint": "eslint ./src ./test && flow",
"test": "ava --verbose",
"test:flow": "yarn build && node dist/bin/index.js generate-types --dialect=flow --schema=geminirubber --database-connection-uri=postgres://haroldwaste:[email protected]/haroldwaste > PSQLTypesFlor.js",
"test:typescript": "yarn build && node dist/bin/index.js generate-types --dialect=typescript --schema=geminirubber --database-connection-uri=postgres://haroldwaste:[email protected]/haroldwaste > PSQLTypescript.d.ts",
"test:class/table": "yarn build && node dist/bin/index.js generate-types --dialect=class/table --schema=geminirubber --typeNameFormatter='return \"Table\" + _.upperFirst(_.camelCase(tableName))' --database-connection-uri=postgres://haroldwaste:[email protected]/haroldwaste > PSQLTable.ts"
},
"version": "1.0.2"
}