-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.46 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.46 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "browser-extension-starter",
"version": "1.0.1",
"description": "Manifest V3 browser extension starter with CI/CD, store builds, and store asset capture.",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/starter-series/browser-extension-starter.git"
},
"files": [
".github/PULL_REQUEST_TEMPLATE.md",
".github/workflows",
"assets/icons",
"docs",
"eslint.config.js",
"manifest.json",
"scripts",
"shotkit.config.js",
"src",
"store-assets/STORE_LISTING.md",
"store-assets/fixtures",
"store-assets/templates"
],
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "web-ext run -t chromium --source-dir . --start-url chrome://extensions",
"build:chrome": "rm -f dist/extension.zip && mkdir -p dist && zip -r dist/extension.zip manifest.json src/ assets/icons/ -x '*.DS_Store' && node scripts/check-extension-zip.js",
"smoke:extension": "node scripts/smoke-extension.mjs",
"version:patch": "node scripts/bump-version.js patch",
"version:minor": "node scripts/bump-version.js minor",
"version:major": "node scripts/bump-version.js major",
"test": "jest --verbose --coverage",
"lint": "eslint src/",
"lint:css": "stylelint \"src/**/*.css\"",
"capture:store": "npm exec --yes --package github:starter-series/shotkit#c4cf6897913834aa7c5d1eec568b2912ad2b1f38 -- shotkit",
"capture:install": "npm exec -- playwright install chromium"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.7.0",
"globals": "^17.7.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "30.4.1",
"playwright": "^1.61.1",
"stylelint": "^17.14.0",
"stylelint-config-standard": "^40.0.0",
"web-ext": "^10.5.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageThreshold": {
"src/options/options.js": {
"statements": 70,
"branches": 55,
"functions": 70,
"lines": 70
},
"src/popup/popup.js": {
"statements": 90,
"branches": 80,
"functions": 100,
"lines": 90
},
"src/settings.js": {
"statements": 85,
"branches": 65,
"functions": 95,
"lines": 85
}
},
"coverageReporters": [
"text",
"text-summary"
]
},
"overrides": {
"@babel/core": "^7.29.7",
"js-yaml": "^5.0.0",
"tmp": "^0.2.7",
"shell-quote": "^1.8.4"
}
}