-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
41 lines (41 loc) · 1.22 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
{
"name": "blue-blocker",
"version": "0.4.14",
"author": "DanielleMiu",
"description": "Blocks all Twitter Blue verified users on twitter.com",
"type": "module",
"license": "MPL-2.0",
"keywords": [
"twitter",
"blue-blocker",
"blocktheblue",
"chrome-extension",
"vanilla",
"vite",
"create-chrome-ext"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"fmt": "prettier --write **/*.{ts,json,css,scss,md}",
"version": "node -e \"const fs = require('fs').promises; fs.readFile('./src/manifest.ts','utf-8').then(oldManifest => oldManifest.replace(/(?:\\d+\\.){2}(?:\\d*)(?:-[\\w\\d\\-\\.]*)?/, process.env.npm_package_version)).then(newManifest => fs.writeFile('./src/manifest.ts', newManifest, 'utf-8'))\" && git add ./src/manifest.ts ./package*.json && echo updated manifest, new version:"
},
"config": {
"git-tag-version": false
},
"engines": {
"node": ">=18.16.0"
},
"devDependencies": {
"@crxjs/vite-plugin": "=2.0.0-beta.28",
"@types/chrome": "^0.0.235",
"@types/firefox-webext-browser": "^111.0.1",
"html-minifier-terser": "^7.2.0",
"node-jq": "^6.0.1",
"prettier": "^2.8.8",
"rollup": "^2.79.2",
"typescript": "^5.0.4",
"vite": "^3.2.11"
}
}