forked from awslabs/amazon-translate-browser-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.56 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
94
95
96
97
98
99
100
101
102
103
104
{
"name": "chrome-extension-amazon-translate",
"displayName": "Amazon Translate",
"version": "0.5.0",
"description": "An extension that will auto-translate content in your browser window with Amazon Translate.",
"private": true,
"license": "Apache-2.0",
"scripts": {
"assets": "node ./copy-assets.js",
"logo": "./logo.sh",
"predev": "npm run assets",
"dev": "npm run build && cross-env NODE_ENV=development run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"prebuild": "npm run assets",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js",
"build:prepare": "esno scripts/prepare.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"prepare": "husky install && npm run logo",
"postinstall": "npm-install-peers",
"prepack": "npm run assets",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli",
"pack:crx": "crx pack extension -o ./release/extension.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./release/ web-ext build --source-dir ./extension --filename extension.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
"test": "ava",
"clear": "rimraf extension/dist extension/manifest.json extension.* ./release/*",
"lint": "eslint ./src/ --fix",
"cm": "cz"
},
"devDependencies": {
"@antfu/eslint-config": "^0.9.0",
"@ava/typescript": "^3.0.0",
"@ffflorian/jszip-cli": "^3.1.5",
"@iconify/json": "^1.1.408",
"@types/fs-extra": "^9.0.13",
"@types/jsdom": "^16.2.13",
"@types/lockr": "^0.8.7",
"@types/node": "^16.10.2",
"@types/node-localstorage": "^1.3.0",
"@types/sjcl": "^1.0.30",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@vitejs/plugin-vue": "^1.9.2",
"@vue/compiler-sfc": "^3.2.19",
"@vueuse/core": "^6.5.3",
"ava": "^3.15.0",
"chokidar": "^3.5.2",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"esno": "^0.10.0",
"fs-extra": "^10.0.0",
"fs-jetpack": "^4.3.0",
"husky": "^7.0.4",
"jsdom": "^18.0.1",
"kolorist": "^1.5.0",
"lint-staged": "^12.1.7",
"nock": "^13.2.4",
"node-localstorage": "^2.2.1",
"npm-install-peers": "^1.2.2",
"npm-run-all": "^4.1.5",
"prettier": "2.5.1",
"rimraf": "^3.0.2",
"sass": "^1.43.2",
"semantic-release": "^19.0.1",
"svg2png": "^4.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.4.3",
"unplugin-auto-import": "^0.4.8",
"unplugin-icons": "^0.11.4",
"unplugin-vue-components": "^0.15.4",
"vite": "^2.6.2",
"vite-plugin-windicss": "^1.4.8",
"vite-svg-loader": "^3.1.2",
"vue": "^3.2.19",
"vue-demi": "^0.11.4",
"web-ext": "^6.4.0",
"webext-bridge": "^5.0.0",
"webextension-polyfill": "^0.10.0",
"windicss": "^3.1.9"
},
"dependencies": {
"@aws-sdk/client-translate": "^3.37.0",
"lockr": "^0.9.0-beta.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
}
}