Skip to content

Commit

Permalink
chore: update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Styx11 committed Sep 8, 2021
1 parent 71bba4f commit fedbe0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div style="width: 100%; height: 300px; display: flex; justify-content: center; align-items: center; margin: 32px 0; background: RGBA(249, 249, 249, 1.00);">
<img src="./icon.png"/>
</div>
<div align="center">

<h1 style="text-align: center;">react-intl-linter💡</h1>
![](./icon.png)
# react-intl-linter💡
自动替换中文字符串为 react-intl 代码的 VS Code 插件

<p style="text-align: center;">自动替换中文字符串为 react-intl 代码的 VS Code 插件</p>
</div>


## 功能
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@
},
"main": "./client/out/extension",
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode production --config ./client/webpack.config.js && webpack --mode production --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
"compile": "rimraf server/out && rimraf client/out && tsc -b",
"compile:client": "tsc -b ./client/tsconfig.json",
"compile:server": "tsc -b ./server/tsconfig.json",
"vscode:prepublish": "yarn compile",
"compile": "rimraf server/out && rimraf client/out && tsc -b && cp -r server/out client/out/server && cp -r server/node_modules client/out/server/node_modules",
"watch": "tsc -b -w",
"lint": "npm run lint:client && npm run lint:server",
"lint:client": "eslint --config ./client/.eslintrc.json ./client/src/*.ts",
Expand Down

0 comments on commit fedbe0b

Please sign in to comment.