-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
102 lines (102 loc) · 2.98 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
101
102
{
"name": "mgdb-migrator",
"version": "6.0.0",
"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": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run prettier:write && npm run eslint:fix",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"prepare": "husky && 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": {
"name": "Airfordable",
"email": "engineering@airfordable.com",
"url": "https://github.com/Airfordable"
},
"repository": {
"type": "git",
"url": "https://github.com/Airfordable/mgdb-migrator"
},
"bugs": {
"url": "https://github.com/Airfordable/mgdb-migrator/issues"
},
"contributors": [
"Emmanuel Buah <emmanuelbuah@gmail.com> (https://twitter.com/emmanuelbuah)"
],
"keywords": [
"mongo",
"mongodb",
"migration"
],
"license": "ISC",
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.14",
"@types/node": "22.10.6",
"eslint": "9.18.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.3.0",
"mongodb": "6.12.0",
"prettier": "3.4.2",
"typescript": "5.7.3",
"typescript-eslint": "8.20.0"
},
"dependencies": {
"lodash": "4.17.21"
},
"peerDependencies": {
"mongodb": "^5 || ^6"
},
"jest": {
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|(\\.|/)(unit|int))\\.js$",
"verbose": true
},
"prettier": {
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "ignore",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"src/**/*.+(ts|tsx|js|jsx|json|yml|md)": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}