-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
82 lines (82 loc) · 2.72 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
{
"name": "@feq/bobplugin-google-translate",
"version": "0.7.1",
"description": "Bob google 翻译插件",
"homepage": "https://github.com/roojay520/bobplugin-google-translate",
"repository": "https://github.com/roojay520/bobplugin-google-translate.git",
"author": "roojay <[email protected]>",
"license": "MIT",
"main": "src/main.js",
"keywords": [
"bobplugin",
"translate",
"google-translate"
],
"scripts": {
"clear": "rimraf ./dist && rimraf ./release",
"initInfo": "node ./scripts/init-info.js",
"install": "npm run initInfo",
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js --watch",
"build": "npm run clear && npm run initInfo && cross-env NODE_ENV=production rollup -c && node ./scripts/build-zip.js",
"type-check": "tsc --noEmit --allowJs",
"type-check:watch": "tsc --noEmit --allowJs --watch",
"prettier:fix": "prettier --config .prettierrc.js --write .",
"eslint": "eslint . -c .eslintrc.js --ext .ts,.tsx,.js",
"eslint:fix": "eslint . -c .eslintrc.js --fix --ext .ts,.tsx,.js",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"version": "npm run initInfo && npm run changelog && git add CHANGELOG.md src/info.json",
"prepare": "husky install"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": ".cz-config.js"
}
},
"lint-staged": {
"**/*.{js, ts, json}": [
"npm run prettier:fix",
"npm run eslint:fix"
]
},
"dependencies": {
"@bob-plug/core": "^0.1.4",
"lodash-es": "^4.17.21",
"querystring": "^0.2.1"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/lodash-es": "^4.17.5",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"adm-zip": "^0.5.9",
"commitizen": "^4.2.4",
"commitlint-config-cz": "^0.13.2",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"cz-customizable": "^6.3.0",
"esbuild": "^0.13.10",
"eslint": "^8.1.0",
"eslint-config-airbnb-typescript": "^14.0.1",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.58.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-esbuild": "^4.6.0",
"rollup-plugin-polyfill-node": "^0.7.0",
"typescript": "^4.4.4"
}
}