-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
44 lines (44 loc) · 1.33 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
{
"name": "polyglot",
"description": "A Safari extension that translates selected text into your native language.",
"version": "3.4.0",
"scripts": {
"build": "NODE_ENV=production webpack-cli --mode production",
"clean": "shx rm -rf PolyglotSafariExtension/ContentScript/*.js{,.map,.LICENSE.txt}",
"dmg": "create-dmg Artifacts/Exported/Polyglot.app Artifacts",
"format": "swiftformat . --swiftversion 4",
"prepare": "husky install",
"readme": "mdmod README.md --define.owner uetchy",
"start": "NODE_ENV=development webpack-cli -w --mode development"
},
"main": "./PolyglotSafariExtension/ContentScript/content.bundle.js",
"dependencies": {
"franc": "^6.0.0",
"iso-639-3": "^3.0.1",
"isomorphic-unfetch": "^3.1.0",
"mustache": "^4.2.0"
},
"devDependencies": {
"@types/franc": "^5.0.1",
"@types/mustache": "^4.1.2",
"create-dmg": "^5.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.5",
"mdmod": "^2.0.0",
"mdmod-plugin-github-sponsors": "^1.1.0",
"plist": "^3.0.4",
"shx": "^0.3.4",
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.7",
"typescript": "^4.6.2",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"lint-staged": {
"*.swift": [
"swiftformat --swiftversion 4"
]
},
"license": "Apache-2.0",
"private": true
}