think/package.json

49 lines
1.9 KiB
JSON
Raw Normal View History

2022-02-20 11:51:55 +00: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 05:57:55 +00: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 11:51:55 +00: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",
2022-03-24 05:34:06 +00:00
"pm2": "pnpm run pm2:server && pnpm run pm2:client",
2022-02-20 11:51:55 +00:00
"pm2:server": "pnpm run --dir packages/server pm2",
2022-03-12 02:31:03 +00:00
"pm2:client": "pnpm run --dir packages/client pm2",
2022-03-27 07:43:06 +00:00
"format": "concurrently \"pnpm:format:*\"",
"format:ts": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
"format:css": "stylelint --fix --formatter verbose --allow-empty-input \"packages/**/*.{css,scss,sass}\""
2022-02-20 11:51:55 +00: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-04-24 13:23:36 +00:00
"pre-commit": "^1.2.2",
2022-03-12 02:31:03 +00:00
"prettier": "^2.3.2",
2022-03-27 07:43:06 +00:00
"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",
2022-02-20 11:51:55 +00:00
"typescript": "^4.5.5"
2022-04-24 13:23:36 +00:00
},
2022-04-24 14:09:58 +00:00
"pre-commit": "format"
2022-03-12 03:27:56 +00:00
}