Skip to content

Commit

Permalink
Change scripts, add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Jan 23, 2024
1 parent 9c25fb2 commit 509f031
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"scripts": {
"start": "npm run getURL && npm run download",
"getURL": "node src/downloadLatest.js",
"download": "sh src/scripts/download_unzip.sh",
"build": "node src/convert.js",
"download": "node src/downloadLatest.js && sh src/scripts/download_unzip.sh",
"buildTermDict": "node src/convertToTermDictionary.js",
"buildLatest": "npm run download && npm run buildTermDict",
"test": "ava"
},
"dependencies": {
Expand All @@ -17,4 +16,4 @@
"ava": "^6.0.1"
},
"version": "1.0.0"
}
}
1 change: 1 addition & 0 deletions src/convert.js → src/convertToTermDictionary.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Dictionary, DictionaryIndex } from 'yomichan-dict-builder';
import path from 'path';
import fs from 'fs';

import { getCSVInfo } from './util/csv/csvHandler.js';
import { parseCSVEntries } from './util/csv/parseCsvEntriesToJson.js';
Expand Down

0 comments on commit 509f031

Please sign in to comment.