-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
73 lines (73 loc) · 1.83 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": "mongoosejs-cli",
"version": "1.0.7",
"description": "A command line interface (CLI) for Mongoose to generate models and migrations ith ease.",
"bin": {
"mongoose": "./lib/mongoose"
},
"homepage": "https://github.com/waptik/mongoose-cli#readme",
"repository": {
"type": "git",
"url": "https://github.com/waptik/mongoose-cli.git"
},
"author": "waptik <[email protected]>",
"license": "MIT",
"private": false,
"bugs": {
"url": "https://github.com/waptik/mongoose-cli/issues"
},
"keywords": [
"mongoose",
"cli",
"mongodb",
"migrations"
],
"eslintIgnore": [
"src/assets"
],
"scripts": {
"babel": "babel-node",
"build": "npm run build-clean && babel src -d lib && npm run build-bin && npm run build-assets",
"build-bin": "mv ./lib/mongoose.js ./lib/mongoose && chmod +x ./lib/mongoose",
"build-assets": "cp -R ./src/assets ./lib/",
"build-clean": "rm -rf ./lib/",
"lint": "eslint test src --quiet --fix",
"test": "npm run lint && npm run build"
},
"dependencies": {
"bluebird": "^3.5.5",
"cli-color": "^1.4.0",
"fs-extra": "^8.0.1",
"js-beautify": "^1.10.0",
"lodash": "^4.17.11",
"resolve": "^1.11.0",
"umzug": "^2.2.0",
"yargs": "^14.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-async-to-module-method": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"eslint": "^6.0.0",
"husky": "^4.0.2",
"lint-staged": "^9.2.1",
"mongoose": "^5.5.12",
"prettier": "^1.17.1"
},
"engines": {
"node": ">=6.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/*.js": [
"prettier --write",
"git add"
]
}
}