-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
55 lines (55 loc) · 1.96 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
{
"name": "tab-manager-v2",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "husky install",
"start": "pnpm --filter tab-manager-v2 start",
"release": "pnpm --filter tab-manager-v2 release",
"release-it": "release-it --ci",
"test": "turbo run test",
"test:lint": "pnpm lint",
"test:chrome-upload": "chrome-webstore-upload --help",
"test:firefox-upload": "web-ext --help",
"build": "turbo run build",
"deploy": "turbo run zip ls stat",
"publish:chrome": "chrome-webstore-upload upload --auto-publish --source packages/extension/build/build_chrome.zip",
"publish:firefox": "web-ext sign --source-dir packages/extension/build/build_firefox --channel=listed || echo 'Publish to Mozilla Add-ons may failed because https://github.com/mozilla/web-ext/issues/804'",
"publish:edge": "node ./publish_edge.mjs",
"publish-extension": "run-s publish:chrome publish:firefox publish:edge",
"zip": "pnpm --filter tab-manager-v2 zip",
"stat": "pnpm --filter tab-manager-v2 stat",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"prettier": "prettier --write",
"lintfix": "pnpm prettier '**/*.{js,ts,tsx,yml}' && pnpm lint --fix"
},
"devDependencies": {
"@plasmohq/edge-addons-api": "^1.3.2",
"@typescript-eslint/eslint-plugin": "6.13.1",
"@typescript-eslint/parser": "6.13.1",
"chrome-webstore-upload-cli": "2.2.2",
"coveralls": "3.1.1",
"dotenv": "16.3.1",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-typescript": "0.14.0",
"husky": "8.0.3",
"lint-staged": "15.2.0",
"npm-run-all": "4.1.5",
"prettier": "3.1.0",
"release-it": "17.0.0",
"turbo": "1.10.16",
"typescript": "5.3.2",
"web-ext": "7.8.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm prettier",
"eslint --fix"
],
"*.{json,css,md,md,mdx,html}": [
"pnpm prettier"
]
}
}