forked from EdgeTranslate/EdgeTranslate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.65 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
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "edge_translate",
"version": "2.3.0",
"description": "A translator extension.",
"keywords": [
"Edge Translate",
"侧边翻译"
],
"contributors": [
{
"name": "nickyc975",
"email": "[email protected]",
"url": "https://github.com/nickyc975"
},
{
"name": "Mark-Fenng",
"email": "[email protected]",
"url": "https://github.com/Mark-Fenng"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/EdgeTranslate/EdgeTranslate.git"
},
"scripts": {
"test": "jest",
"format": "eslint 'src/**/*.js' 'config/**/*.js' --fix",
"dev:chrome": "gulp dev --browser chrome",
"dev:firefox": "gulp dev --browser firefox",
"build:chrome": "gulp build --browser chrome",
"build:firefox": "gulp build --browser firefox",
"pack:chrome": "gulp pack --browser chrome",
"pack:firefox": "gulp pack --browser firefox",
"e2e:chrome": "SELENIUM_BROWSER=chrome jest -i --config './test/e2e/jest/jest.config.js'",
"e2e:firefox": "SELENIUM_BROWSER=firefox jest -i --config './test/e2e/jest/jest.config.js'"
},
"devDependencies": {
"@babel/core": "^7.17.7",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-transform-react-jsx": "^7.17.3",
"@babel/preset-env": "^7.16.11",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@svgr/webpack": "^5.5.0",
"adm-zip": "^0.5.9",
"axios": "^0.22.0",
"axios-mock-adapter": "^1.20.0",
"babel-loader": "^8.2.3",
"chromedriver": "^100.0.0",
"crypto": "^1.0.1",
"css": "^3.0.0",
"cz-conventional-changelog": "^3.3.0",
"del": "^6.0.0",
"eslint": "^7.32.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-prettier": "^3.4.1",
"geckodriver": "^2.0.4",
"gulp": "^4.0.2",
"gulp-eslint": "^6.0.0",
"gulp-stylus": "^2.7.1",
"gulp-terser": "^2.1.0",
"gulp-zip": "^5.1.0",
"husky": "^4.3.8",
"jest": "^27.5.1",
"jest-image-snapshot": "^4.5.1",
"jest-raw-loader": "^1.0.1",
"lodash": "^4.17.21",
"merge-stream": "^2.0.0",
"minimist": "^1.2.6",
"mockttp": "^1.2.2",
"prettier": "^2.6.0",
"querystring": "^0.2.1",
"raw-loader": "^4.0.2",
"selenium-webdriver": "^4.1.1",
"webpack": "^5.70.0",
"webpack-merge": "^5.8.0",
"webpack-stream": "^6.1.2"
},
"dependencies": {
"dompurify": "^2.3.6",
"preact": "^10.6.6",
"preact-render-to-string": "^5.1.20",
"react-shadow": "^19.0.2",
"react-use": "^17.3.2",
"resize-observer-polyfill": "^1.5.1",
"simplebar-react": "^2.3.6",
"styled-components": "5.3.0"
},
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"testRegex": "(/test/unit/.*\\.(test|spec))\\.(ts|tsx|js)$",
"testTimeout": 10000,
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest",
"\\.(css|less)$": "jest-raw-loader"
},
"moduleDirectories": [
"node_modules",
"src"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}