-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
73 lines (73 loc) · 1.67 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
{
"name": "@yoctol/bookshelf-test-utils",
"description": "Yoctol specific test utils for Bookshelf",
"license": "MIT",
"version": "0.0.12",
"main": "src/index.js",
"files": [
"extend-expect.js",
"migration.js",
"src"
],
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"test": "npm run lint && npm run testonly",
"testonly": "jest --detectOpenHandles --passWithNoTests",
"testonly:cov": "jest --coverage --runInBand --detectOpenHandles --passWithNoTests",
"testonly:watch": "jest --watch",
"preversion": "npm test"
},
"dependencies": {
"faker": "^4.1.0",
"knex": "^0.21.12",
"lodash": "^4.17.20",
"mock-knex": "^0.4.7"
},
"devDependencies": {
"bookshelf": "^0.15.1",
"eslint": "^6.8.0",
"eslint-config-yoctol-base": "^0.21.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"prettier-package-json": "^2.1.3"
},
"keywords": [
"bookshelf",
"test",
"test-utils",
"yoctol"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/src/__tests__/knex",
"<rootDir>/src/__tests__/bookshelf"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"package.json": [
"prettier-package-json --write",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}