think/package.json

43 lines
1.7 KiB
JSON

{
"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",
"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",
"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",
"pm2:client": "pnpm run --dir packages/client pm2",
"lint": "eslint . -c ./.eslintrc.js --fix --quiet 'packages/**/*.{ts,tsx,js,jsx}'",
"format": "npm run format:md && npm run format:json && npm run format:source",
"format:md": "prettier --parser markdown --write './**/*.md'",
"format:json": "prettier --parser json --write './**/*.json'",
"format:source": "prettier --write './**/*.{js,ts}'"
},
"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": {
"prettier": "^2.3.2",
"typescript": "^4.5.5"
}
}