-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1.27 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
{
"scripts": {
"webpack": "npx webpack",
"debug": "npx web-ext run -s ./dist -u 'about:debugging#/runtime/this-firefox' --firefox=/snap/firefox/current/usr/lib/firefox/firefox",
"clean": "rm -rf ./node_modules ./dist *.zip *.xpi",
"prepare": "rm -rf ./dist",
"prepare-firefox": "npm run prepare && rm -f *.xpi && npm run webpack && cp ./src/manifest-firefox.json ./dist/manifest.json",
"prepare-chrome": "npm run prepare && rm -f *.zip && npm run webpack && cp ./src/manifest-chrome.json ./dist/manifest.json",
"build-firefox": "npm run prepare-firefox && cd ./dist && zip -r ../focus-input-element.xpi *",
"build-chrome": "npm run prepare-chrome && zip -r ./focus-input-element.zip ./dist",
"compress": "zip -r source-code.zip ./src ./package.json ./tsconfig.json ./webpack.config.js ./README.md",
"test": "ts-node node_modules/jest/bin/jest.js"
},
"devDependencies": {
"@types/chrome": "0.0.268",
"@types/mousetrap": "1.6.15",
"copy-webpack-plugin": "12.0.2",
"css-loader": "7.1.2",
"style-loader": "4.0.0",
"ts-loader": "9.5.1",
"typescript": "5.5.3",
"web-ext": "8.2.0",
"webpack": "5.92.1",
"webpack-cli": "5.1.4"
},
"dependencies": {
"mousetrap": "^1.6.5",
"mousetrap-global-bind": "^1.1.0"
}
}