-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
94 lines (94 loc) · 2.34 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
{
"name": "objection-unique",
"version": "1.2.2",
"description": "objection-unique",
"keywords": [
"entity",
"objection",
"objectionjs",
"plugin",
"plugins",
"unique",
"uniqueness",
"valid",
"validate",
"validation",
"validator"
],
"license": "MIT",
"author": {
"name": "Seegno",
"email": "[email protected]",
"url": "https://seegno.com"
},
"repository": {
"type": "git",
"url": "https://github.com/seegno/objection-unique.git"
},
"scripts": {
"changelog": "github_changelog_generator --no-issues --header-label='# Changelog' --future-release=v$npm_config_future_release && sed -i '' -e :a -e '$d;N;2,4ba' -e 'P;D' CHANGELOG.md",
"cover": "jest --coverage --forceExit",
"coveralls": "npm run cover && cat ./coverage/lcov.info | coveralls",
"lint": "eslint src test",
"lint-staged": "lint-staged",
"test": "babel-node test/bin/databaseInitialize.js && jest --forceExit",
"test-watch": "jest --watch --onlyChanged",
"version": "npm run changelog --future-release=$npm_package_version && git add -A CHANGELOG.md"
},
"pre-commit": [
"lint-staged"
],
"dependencies": {
"lodash.castarray": "^4.4.0",
"lodash.compact": "^3.0.1",
"lodash.isempty": "^4.4.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-preset-es2015-node": "^6.1.1",
"babel-preset-stage-1": "^6.24.1",
"coveralls": "^2.13.1",
"eslint": "^3.19.0",
"eslint-config-seegno": "^9.0.0",
"eslint-plugin-jest": "^19.0.1",
"jest": "^20.0.3",
"knex": "^0.13.0",
"lint-staged": "^3.4.1",
"objection": "^1.0.0",
"pre-commit": "^1.2.2",
"sqlite3": "^4.0.6"
},
"peerDependencies": {
"objection": ">=1.0.0"
},
"engines": {
"node": ">=6"
},
"jest": {
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"lcov",
"text"
],
"coveragePathIgnorePatterns": [
"./test/fixtures"
],
"setupTestFrameworkScriptFile": "./test/utils/setup.js",
"testEnvironment": "node",
"testRegex": "(test/.*\\.test.js)$"
},
"lint-staged": {
"index.js": [
"eslint",
"git add",
"jest --findRelatedTests --forceExit"
],
"test/**/*.js": [
"eslint",
"git add",
"jest --findRelatedTests --forceExit"
]
}
}