-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
66 lines (66 loc) · 12.9 KB
/
deno.json
File metadata and controls
66 lines (66 loc) · 12.9 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
{
"tasks": {
"setup": "dataset init people.ds ; dataset init groups.ds ; dataset init funders.ds ; dataset init journals.ds ; dataset init doi_prefix.ds ; dataset init subjects.ds ; dataset init test.ds ; dataset init reports.ds ; dataset init thesis_options.ds ; dataset init ror.ds ",
"cold_api": "datasetd cold_api.yaml",
"cold_api_debug": "datasetd -debug cold_api.yaml",
"cold": "deno run --watch --allow-read --allow-net --watch cold.ts --htdocs=./htdocs --baseUrl=http://localhost:8111",
"cold_api_debug": "datasetd --debug cold_api.yaml",
"cold_debug": "deno run --watch --allow-read --allow-net --watch cold.ts --htdocs=./htdocs --baseUrl=http://localhost:8111 --debug",
"cold_reports": "deno run --watch --allow-all cold_reports.ts",
"reset_data": "dsquery groups.ds 'delete from groups' ; dsquery people.ds 'delete from people' ; dsquery funders.ds 'delete from funders' ; dsquery journals.ds 'delete from journals'",
"load_data": "deno task import_groups_csv ; deno task import_people_csv ; deno task import_journals_journal_publisher_csv",
"reload_data": "deno task reset_data ; deno task load_data",
"test_dataset": "dsquery test.ds 'delete from test' ; deno test --allow-net dataset_test.ts",
"check": "deno check cold.ts ; deno check ds_importer.ts ; deno check directory_sync.ts ; deno check division_people.ts ; deno check cold_reports.ts ; deno check journal_vocabulary.ts ; deno check group_vocabulary.ts ; deno check ror_import.ts",
"dev": "deno run --allow-read --allow-net --watch cold.ts --htdocs=./htdocs",
"reload_dev": "deno run --allow-read --allow-net --reload --write-lock --watch cold.ts --htdocs=./htdocs",
"start": "deno run --allow-read --allow-net cold.ts",
"build": "deno task cold.ts ; deno task directory_sync.ts ; deno task cold_reports.ts ; deno task journal_vocabulary.ts ; deno task group_vocabulary.ts ; deno task people_vocabulary.ts ; deno task division_people.ts ; deno task thesis_option_vocabulary.ts ; deno task ror_import.ts ; deno task cold_api_test.ts ; deno task generate_collaborator_rpt.ts",
"cold.ts": "deno compile --allow-read --allow-net --output bin/cold cold.ts",
"directory_sync.ts": "deno compile --allow-read --allow-net --output bin/directory_sync directory_sync.ts",
"division_people.ts": "deno compile --allow-read --allow-write --allow-net --output bin/division_people division_people.ts",
"cold_reports.ts": "deno compile --allow-all --output bin/cold_reports cold_reports.ts",
"journal_vocabulary.ts": "deno compile --allow-net --output bin/journal_vocabulary journal_vocabulary.ts",
"group_vocabulary.ts": "deno compile --allow-net --output bin/group_vocabulary group_vocabulary.ts",
"people_vocabulary.ts": "deno compile --allow-net --output bin/people_vocabulary people_vocabulary.ts",
"generate_collaborator_rpt.ts": "deno compile --allow-net --allow-env --output bin/generate_collaborator_rpt generate_collaborator_rpt.ts",
"thesis_option_vocabulary.ts": "deno compile --allow-net --output bin/thesis_option_vocabulary thesis_option_vocabulary.ts",
"ror_import.ts": "deno compile --allow-net --allow-read --allow-run --output bin/ror_import ror_import.ts",
"cold_api_test.ts": "deno compile --allow-net --output bin/cold_api_test cold_api_test.ts",
"htdocs": "deno run --allow-net --allow-read --allow-env --allow-write=htdocs --allow-import build.ts ; deno bundle --config tsconfig.json validator.ts client_api.ts collaborator_report.ts --outdir htdocs/modules/ ; deno bundle --config tsconfig.json client_api.ts rdm_review_queue.ts --outdir htdocs/modules/",
"test": "dsquery test.ds 'delete from test' ; deno test --allow-net dataset_test.ts ; deno test options_test.ts ; deno test config_test.ts ; deno test people_test.ts ; deno test groups_test.ts ; deno test cold_test.ts ",
"import_people_csv": "deno run --allow-read --allow-net ds_importer.ts people.ds people.csv",
"import_groups_csv": "deno run --allow-read --allow-net ds_importer.ts groups.ds groups.csv",
"set_include_in_feeds": "deno run --allow-read --allow-net set_include_in_feeds.ts people.ds people_in_feeds.csv",
"import_journals_journal_publisher_csv": "deno run --allow-read --allow-net ds_importer.ts journals.ds journals_journal_publisher.csv",
"fix_advisor_id": "deno run --allow-read --allow-net fix_advisor_id.ts people.ds people_final.csv",
"release_linux_x86_64": "deno compile --allow-read --allow-net --output dist/bin/cold --target x86_64-unknown-linux-gnu cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync --target x86_64-unknown-linux-gnu directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports --target x86_64-unknown-linux-gnu cold_reports.ts ; deno compile --allow-net --output dist/bin/journal_vocabulary --target x86_64-unknown-linux-gnu journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary --target x86_64-unknown-linux-gnu group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people --target x86_64-unknown-linux-gnu division_people.ts ; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary --target x86_64-unknown-linux-gnu people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary --target x86_64-unknown-linux-gnu thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import --target x86_64-unknown-linux-gnu ror_import.ts ; deno compile --allow-read --allow-net --output dist/bin/cold_api_test --target x86_64-unknown-linux-gnu cold_api_test.ts",
"release_linux_aarch64": "deno compile --allow-read --allow-net --output dist/bin/cold --target aarch64-unknown-linux-gnu cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync --target aarch64-unknown-linux-gnu directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports --target aarch64-unknown-linux-gnu cold_reports.ts ; deno compile --allow-net --output dist/bin/journal_vocabulary --target aarch64-unknown-linux-gnu journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary --target aarch64-unknown-linux-gnu group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people --target aarch64-unknown-linux-gnu division_people.ts ; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary --target aarch64-unknown-linux-gnu people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary --target aarch64-unknown-linux-gnu thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import --target aarch64-unknown-linux-gnu ror_import.ts ; deno compile --allow-read --allow-net --output dist/bin/cold_api_test --target aarch64-unknown-linux-gnu cold_api_test.ts",
"release_macos_x86_64": "deno compile --allow-read --allow-net --output dist/bin/cold --target x86_64-apple-darwin cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync --target x86_64-apple-darwin directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports --target x86_64-apple-darwin cold_reports.ts; deno compile --allow-net --output dist/bin/journal_vocabulary --target x86_64-apple-darwin journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary --target x86_64-apple-darwin group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people --target x86_64-apple-darwin division_people.ts ; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary --target x86_64-apple-darwin people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary --target x86_64-apple-darwin thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import --target x86_64-apple-darwin ror_import.ts ;deno compile --allow-read --allow-net --output dist/bin/cold_api_tests --target x86_64-apple-darwin cold_api_test.ts ",
"release_macos_aarch64": "deno compile --allow-read --allow-net --output dist/bin/cold --target aarch64-apple-darwin cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync --target aarch64-apple-darwin directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports --target aarch64-apple-darwin cold_reports.ts; deno compile --allow-net --output dist/bin/journal_vocabulary --target aarch64-apple-darwin journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary --target aarch64-apple-darwin group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people --target aarch64-apple-darwin division_people.ts; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary --target aarch64-apple-darwin people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary --target aarch64-apple-darwin thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import --target aarch64-apple-darwin ror_import.ts ; deno compile --allow-read --allow-net --output dist/bin/cold_api_test --target aarch64-apple-darwin cold_api_test.ts ",
"release_windows_x86_64": "deno compile --allow-read --allow-net --output dist/bin/cold.exe --target x86_64-pc-windows-msvc cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync.exe --target x86_64-pc-windows-msvc directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports.exe --target x86_64-pc-windows-msvc cold_reports.ts ; deno compile --allow-net --output dist/bin/journal_vocabulary.exe --target x86_64-pc-windows-msvc journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary.exe --target x86_64-pc-windows-msvc group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people.exe --target x86_64-pc-windows-msvc division_people.ts; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary.exe --target x86_64-pc-windows-msvc people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary.exe --target x86_64-pc-windows-msvc thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import.exe --target x86_64-pc-windows-msvc ror_import.ts; deno compile --allow-read --allow-net --output dist/bin/cold_api_test.exe --target x86_64-pc-windows-msvc cold_api_test.ts ",
"release_windows_aarch64": "deno compile --allow-read --allow-net --output dist/bin/cold.exe --target aarch64-pc-windows-msvc cold.ts ; deno compile --allow-read --allow-net --output dist/bin/directory_sync.exe --target aarch64-pc-windows-msvc directory_sync.ts ; deno compile --allow-all --output dist/bin/cold_reports.exe --target aarch64-pc-windows-msvc cold_reports.ts; deno compile --allow-net --output dist/bin/journal_vocabulary.exe --target aarch64-pc-windows-msvc journal_vocabulary.ts ; deno compile --allow-net --output dist/bin/group_vocabulary.exe --target aarch64-pc-windows-msvc group_vocabulary.ts ; deno compile --allow-read --allow-write --allow-net --output dist/bin/division_people.exe --target aarch64-pc-windows-msvc division_people.ts; deno compile --allow-read --allow-net --output dist/bin/people_vocabulary.exe --target aarch64-pc-windows-msvc people_vocabulary.ts ; deno compile --allow-read --allow-net --output dist/bin/thesis_option_vocabulary.exe --target aarch64-pc-windows-msvc thesis_option_vocabulary.ts ; deno compile --allow-read --allow-net --allow-run --output dist/bin/ror_import.exe --target aarch64-pc-windows-msvc ror_import.ts ; deno compile --allow-read --allow-net --output dist/bin/cold_api_test.exe --target aarch64-pc-windows-msvc cold_api_test.ts "
},
"imports": {
"@b-fuze/deno-dom": "jsr:@b-fuze/deno-dom@^0.1.56",
"@danet/handlebars": "jsr:@danet/handlebars@^0.0.3",
"@david/dax": "jsr:@david/dax@^0.45.0",
"@deno-library/progress": "jsr:@deno-library/progress@^1.5.1",
"@deno/emit": "jsr:@deno/emit@^0.46.0",
"@std/assert": "jsr:@std/assert@^1.0.19",
"@std/cli": "jsr:@std/cli@^1.0.28",
"@std/csv": "jsr:@std/csv@^1.0.6",
"@std/dotenv": "jsr:@std/dotenv@^0.225.6",
"@std/fmt": "jsr:@std/fmt@^1.0.9",
"@std/front-matter": "jsr:@std/front-matter@^1.0.9",
"@std/fs": "jsr:@std/fs@^1.0.23",
"@std/http": "jsr:@std/http@^1.0.25",
"@std/path": "jsr:@std/path@^1.1.4",
"@std/uuid": "jsr:@std/uuid@^1.1.0",
"@std/yaml": "jsr:@std/yaml@^1.0.12",
"@zip-js/zip-js": "jsr:@zip-js/zip-js@^2.8.26"
},
"compilerOptions": {
"lib": ["deno.ns", "dom", "esnext"]
}
}