/
package.json
89 lines (89 loc) · 2.54 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
{
"name": "fakingoose",
"version": "1.4.0",
"description": "Data mocker for mongoose schema",
"repository": {
"type": "git",
"url": "https://github.com/faboulaws/fakingoose.git"
},
"bugs": {
"url": "https://github.com/faboulaws/fakingoose/issues"
},
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"test": "npx mocha test/*",
"test:any": "npm t && npm r mongoose",
"test:all": "npm run lint:fix && npm run test:latest && npm run test:v5 && npm run test:v4",
"test:v3": "npm r mongoose && npm i mongoose@3.x && npm run test:any",
"test:v4": "npm r mongoose && npm i mongoose@4.x && npm run test:any",
"test:v5": "npm r mongoose && npm i mongoose@5.x && npm run test:any",
"test:latest": "npm r mongoose && npm i mongoose && npm run test:any",
"lint": "npx eslint lib/*.js",
"lint:fix": "npm run lint -- --fix",
"version:inc": "npm version patch && git push && git push --tags",
"npm:pub": "npm publish --registry=https://registry.npmjs.org/ --access=public",
"pub": "npm run version:inc && npm run npm:pub",
"coverage": "nyc npm test",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"cover": "npm i mongoose && npm run coverage && npm run coveralls",
"release": "standard-version",
"test:and:release": "npm run test:all && standard-version"
},
"keywords": [
"mongoose",
"mongoose dummy",
"mongoose data mocker",
"mongoose fixture factory ",
"mongoose data generator",
"mongoose data faker"
],
"author": "Lod Lawson-Betum <faboulaws@gmail.com>",
"license": "MIT",
"dependencies": {
"bson-objectid": "^1.3.1",
"chance": "^1.1.5",
"flat": "^5.0.2",
"lodash.get": "^4.4.2",
"lodash.isplainobject": "^4.0.6",
"lodash.merge": "^4.6.2",
"lodash.set": "^4.3.2"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"chai": "^4.2.0",
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"husky": "^4.2.3",
"mocha": "^6.2.2",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^11.6.0",
"standard-version": "^8.0.0"
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
]
},
"greenkeeper": {
"ignore": [
"eslint",
"eslint-plugin-import",
"nyc",
"mocha"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run test:all"
}
}
}