-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (56 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (56 loc) · 2.25 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
{
"name": "jmdict-sqlite",
"description": "Read-only SQLite database for JMDict and Kanjidic, a Japanese-English dictionary.",
"author": "Sean McBroom (sean.mcbroom@outlook.com)",
"license": "GPLv2",
"version": "1.5.3",
"type": "module",
"engines": {
"node": ">=22.17.0",
"npm": ">=10.9.2",
"yarn": "yarn is not supported. Please use npm"
},
"scripts": {
"create-release": "npm run build && node dist/src/index.js",
"create-release:deploy": "npm run clean:all && npm run build && cross-env NODE_ENV=deploy VERBOSE=true node dist/src/index.js",
"start": "cross-env VERBOSE=true node dist/src/index.js",
"dev": "npm run clean:data-sqlite && cross-env NODE_ENV=development VERBOSE=true tsx src/index.ts",
"build": "npm run clean:build && npm run clean:data-sqlite && tsc && tsc-alias && npm run copy:test-files-to-dist",
"test": "npm run build && cross-env NODE_ENV=test node dist/test/runner.js",
"test:deploy": "npm run build && cross-env NODE_ENV=deploy node dist/test/runner.js",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"clean:dist": "rimraf dist",
"clean:data-sqlite": "rimraf data/jmdict.sqlite",
"clean:data-jmdict": "rimraf data/jmdict.xml",
"clean:data-kanjidic": "rimraf data/kanjidic.xml",
"clean:build": "npm run clean:dist && npm run clean:data-sqlite",
"clean:all": "npm run clean:dist && npm run clean:data-sqlite && npm run clean:data-jmdict && npm run clean:data-kanjidic",
"copy:test-files-to-dist": "copyfiles -u 1 \"test/**/*.xml\" dist/test"
},
"devDependencies": {
"@types/better-sqlite3": "7.6.13",
"@types/node": "26.1.1",
"@types/sax": "1.2.7",
"@typescript-eslint/eslint-plugin": "8.62.1",
"copyfiles": "2.4.1",
"cross-env": "^10.1.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.6",
"eslint-plugin-unused-imports": "4.4.1",
"prettier": "3.9.5",
"rimraf": "6.1.3",
"ts-node": "10.9.2",
"tsc-alias": "1.8.17",
"tsx": "4.23.1",
"typescript": "6.0.3",
"typescript-eslint": "8.62.1"
},
"dependencies": {
"basic-ftp": "6.0.1",
"better-sqlite3": "12.11.1",
"sax": "1.6.0"
}
}