-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.79 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.79 KB
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
{
"name": "sql2db",
"version": "0.10.1",
"description": "MSSQL 데이터베이스 간 데이터 이관 도구",
"main": "app.js",
"scripts": {
"start": "node app.js",
"start:kr": "echo Please use 실행하기.bat for Korean language",
"migrate": "echo '사용법: npm run migrate -- --query <파일경로>' && node src/migrate-cli.js migrate",
"dry-run": "echo '사용법: npm run dry-run -- --query <파일경로>' && node src/migrate-cli.js migrate --dry-run",
"validate": "echo '사용법: npm run validate -- --query <파일경로>' && node src/migrate-cli.js validate",
"resume": "echo '사용법: npm run resume -- <migration-id> --query <파일경로>' && node src/migrate-cli.js resume",
"progress": "echo '사용법: npm run progress -- <command> [migration-id]' && node src/progress-cli.js",
"test-connections": "node src/migrate-cli.js test",
"list-dbs": "node src/migrate-cli.js list-dbs",
"help": "node src/migrate-cli.js help",
"build": "node -e \"const pkg = require('./package.json'); const { execSync } = require('child_process'); execSync(`pkg app.js --public --compress GZip --target node18-win-x64 --output dist/sql2db-v${pkg.version}.exe`, { stdio: 'inherit' });\"",
"release": "release.bat"
},
"bin": {
"sql2db": "app.js"
},
"pkg": {
"scripts": [
"app.js",
"src/**/*.js"
],
"assets": [
"config/**/*",
"queries/**/*",
"*.md",
".env",
"node_modules/mssql/**/*",
"node_modules/tedious/**/*"
],
"targets": [
"node18-win-x64"
],
"outputPath": "dist",
"ignore": [
"node_modules/open/xdg-open"
]
},
"dependencies": {
"dotenv": "^16.5.0",
"mssql": "^11.0.1",
"xml2js": "^0.6.2"
},
"devDependencies": {
"pkg": "^5.8.1"
}
}