-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
executable file
·35 lines (35 loc) · 1.63 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
{
"name": "sgbusdata",
"version": "1.0.0",
"description": "Singapore Bus data",
"scripts": {
"cleanup": "del data/v1/raw/services/** && del data/v1/patch/*.cm.json && del data/v1/patch/*.om.json",
"fetch": "node scripts/fetch-bus-stops && node scripts/fetch-bus-services && node scripts/fetch-bus-services-routes",
"datamall": "node scripts/fetch-bus-stops-datamall && node scripts/fetch-bus-routes-datamall",
"patch": "node scripts/patch-missing-routes && node scripts/patch-multiline-routes && node scripts/patch-bus-stop-names",
"generate": "node scripts/generate-data && node scripts/generate-data.firstlast",
"changes": "echo \"$(node scripts/changes)\n\n$(cat CHANGELOG.md)\" > CHANGELOG.md",
"last-updated": "node -e \"require('./utils').writeFile('./data/v1/last-updated.txt', new Date().toJSON());\"",
"build": "npm run cleanup && npm run fetch",
"postbuild": "git diff --diff-filter=AM --quiet data; nochanges=$?; if [ $nochanges -eq 0 ]; then git checkout data && echo '✨ No Changes ✨'; else npm run datamall && npm run patch && npm run generate && npm run changes && npm run last-updated; fi;"
},
"author": "Lim Chee Aun <[email protected]>",
"license": "ISC",
"dependencies": {
"@mapbox/polyline": "~1.1.1",
"@tmcw/togeojson": "~4.4.0",
"@turf/helpers": "~6.3.0",
"del-cli": "~4.0.1",
"dotenv": "~10.0.0",
"fast-xml-parser": "~3.19.0",
"fastest-validator": "~1.10.1",
"form-data": "~4.0.0",
"got": "~11.8.3",
"he": "~1.2.0",
"hyperdiff": "~2.0.8",
"just-diff": "~3.1.1",
"simplify-js": "~1.2.4",
"sort-keys": "~4.2.0",
"xmldom": "~0.5.0"
}
}