forked from planarnetwork/dtd2mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.91 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.91 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
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
{
"name": "@assertis/dtd2mysql",
"version": "6.15.1",
"description": "Command line tool to put the GB rail DTD feed into a MySQL compatible database",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"dtd2mysql": "bin/dtd2mysql.sh"
},
"scripts": {
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"gtest": "mocha --require ts-node/register 'test/**/*.spec.ts' --grep",
"watch-test": "mocha -w --require ts-node/register 'test/**/*.spec.ts'",
"start": "ts-node ./src/index.ts",
"prepublishOnly": "tsc -p ./ --outDir dist/ && cp -r config/timetable/data dist/config/timetable/data",
"gtfs": "NODE_OPTIONS='--max-old-space-size=3000' ts-node ./src/index.ts --gtfs",
"gtfs-import": "NODE_OPTIONS='--max-old-space-size=3000' ts-node ./src/index.ts --gtfs-import",
"gtfs-zip": "NODE_OPTIONS='--max-old-space-size=3000' ts-node ./src/index.ts --gtfs-zip",
"download-x-files": "NODE_OPTIONS='--max-old-space-size=3000' ts-node ./src/index.ts --download-x-files",
"x-files": "NODE_OPTIONS='--max-old-space-size=3000' ts-node ./src/index.ts --get-x-files-in-transaction",
"timetable": "SFTP_USERNAME=linusnorton SFTP_PASSWORD=#!weeklyDownload1 DATABASE_NAME=${DATABASE_NAME_TIMETABLE:-timetable} ts-node ./src/index.ts --get-timetable",
"fares-update": "SFTP_USERNAME=linusnorton SFTP_PASSWORD=#!weeklyDownload1 DATABASE_NAME=${DATABASE_NAME_FARES:-fares} ts-node ./src/index.ts --get-fares",
"fares-clean": "DATABASE_NAME=${DATABASE_NAME_FARES:-fares} ts-node ./src/index.ts --fares-clean",
"dataVersion": "ts-node ./src/dataVersion.ts",
"dev": "ts-node ./src/dev.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-track/dtd2mysql.git"
},
"keywords": [
"gb",
"rail",
"etl",
"fares",
"routeing",
"timetable",
"dtd"
],
"author": "Linus Norton",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/open-track/dtd2mysql/issues"
},
"homepage": "https://github.com/open-track/dtd2mysql#readme",
"dependencies": {
"adm-zip": "^0.4.11",
"aws-sdk": "^2.395.0",
"byline": "^5.0.0",
"csv-write-stream": "^2.0.0",
"fs-extra": "^7.0.0",
"js-joda": "^1.9.3",
"line-by-line": "^0.1.6",
"memoized-class-decorator": "^1.6.1",
"moment": "^2.23.0",
"mysql2": "^1.6.1",
"proxy-agent": "^3.0.3",
"ssh2": "^0.6.1",
"ssh2-streams": "^0.2.1",
"stream-to-promise": "^2.2.0",
"xml-flow": "^1.0.2"
},
"engines": {
"node": "^10.0.0"
},
"devDependencies": {
"@types/byline": "^4.2.31",
"@types/chai": "^4.1.7",
"@types/fs-extra": "^5.0.4",
"@types/mocha": "^5.2.5",
"@types/mysql2": "github:types/mysql2",
"@types/ssh2": "^0.5.37",
"@types/ssh2-streams": "^0.1.4",
"@types/stream-to-promise": "^2.2.0",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"ts-node": "^7.0.1",
"typescript": "^3.2.2"
}
}