-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
140 lines (140 loc) Β· 4.25 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "yuque-chrome-extension",
"version": "0.5.9",
"description": "θ―ιζ΅θ§ε¨ζδ»Ά",
"private": true,
"releaseNotes": [
"[ηΉζ§] ζ―ζθ‘ε
代η ε",
"[δΌε] δΌεεΎηεͺθι»θΎ"
],
"repository": {
"type": "git",
"url": "https://github.com/yuque/yuque-chrome-extension.git"
},
"scripts": {
"pack-zip": "sh ./scripts/build-zip.sh",
"bundle": "NODE_ENV=production webpack --mode=production",
"bundle:beta": "NODE_ENV=production BETA=beta webpack --mode=production",
"build": "npm run bundle && npm run bundle:beta && npm run pack-zip",
"clean:dist": "sh ./scripts/clean.sh",
"postinstall": "npm run clean:dist",
"contributor": "git-contributor",
"dev": "NODE_ENV=development webpack --mode=development",
"docs:dev": "vuepress dev docs",
"type:check": "tsc --noEmit",
"lint:js": "eslint . --fix",
"lint:less": "stylelint --fix ./**/*.less -s less",
"lint": "npm run lint:js && npm run lint:less",
"lint-staged": "lint-staged",
"translate": "easy-i18n-cli -c ./i18n.config.js",
"translate:check": "npm run translate -- --check",
"update:assets": "node ./tools/dev-tools/generate-svg-map.js",
"watch": "open -a chromium --args --load-extension=\"$PWD/dist/$npm_package_version\" --force-dev-mode-highlighting --no-default-browser-check"
},
"dependencies": {
"@ant-design/icons": "^4.2.2",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@mozilla/readability": "^0.5.0",
"antd": "^5.7.3",
"bowser": "^2.11.0",
"classnames": "^2.2.6",
"eventemitter3": "^4.0.7",
"katex": "0.16.8",
"keymaster": "^1.6.2",
"less": "^4.1.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-spring": "^9.7.3",
"semver-compare": "^1.0.0",
"uuid": "^9.0.1",
"whatwg-fetch": "^3.6.17"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "7.8.3",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@svgr/webpack": "^8.0.1",
"@types/chrome": "^0.0.224",
"@types/keymaster": "^1.6.31",
"@types/lodash": "^4.14.199",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/semver-compare": "^1.0.1",
"@types/webpack": "^5.28.1",
"@types/webpack-env": "^1.18.0",
"babel-loader": "^8.0.6",
"chai": "^4.1.0",
"chalk": "4",
"clean-webpack-plugin": "3.0.0",
"copy-webpack-plugin": "6",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"css-loader": "^6.6.0",
"dotenv": "^10.0.0",
"easy-i18n-cli": "^1.0.0",
"eslint": "8",
"eslint-config-egg": "^12.2.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"git-contributor": "^2.1.5",
"html-webpack-plugin": "^5.5.0",
"husky": "4",
"jsx-loader": "^0.13.2",
"less-loader": "^10.2.0",
"lint-staged": "^13.2.3",
"mini-css-extract-plugin": "^2.7.6",
"prettier": "^2.8.4",
"standard-version": "^9.5.0",
"style-loader": "^3.3.2",
"stylelint": "^12.0.1",
"svg-sprite-loader": "^4.1.6",
"svgo": "^1.3.2",
"svgo-loader": "^2.2.1",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^8.4.0",
"typescript": "^4.9.5",
"url-loader": "^4.1.1",
"urllib": "3",
"vuepress": "^1.8.2",
"webpack": "5",
"webpack-cli": "4",
"webpack-dev-server": "4",
"webpack-notifier": "^1.15.0"
},
"optionalDependencies": {
"copy-paste": "^1.3.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.less": [
"stylelint --fix -s less"
]
}
}