forked from LibreService/my_rime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.76 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
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
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@libreservice/my-rime",
"version": "0.10.4",
"files": [
"dist"
],
"type": "module",
"appName": "My RIME",
"homepage": "https://github.com/LibreService/my_rime",
"author": {
"name": "Qijia Liu",
"email": "liumeo@pku.edu.cn",
"url": "https://github.com/eagleoflqj"
},
"license": "AGPL-3.0-or-later",
"scripts": {
"docker:build": "docker build --build-arg ENABLE_LOGGING=OFF -t my-rime .",
"docker:dev": "docker run -it -v \"$(pwd)/src:/my_rime/src:ro\" -p 5173:5173 my-rime npm run dev",
"docker:dist": "docker run -it -v \"$(pwd)/dist:/my_rime/dist\" my-rime npm run build",
"submodule": "node --loader ts-node/esm scripts/update_submodule.ts",
"worker": "rollup -c rollup.worker-config.js",
"font": "node --loader ts-node/esm scripts/download_font.ts",
"native": "node --loader ts-node/esm scripts/build_native.ts",
"schema": "node --loader ts-node/esm scripts/install_schemas.ts",
"lib": "node --loader ts-node/esm scripts/build_lib.ts",
"lib:yaml-cpp": "pnpm run lib -- yaml-cpp",
"lib:leveldb": "pnpm run lib -- leveldb",
"lib:marisa": "pnpm run lib -- marisa",
"lib:opencc": "pnpm run lib -- opencc",
"lib:glog": "pnpm run lib -- glog",
"lib:rime": "pnpm run lib -- rime",
"wasm": "node --loader ts-node/esm scripts/build_wasm.ts",
"checksum": "node --loader ts-node/esm scripts/checksum.ts",
"dev": "vite --host",
"lint": "eslint --ext .ts,.js,.vue scripts src test && clang-format -Werror -dry-run wasm/api.cpp",
"lint:fix": "eslint --ext .ts,.js,.vue --fix scripts src test && clang-format -i wasm/api.cpp",
"check": "vue-tsc --noEmit",
"build": "pnpm run check && rimraf public/worker.js.map && node --loader ts-node/esm scripts/clean_ime.ts && NODE_ENV=production pnpm run worker && vite build && node --loader ts-node/esm scripts/clean_font.ts",
"test": "playwright test --browser all --fully-parallel test/ && playwright test --fully-parallel test-device/",
"test:chromium": "playwright test --browser chromium --fully-parallel test/",
"test:firefox": "playwright test --browser firefox --fully-parallel test/",
"test:webkit": "playwright test --browser webkit --fully-parallel test/",
"preview": "vite preview --host"
},
"devDependencies": {
"@codemirror/language": "^6.9.1",
"@codemirror/legacy-modes": "^6.3.3",
"@libreservice/lazy-cache": "^0.1.1",
"@libreservice/micro-plum": "^0.2.1",
"@libreservice/my-widget": "^0.1.4",
"@libreservice/my-worker": "^0.4.2",
"@libreservice/wasm-code": "^0.1.4",
"@playwright/test": "^1.39.0",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.4",
"@types/js-yaml": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vicons/fa": "^0.12.0",
"@vicons/fluent": "^0.12.0",
"@vicons/material": "^0.12.0",
"@vitejs/plugin-vue": "^4.4.0",
"client-zip": "^2.4.4",
"emoji-regex": "^10.2.1",
"esbuild": "^0.19.4",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.17.0",
"glob": "^10.3.10",
"idb": "^7.1.1",
"js-yaml": "^4.1.0",
"luaparse": "^0.3.1",
"naive-ui": "^2.35.0",
"rimraf": "^5.0.5",
"rollup": "^4.1.4",
"rollup-plugin-esbuild": "^6.1.0",
"rppi": "^0.1.0",
"textarea-caret": "^3.1.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite-plugin-pwa": "^0.16.5",
"vite-plugin-run": "0.4.1",
"vooks": "^0.2.12",
"vue": "^3.3.4",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.19"
}
}