-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 1.78 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
{
"name": "@yoctol/bookshelf-plugin",
"description": "Yoctol specific plugins for Bookshelf",
"license": "MIT",
"version": "1.0.0",
"main": "src/index.js",
"files": [
"src"
],
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"test": "npm run lint && npm run testonly",
"testonly": "jest --detectOpenHandles",
"testonly:cov": "jest --coverage --runInBand --detectOpenHandles",
"testonly:watch": "jest --watch",
"preversion": "npm test"
},
"dependencies": {
"bookshelf-case-converter-plugin": "^2.0.0",
"bookshelf-json-columns": "^3.0.0",
"bookshelf-modelbase": "^2.11.0",
"bookshelf-virtuals-plugin": "^1.0.0",
"lodash": "^4.17.21"
},
"peerDependencies": {
"bookshelf": ">=1.2.0",
"knex": ">=0.21"
},
"devDependencies": {
"bookshelf": "^1.2.0",
"eslint": "^7.22.0",
"eslint-config-yoctol-base": "^0.23.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"knex": "^0.21.17",
"lint-staged": "^10.5.4",
"mock-knex": "^0.4.9",
"prettier": "^2.2.1",
"prettier-package-json": "^2.1.3",
"sqlite3": "^5.0.2"
},
"keywords": [
"bookshelf",
"plugin",
"yoctol"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/src/__tests__/knex",
"<rootDir>/src/__tests__/bookshelf"
]
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"package.json": [
"prettier-package-json --write"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}