-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
109 lines (106 loc) · 3.56 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "geneaprove",
"version": "0.1.0",
"private": true,
"dependencies": {
"d3": "~5.14.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-redux": "~8.0.2",
"react-router-dom": "~6.3.0",
"react-window": "~1.8.7",
"react-window-infinite-loader": "~1.0.7",
"redux": "~4.0.3",
"redux-logger": "~3.0.6",
"redux-persist": "~4.10.2",
"redux-thunk": "~2.3.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "~2.1.3"
},
"scripts": {
"start": "concurrently --kill-others-on-fail -c='white,green,blue,red,cyan,cyan,brown' -n 'pyth,vite,tsc ,lint,test,btes,mypy' '$npm_execpath run watch-back' '$npm_execpath run watch-vite' '$npm_execpath run watch-tsc' '$npm_execpath run watch-lint' '$npm_execpath run watch-test' '$npm_execpath run watch-test-backend' '$npm_execpath run watch-mypy'",
"build": "tsc && vite build",
"manage": "./python_env/bin/python3 ./backend/manage.py",
"watch-back": "$npm_execpath run manage migrate; $npm_execpath run manage runserver 8002",
"watch-vite": "VITE_API_URL=127.0.0.1:8002 vite --clearScreen false",
"watch-tsc": "tsc -w --preserveWatchOutput",
"watch-lint": "esw -w --changed --ext .ts,.tsx frontend/src",
"watch-pylint": "pylint --rcfile=backend/pylint.rc --reports=n backend/geneaprove/**/*py",
"watch-test-coverage": "jest --coverage --watch",
"watch-test": "jest --watch",
"test-all": "jest --all",
"pretty": "prettier --tab-width=3 --write 'src/**/*tsx'",
"make_migration": "$npm_execpath run manage makemigrations geneaprove",
"watch-test-backend": "npm-watch tests:backend",
"tests:backend": "$npm_execpath run manage test --parallel --verbosity=0 geneaprove",
"watch-mypy": "npm-watch mypy",
"mypy": ". ./python_env/bin/activate; mypy; true"
},
"watch": {
"tests:backend": {
"patterns": ["backend"],
"extensions": "py",
"silent": true,
"runOnChangeOnly": false
},
"mypy": {
"patterns": ["backend"],
"extensions": "py",
"silent": true,
"runOnChangeOnly": false
}
},
"devDependencies": {
"@testing-library/jest-dom": "~5.16.4",
"@testing-library/react": "~13.3.0",
"@types/d3": "~5.7.2",
"@types/jest": "~26.0.20",
"@types/node": "~12.19.16",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@types/react-redux": "~7.1.3",
"@types/react-router-dom": "~5.3.3",
"@types/react-window": "~1.8.5",
"@types/react-window-infinite-loader": "~1.0.6",
"@typescript-eslint/eslint-plugin": "~5.27.1",
"@typescript-eslint/parser": "~5.27.1",
"@vitejs/plugin-react": "^1.3.2",
"concurrently": "^6.2.1",
"eslint": "^8.17.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-testing-library": "^5.5.1",
"eslint-watch": "^8.0.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"jest-fetch-mock": "^3.0.3",
"npm-watch": "^0.11.0",
"prettier": "1.16.4",
"ts-jest": "^28.0.4",
"typescript": "~4.6.3",
"typescript-fsa": "~2.5.0",
"vite": "^2.9.10"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}