3 Star 5 Fork 1

wx-rdc/think

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
Edward.Zhu 提交于 2023-03-27 15:49 . first version
{
"name": "think",
"private": true,
"author": "fantasticit",
"scripts": {
"clean": "npx rimraf ./node_modules ./packages/**/node_modules ./packages/**/.next",
"dev": "concurrently 'pnpm:dev:*'",
"dev:server": "pnpm run --dir packages/server dev",
"dev:client": "pnpm run --dir packages/client dev",
"build": "pnpm build:dep && pnpm build:server && pnpm build:client",
"build:dep": "pnpm build:constants && pnpm build:domains && pnpm build:config",
"build:constants": "pnpm run --dir packages/constants build",
"build:domains": "pnpm run --dir packages/domains build",
"build:config": "pnpm run --dir packages/config build",
"build:server": "pnpm run --dir packages/server build",
"build:client": "pnpm run --dir packages/client build",
"start": "concurrently 'pnpm:start:*'",
"start:server": "pnpm run --dir packages/server start",
"start:client": "pnpm run --dir packages/client start",
"pm2": "pnpm run pm2:server && pnpm run pm2:client",
"pm2:server": "pnpm run --dir packages/server pm2",
"pm2:client": "pnpm run --dir packages/client pm2",
"lint": "concurrently 'pnpm:lint:*'",
"lint:client": "eslint --fix './packages/client/**/*.{ts,tsx,js,jsx}'",
"lint:server": "eslint --fix './packages/server/**/*.{ts,js}'",
"format": "concurrently 'pnpm:format:*'",
"format:ts": "prettier --write --parser typescript 'packages/**/*.{ts,tsx,js,jsx}'",
"format:css": "stylelint --fix --formatter verbose --allow-empty-input 'packages/**/*.{css,scss,sass}'",
"prepare": "husky install",
"precommit": "lint-staged"
},
"dependencies": {
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"fs-extra": "^10.0.0",
"rimraf": "^3.0.2"
},
"engines": {
"node": ">=16.5.0"
},
"devDependencies": {
"@types/node": "^17.0.35",
"husky": "^7.0.4",
"lint-staged": "^12.4.1",
"prettier": "^2.3.2",
"stylelint": "^14.6.1",
"stylelint-config-css-modules": "^4.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"typescript": "^4.5.5"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "prettier --write",
"./packages/client/**/*.{ts,tsx,js,jsx}": [
"eslint --fix"
],
"./packages/server/src/*.{ts,js}": [
"eslint --fix"
],
"*.{css,scss,sass}": "stylelint --fix --formatter verbose --allow-empty-input"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wx-rdc/think.git
git@gitee.com:wx-rdc/think.git
wx-rdc
think
think
master

搜索帮助