-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
29 lines (29 loc) · 1.25 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
{
"name": "cts-jobs-data",
"version": "1.0.0",
"description": "A set of scripts for reading and saving job posting data to a SQLite database",
"main": "src/index.js",
"engines": {
"node": ">= 18"
},
"scripts": {
"export:latest": "npm run export:jobs:latest && npm run export:companies:latest",
"export:jobs:latest": "./src/bin/export-latest.bash ../cts-new-site/ jobs ../cts-new-site/_data/database.db",
"export:companies:latest": "./src/bin/export-latest.bash ../cts-new-site/ companies ../cts-new-site/_data/database.db",
"load:latest": "npm run load:companies:latest && npm run load:jobs:latest && npm run csv:export",
"load:jobs:latest": "./src/bin/cts.js jobs ../cts-new-site/_data/jobs.yml ../cts-new-site/_data/database.db",
"load:companies:latest": "./src/bin/cts.js companies ../cts-new-site/_data/companies.yml ../cts-new-site/_data/database.db",
"csv:export": "./src/bin/cts.js csv ../cts-new-site/_data/database.db ../cts-new-site/_data/job_mostings.csv"
},
"author": "Tim Oram <[email protected]>",
"license": "ISC",
"dependencies": {
"csv-stringify": "^6.2.3",
"fs-extra": "^8.0.1",
"js-yaml": "^3.13.1",
"moment": "^2.24.0",
"sqlite": "^4.1.2",
"sqlite3": "^5.1.2",
"yargs": "^13.2.4"
}
}