/
package.json
82 lines (82 loc) · 1.99 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
{
"name": "objection-filter",
"version": "4.4.0",
"description": "A filter module for objection.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=14"
},
"scripts": {
"build": "tsc",
"pretest": "yarn run build",
"test": "cross-env NODE_ENV=test nyc mocha --exit --slow 10 --timeout 5000 --reporter spec test/*.test.js test/**/*.test.js",
"test-target": "cross-env NODE_ENV=test nyc mocha --slow 10 --timeout 5000 --reporter spec",
"prepublish": "yarn run build",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint",
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/tandg-digital/objection-filter"
},
"keywords": [
"objection",
"orm",
"filter",
"rest",
"api"
],
"author": "jeff3yan",
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"devDependencies": {
"@types/lodash": "^4.14.155",
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"bluebird": "^3.5.1",
"chai": "^4.1.2",
"coveralls": "^3.0.9",
"cross-env": "^7.0.2",
"eslint": "^8.16.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.13.0",
"husky": "^8.0.1",
"knex": "2.1.0",
"lint-staged": "^12.4.2",
"mocha": "^10.0.0",
"mysql2": "^2.3.3",
"nyc": "^15.0.0",
"objection": "^3.0.1",
"pg": "^8.7.3",
"prettier": "^2.6.2",
"sqlite3": "^5.0.0",
"typescript": "^4.7.2"
},
"dependencies": {
"debug": "^4.3.4",
"lodash": "^4.17.5"
},
"peerDependencies": {
"objection": "^2.1.2 || ^3.0.0"
}
}