forked from emmanuelbuah/mgdb-migrator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.97 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
95
96
97
98
99
100
{
"name": "mgdb-migrator",
"version": "3.1.1",
"description": "Mongodb schema and data migration lib",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"scripts": {
"build:watch": "rm -rf dist && tsc -w",
"build": "tsc",
"docker:down": "docker-compose down",
"docker:start": "npm run build && docker-compose up mgdb-migrator-dev || true",
"docker:test": "npm run build && docker-compose up mgdb-migrator-test || true",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"prepare": "npm run lint && npm run build",
"prestart": "npm run lint && npm run build:watch & sleep 12s",
"prettier": "prettier ./**/*.{js,json,html,md,yml,ts}",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"start": "npm run test",
"test:debug:watch": "node --inspect=0.0.0.0:5857 node_modules/.bin/jest dist/* --coverage --useStderr",
"test:debug": "node --inspect=0.0.0.0:5857 node_modules/.bin/jest dist/* --coverage --useStderr --forceExit",
"test:watch": "jest dist/* --watchAll --useStderr --coverage",
"test": "jest dist/* --coverage --useStderr --forceExit"
},
"author": "Emmanuel Buah <[email protected]> (https://twitter.com/emmanuelbuah)",
"repository": {
"type": "git",
"url": "https://github.com/emmanuelbuah/mgdb-migrator"
},
"bugs": {
"url": "https://github.com/emmanuelbuah/mgdb-migrator/issues"
},
"keywords": [
"mongo",
"mongodb",
"migration"
],
"license": "ISC",
"engines": {
"node": ">=7.10.0"
},
"devDependencies": {
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "13.2.0",
"@types/jest": "27.0.2",
"@types/lodash": "4.14.176",
"@types/node": "16.11.6",
"@typescript-eslint/eslint-plugin": "4.28.4",
"@typescript-eslint/parser": "4.28.4",
"eslint": "7.31.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-prettier": "3.4.0",
"husky": "4.2.5",
"jest": "27.3.1",
"lint-staged": "11.0.1",
"prettier": "2.4.1",
"typescript": "4.4.4"
},
"dependencies": {
"@types/bluebird": "3.5.36",
"lodash": "4.17.21",
"mongodb": "4.1.3",
"type-check": "0.4.0"
},
"jest": {
"testEnvironment": "node",
"testRegex": "dist/test/*.+(spec|int|unit)\\.js$",
"verbose": true
},
"prettier": {
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "ignore",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"src/**/*.+(ts|tsx|js|jsx|json|yml|md)": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}