forked from jyutjyucom/Jyutjyu
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 4.27 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 4.27 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
81
82
83
{
"name": "jyutjyu",
"version": "0.1.0",
"description": "粵語詞叢 - 開放粵語詞典平台",
"author": "jyutjyucom",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "nuxt dev",
"build": "nuxt build",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build:data": "node scripts/csv-to-json.js",
"build:data:gzpc": "node scripts/csv-to-json.js --dict gz-practical-classified --input data/processed/gz-practical-classified.csv",
"build:data:gzcl": "node scripts/csv-to-json.js --dict gz-colloquialisms --input data/processed/gz-colloquialisms.csv",
"build:data:gzwo": "node scripts/csv-to-json.js --dict gz-word-origins --input data/processed/gz-word-origins.csv",
"build:data:gzd": "node scripts/csv-to-json.js --dict gz-dialect --input data/processed/gz-dialect.csv",
"build:data:gzm": "node scripts/csv-to-json.js --dict gz-modern --input data/processed/gz-modern.csv",
"build:data:gzdict": "node scripts/csv-to-json.js --dict gz-dict --input data/processed/gz-dict.csv",
"build:data:hkcw": "node scripts/csv-to-json.js --dict hk-cantowords --input data/processed/hk-cantowords.csv",
"build:data:qzjp": "node scripts/csv-to-json.js --dict qz-jyutping --input data/processed/qz-jyutping.csv",
"build:data:kpd": "node scripts/csv-to-json.js --dict kp-dialect --input data/processed/kp-dialect.csv",
"build:data:wiktionary": "node scripts/jsonl-to-json.js --dict wiktionary-cantonese --input data/processed/wiktionary_cantonese_entries.jsonl",
"build:data:wiktionary:test": "node scripts/jsonl-to-json.js --dict wiktionary-cantonese --input data/processed/wiktionary_cantonese_entries.jsonl --limit 1000",
"validate": "node scripts/validate.js",
"validate:gzpc": "node scripts/validate.js data/processed/gz-practical.csv",
"validate:gzcl": "node scripts/validate.js data/processed/gz-colloquialisms.csv",
"validate:gzwo": "node scripts/validate.js data/processed/gz-word-origins.csv",
"validate:gzd": "node scripts/validate.js data/processed/gz-dialect.csv",
"validate:gzm": "node scripts/validate.js data/processed/gz-modern.csv",
"validate:hkcw": "node scripts/validate.js data/processed/hk-cantowords.csv",
"validate:qzjp": "node scripts/validate.js data/processed/qz-jyutping.csv",
"validate:kpd": "node scripts/validate.js data/processed/kp-dialect.csv",
"typecheck": "nuxt typecheck",
"db:import": "node scripts/import-to-mongodb.js",
"db:import:replace": "node scripts/import-to-mongodb.js --mode replace",
"db:import:gzpc": "node scripts/import-to-mongodb.js --dict gz-practical-classified --mode replace",
"db:import:gzcl": "node scripts/import-to-mongodb.js --dict gz-colloquialisms --mode replace",
"db:import:gzwo": "node scripts/import-to-mongodb.js --dict gz-word-origins --mode replace",
"db:import:gzd": "node scripts/import-to-mongodb.js --dict gz-dialect --mode replace",
"db:import:gzm": "node scripts/import-to-mongodb.js --dict gz-modern --mode replace",
"db:import:gzdict": "node scripts/import-to-mongodb.js --dict gz-dict --mode replace",
"db:import:hkcw": "node scripts/import-to-mongodb.js --dict hk-cantowords --mode replace",
"db:import:qzjp": "node scripts/import-to-mongodb.js --dict qz-jyutping --mode replace",
"db:import:kpd": "node scripts/import-to-mongodb.js --dict kp-dialect --mode replace",
"db:import:wiktionary": "node scripts/import-to-mongodb.js --dict wiktionary-cantonese --mode replace",
"db:import:help": "node scripts/import-to-mongodb.js --help"
},
"dependencies": {
"@nuxt/content": "^2.13.2",
"@nuxtjs/i18n": "^10.2.1",
"lucide-vue-next": "^0.563.0",
"mongodb": "^6.12.0",
"nuxt": "^4.3.0",
"opencc-js": "^1.0.5",
"vue": "^3.5.12"
},
"devDependencies": {
"@nuxtjs/tailwindcss": "^6.12.1",
"@types/node": "^22.9.0",
"eslint": "^9.14.0",
"minisearch": "^7.1.0",
"papaparse": "^5.4.1",
"typescript": "^5.6.3",
"vue-tsc": "^3.2.1"
},
"keywords": [
"cantonese",
"dictionary",
"jyutping",
"粵語",
"詞典",
"粵拼"
],
"repository": {
"type": "git",
"url": "https://github.com/jyutjyucom/jyutjyu.git"
},
"homepage": "https://jyutjyu.com"
}