2022-02-20 19:51:55 +08:00
|
|
|
{
|
|
|
|
"name": "think",
|
|
|
|
"private": true,
|
|
|
|
"author": "fantasticit",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rimraf node_modules && rimraf ./**/node_modules",
|
|
|
|
"dev": "concurrently \"pnpm:dev:*\"",
|
|
|
|
"dev:server": "pnpm run --dir packages/server dev",
|
|
|
|
"dev:client": "pnpm run --dir packages/client dev",
|
2022-03-11 13:57:55 +08:00
|
|
|
"build": "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",
|
2022-02-20 19:51:55 +08:00
|
|
|
"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": "concurrently \"pnpm:pm2:*\"",
|
|
|
|
"pm2:server": "pnpm run --dir packages/server pm2",
|
2022-03-12 10:31:03 +08:00
|
|
|
"pm2:client": "pnpm run --dir packages/client pm2",
|
2022-03-12 11:27:56 +08:00
|
|
|
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\""
|
2022-02-20 19:51:55 +08:00
|
|
|
},
|
|
|
|
"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": {
|
2022-03-12 11:27:56 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
|
|
"@typescript-eslint/parser": "^5.0.0",
|
|
|
|
"eslint": "^8.11.0",
|
|
|
|
"eslint-config-next": "12.0.10",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-react": "^7.29.3",
|
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2022-03-12 10:31:03 +08:00
|
|
|
"prettier": "^2.3.2",
|
2022-02-20 19:51:55 +08:00
|
|
|
"typescript": "^4.5.5"
|
|
|
|
}
|
2022-03-12 11:27:56 +08:00
|
|
|
}
|