forked from coolpace/V2EX_Polish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.69 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
{
"name": "v2ex_polish",
"version": "0.1.0",
"private": "true",
"license": "UNLICENSED",
"author": "LeoKu (https://github.com/Codennnn)",
"scripts": {
"dev": "run-p watch run:chrome",
"dev:firefox": "run-p watch run:firefox",
"dev:site": "live-server --entry-file=website/index.html --no-browser",
"run:chrome": "web-ext run -t chromium --source-dir ./extension",
"run:firefox": "web-ext run --source-dir ./extension",
"build": "run-p build:style build:ext build:userscript",
"build:userscript": "run-s output:css output:userscript",
"build:ext": "tsup",
"build:style": "sass src/styles:extension/css --no-source-map --style=compressed",
"output:userscript": "tsup src/user-scripts/index.ts --no-minify --outDir dist",
"output:css": "node src/user-scripts/write-style.mjs",
"watch": "run-p watch:style watch:ext",
"watch:ext": "pnpm run build:ext --watch",
"watch:style": "pnpm run build:style --watch",
"lint": "run-p lint:ts lint:es lint:style lint:prettier",
"lint:ts": "tsc --noEmit --skipLibCheck",
"lint:es": "eslint **/*.{js,ts}",
"lint:prettier": "prettier --write **/*.{md,json}",
"lint:style": "stylelint **/*.{css,scss}"
},
"dependencies": {
"@floating-ui/dom": "^1.2.1",
"webext-patterns": "^1.3.0"
},
"devDependencies": {
"@codennnn/tsconfig": "^1.1.2",
"@types/chrome": "^0.0.217",
"@types/firefox-webext-browser": "^111.0.1",
"@types/jquery": "^3.5.16",
"esbuild-minify-templates": "^0.10.0",
"npm-run-all": "^4.1.5",
"prefer-code-style": "^1.3.3",
"sass": "^1.58.0",
"stylelint": "^15.6.2",
"tsup": "^6.6.0",
"typescript": "^5.0.4",
"web-ext": "^7.6.2"
}
}