-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
101 lines (101 loc) · 2.52 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
{
"name": "ts-migrate-mongoose",
"version": "3.8.7",
"description": "A node/typescript based migration framework for mongoose",
"author": "Alex Eagle",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/ilovepixelart/ts-migrate-mongoose.git"
},
"bugs": {
"url": "https://github.com/ilovepixelart/ts-migrate-mongoose/issues"
},
"homepage": "https://github.com/ilovepixelart/ts-migrate-mongoose#readme",
"directories": {
"examples": "examples"
},
"keywords": [
"backend",
"migrate",
"migration",
"migrations",
"mongoose",
"mongodb",
"mongo",
"schema",
"db",
"nosql",
"ts",
"typescript",
"swc",
"cli",
"cli-app",
"cli-tool",
"programmatic"
],
"engines": {
"node": ">=16"
},
"files": [
"dist",
"src",
"tests",
".swcrc",
"tsconfig.json",
"jest.config.ts",
"jest-mongodb-config.ts",
"biome.json"
],
"bin": {
"migrate": "dist/cjs/bin.js"
},
"exports": {
".": {
"import": {
"types": "./dist/esm/types/migrator.d.ts",
"default": "./dist/esm/migrator.js"
},
"require": {
"types": "./dist/cjs/types/migrator.d.ts",
"default": "./dist/cjs/migrator.js"
}
}
},
"main": "dist/cjs/migrator.js",
"module": "dist/esm/migrator.js",
"types": "dist/cjs/types/migrator.d.ts",
"scripts": {
"prepublish": "bash/chmod.sh",
"migrate": "node -r @swc-node/register src/bin.ts",
"biome": "npx @biomejs/biome check",
"biome:fix": "npx @biomejs/biome check --write .",
"test": "jest --config jest.config.ts --detectOpenHandles --coverage",
"test:open": "npm run test && open-cli coverage/lcov-report/index.html",
"clean": "rm -rf ./dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm && bash/chmod.sh",
"build:cjs": "tsc -p config/tsconfig.cjs.json",
"build:esm": "tsc -p config/tsconfig.esm.json && bash/esm.sh",
"release": "npm install && npm run biome && npm run build && np"
},
"dependencies": {
"@swc-node/register": "1.10.9",
"chalk": "4.1.2",
"commander": "12.1.0",
"dotenv": "16.4.7",
"inquirer": "8.2.6",
"mongoose": "8.9.2"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@shelf/jest-mongodb": "4.3.2",
"@swc-node/jest": "1.8.12",
"@types/inquirer": "8.2.6",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"jest": "29.7.0",
"merge": "2.1.1",
"open-cli": "8.0.0",
"typescript": "5.7.2"
}
}