Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TechWord
# Techterm

プログラミング用語にマウスをホバーすると、意味を簡潔に表示します。
VS Code 拡張とブラウザ拡張の 2 つがあり、辞書と検索ロジックは共通です。
Expand Down
5 changes: 4 additions & 1 deletion packages/browser/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"description": "プログラミング用語にホバーすると、意味を簡潔に表示します。",
"content_scripts": [
{
"matches": ["<all_urls>"],
"matches": [
"https://*/*",
"http://*/*"
],
"js": ["content.js"],
"run_at": "document_idle"
}
Expand Down
1 change: 1 addition & 0 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@techword/browser",
"version": "0.1.1",
"private": true,
"typescript": "^6.0.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TypeScript のバージョンは、 devDependencies の中に入れます!

"scripts": {
"build": "esbuild src/content.ts --bundle --outfile=dist/content.js --format=iife --target=chrome110 && cp manifest.json dist/manifest.json",
"watch": "esbuild src/content.ts --bundle --outfile=dist/content.js --format=iife --target=chrome110 --watch"
Expand Down
1 change: 1 addition & 0 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
}
}
},
"typescript": "^6.0.3",
"scripts": {
"build": "tsc -p tsconfig.json",
"watch": "tsc -p tsconfig.json --watch"
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "commonjs",
"moduleResolution": "node",
"module": "Node16",
"moduleResolution": "Node16",
"lib": ["ES2022"],
"rootDir": "src",
"outDir": "dist",
Expand Down