-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
69 lines (69 loc) · 2.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "mono",
"description": "",
"license": "MIT",
"packageManager": "[email protected]",
"private": true,
"workspaces": {
"packages": [
"app",
"server",
"common/core",
"common/feature",
"common/ui",
"common/api"
]
},
"scripts": {
"start": "pkill -9 node; yarn clean && yarn docker-reload && yarn build && yarn workspace @mono/server start || yarn docker-clean",
"dev": "pkill -9 node; yarn clean && yarn docker-reload && NODE_ENV=development concurrently \"yarn workspace @mono/server start\" \"yarn workspace @mono/app dev\"",
"docker-clean": "docker-compose down --volumes && rm -rf ./db-data",
"docker-reload": "yarn docker-clean && docker-compose up -d",
"build": "NODE_ENV=production yarn workspace @mono/app build && yarn tsc --noEmit false",
"swc:common": "yarn workspaces foreach -v run swc",
"swc-watch:common": "yarn workspaces foreach -vp run swc-watch",
"clean": "yarn workspaces foreach -v exec rm -rf dist build",
"tsc": "yarn workspaces foreach -vt run tsc",
"tsc-test": "yarn tsc && yarn test",
"test": "jest",
"test-update": "jest --updateSnapshot",
"test-all": "yarn workspaces foreach run test",
"lint": "yarn prettier-fix && yarn remove-unused-imports",
"eslint-check": "yarn eslint --ext .js,.jsx,.ts,.tsx **/src",
"remove-unused-imports": "yarn eslint --fix --ext .js,.jsx,.ts,.tsx --no-eslintrc --config ./.eslintrc-remove-imports **/src",
"prettier-check": "npx prettier --check .",
"prettier-fix": "npx prettier --write .",
"npm-update": "npx -y npm-check-updates -u && yarn workspaces foreach -v run npm-update && yarn"
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/redux": "^3.6.31",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-pretty": "^6.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.1.0",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
},
"dependencies": {
"@reduxjs/toolkit": "^1.9.7",
"redux": "^4.2.1"
}
}