-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
93 lines (93 loc) · 3.35 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
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
88
89
90
91
92
93
{
"name": "auto-capitalise-extension",
"title": "Auto Capitalise Extension",
"version": "2.0.0",
"description": "Browser add-on to automatically capitalise the first letter of a sentence while typing.",
"scripts": {
"start": "run-script-os",
"start:win32": "yarn build-dev && cd distribution && copy manifest_v2.json manifest.json && web-ext run --firefox=\"C:/Users/Hangjit.Rai/scoop/apps/firefox-developer/current/firefox.exe\" --keep-profile-changes --start-url localhost:3000",
"start:darwin:linux": "yarn build-dev && web-ext run --firefox=firefox-developer --start-url localhost:3000",
"start:chrome": "run-script-os",
"start:chrome:win32": "yarn build-dev && cd distribution && copy manifest_v3.json manifest.json && web-ext run -t chromium --start-url localhost:3000",
"start:chrome:linux": "yarn build-dev && cd distribution && cp manifest_v3.json manifest.json -f && web-ext run -t chromium --chromium-binary '/usr/bin/microsoft-edge' --start-url localhost:3000",
"build": "yarn webpack",
"build-dev": "yarn webpack --mode=development",
"watch": "yarn build --watch",
"watch-dev": "yarn build-dev --watch",
"web": "nodemon app.js",
"test": "yarn jest",
"test-watch": "yarn jest --watch test/",
"lint": "yarn eslint .",
"lint-fix": "yarn eslint --fix .",
"update-version:chrome": "yarn dot-json distribution/manifest_v3.json version $VER && cd distribution && mv manifest_v3.json manifest.json",
"update-version:firefox": "yarn dot-json distribution/manifest_v2.json version $VER && cd distribution && mv manifest_v2.json manifest.json",
"release:firefox": "cd distribution && yarn web-ext sign --channel listed",
"release:chrome": "cd distribution && npx chrome-webstore-upload-cli@2 upload --auto-publish",
"prepare": "yarn husky"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.26.5",
"@babel/preset-env": "^7.26.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"bootstrap": "^5.3.2",
"copy-webpack-plugin": "^12.0.2",
"daily-version": "^2.0.0",
"dot-json": "^1.3.0",
"eslint": "^9.18.0",
"eslint-webpack-plugin": "^4.0.1",
"express": "^4.21.2",
"express-rate-limit": "^7.5.0",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jquery": "^3.7.1",
"lint-staged": "^15.3.0",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"run-script-os": "^1.1.3",
"sinon": "^19.0.2",
"web-ext": "^8.2.0",
"webextension-polyfill": "^0.12.0",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/hrai/auto-capitalise"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn eslint --fix",
"yarn prettier --write"
]
},
"license": "MIT",
"bugs": {
"url": "https://github.com/hrai/auto-capitalise/issues"
},
"keywords": [
"webextensions",
"auto-capitalise"
],
"homepage": "https://github.com/hrai/auto-capitalise",
"webExt": {
"sourceDir": "distribution",
"run": {
"keepProfileChanges": true,
"startUrl": [
"http://localhost:3000"
]
}
},
"dependencies": {
"chrome-webstore-upload-cli": "^3.1.0"
}
}