-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 1.01 KB
/
package.json
File metadata and controls
20 lines (20 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "extensionpractice",
"version": "1.0.0",
"type": "module",
"description": "Short checklist to get started\r - Install Node.js (LTS) and npm\r - Install VS Code\r - Decide language: JavaScript (simple) or TypeScript (recommended)\r - Create project folder and `manifest.json` (use Manifest V3)\r - Add a content script to alter/remove DOM elements\r - Keep `host_permissions` minimal (only the sites you need)\r - Load unpacked/temporary extension in your browser to test\r - Optionally add a build step (esbuild/webpack/rollup) for TypeScript",
"main": "main.js",
"scripts": {
"build": "esbuild src/grammarly.ts src/notebook.ts --bundle --outdir=dist --minify --sourcemap",
"watch": "esbuild src/grammarly.ts src/notebook.ts --bundle --outdir=dist --sourcemap --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/chrome": "^0.1.32",
"esbuild": "^0.27.2",
"typescript": "^5.9.3"
}
}