-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
142 lines (142 loc) · 4.82 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "falcon-core",
"version": "0.1.0-4",
"description": "The cross-database ORM that powers falcon",
"main": "es/index.js",
"module": "es/index.js",
"author": "The Falcon Team",
"private": true,
"scripts": {
"build": "lerna run build && rm -rf es && cross-env BABEL_ENV=es NODE_ENV=production babel -d es/ src/ --source-maps && yarn flow-prepublish",
"coverage": "yarn test-sqlite --coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"flow": "flow",
"flow-prepublish": "flow-copy-source src es",
"flow-typed": "flow-typed install",
"lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .",
"lint-fix": "yarn lint --fix; exit 0",
"precommit": "yarn build && yarn flow-prepublish && yarn test && lint-staged",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.js'",
"test": "yarn test-sqlite",
"test-mysql": "cross-env NODE_ENV=test DB_CLIENTS=mysql jest test/*.js --runInBand",
"test-sqlite": "find ./test/databases/sqlite -name \"sqlectron.db\" -type f -delete && cross-env NODE_ENV=test DB_CLIENTS=sqlite jest test/*.js --runInBand",
"test-sqlserver": "find ./test/databases/sqlserver -name \"sqlectron.db\" -type f -delete && cross-env NODE_ENV=test DB_CLIENTS=sqlserver jest test/*.js --runInBand",
"test-postgresql": "find ./test/databases/postgresql -name \"sqlectron.db\" -type f -delete && cross-env NODE_ENV=test DB_CLIENTS=postgresql jest test/*.js --runInBand",
"test-cassandra": "find ./test/databases/cassandra -name \"sqlectron.db\" -type f -delete && cross-env NODE_ENV=test DB_CLIENTS=cassandra jest test/*.js --runInBand",
"test-all": "yarn lint && yarn flow && yarn test && yarn build",
"test-all-dbs": "find ./test/databases/ -name \"sqlectron.db\" -type f -delete && cross-env NODE_ENV=test jest",
"watch": "cross-env NODE_ENV=development babel --out-dir es src --source-maps --watch"
},
"lint-staged": {
"*.(js|jsx)": [
"cross-env NODE_ENV=development eslint --cache --format=node_modules/eslint-formatter-pretty",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.(json|css|scss|md|yml)|.(babelrc|prettierrc|eslintrc)": [
"prettier --ignore-path .eslintignore --write",
"git add"
]
},
"keywords": [
"falcon",
"api",
"sql",
"mysql",
"postgres",
"sqlite",
"sqlite3"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/falcon-client/falcon-core"
},
"files": [
"es"
],
"engines": {
"node": ">=6",
"npm": ">=3"
},
"devEngines": {
"node": ">=8",
"npm": ">=5"
},
"dependencies": {
"@falcon-client/sql-formatter": "^0.0.2-alpha.8",
"@falcon-client/tuql": "0.0.2-alpha.8",
"better-sqlite3": "^4.1.4",
"cassandra-driver": "^3.5.0",
"cors": "^2.8.4",
"debug": "^3.1.0",
"electron-store": "^2.0.0",
"express": "^4.16.3",
"express-graphql": "^0.6.12",
"get-port": "^4.0.0",
"is-valid-path": "^0.1.1",
"joi": "^13.6.0",
"json2csv": "^4.2.1",
"lodash": "^4.17.10",
"mssql": "^4.1.0",
"mysql": "^2.16.0",
"pg": "^7.4.3",
"portfinder": "^1.0.16",
"rndm": "^1.2.0",
"sql-query-identifier": "^1.1.0",
"sqlite-json-export": "0.1.0",
"sqlite3": "^4.0.2",
"ssh2": "^0.6.1",
"util.promisify": "^1.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-plugin-dynamic-import-node": "^2.0.0",
"babel-plugin-flow-runtime": "^0.17.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"conf": "^2.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"dotenv": "^6.0.0",
"eslint": "^5.4.0",
"eslint-config-bliss": "^2.2.0",
"eslint-config-prettier": "^3.0.1",
"eslint-formatter-pretty": "^1.3.0",
"eslint-import-resolver-babel-module": "^4.0.0",
"eslint-plugin-flowtype-errors": "^3.6.1-0",
"eslint-plugin-prettier": "^2.6.2",
"flow-bin": "^0.79.1",
"flow-copy-source": "^2.0.2",
"flow-runtime": "^0.17.0",
"flow-typed": "^2.5.1",
"husky": "^0.14.3",
"jest-cli": "^23.5.0",
"lerna": "^3.1.1",
"lint-staged": "^7.2.2",
"prettier": "^1.14.2",
"rollup": "^0.64.1",
"yarn": "^1.9.4"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/database/provider_clients/SqliteProviderFactory.js"
]
},
"resolutions": {
"graphql": "0.11.7"
},
"workspaces": [
"packages/*"
]
}