-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.92 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.92 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "opensrp-web",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "lerna run start --scope=@opensrp/web",
"start:https": "HTTPS=true SSL_CRT_FILE=localhost.pem SSL_KEY_FILE=localhost-key.pem lerna run start --scope=@opensrp/web",
"start:chrome": "open -n -a 'Google Chrome' --args --user-data-dir=/tmp/chrome --disable-web-security",
"generate-certs": "if command -v mkcert > /dev/null; then mkcert localhost; else openssl req -x509 -newkey rsa:4096 -keyout localhost-key.pem -out localhost.pem -days 365 -nodes -subj '/CN=localhost'; fi",
"dev": "yarn generate-certs && yarn start:https",
"build": "lerna run build --scope=@opensrp/web",
"lerna:prepublish": "lerna run build --include-dependencies --stream --no-private",
"lerna:version": "lerna version --include-merged-tags --conventional-commits --create-release github --sign-git-commit --sign-git-tag",
"lerna:publish": "yarn install && yarn run lerna:prepublish && lerna publish from-package --ignore-scripts --ignore-prepublish",
"test": "jest",
"lint": "eslint '{packages,app}/**/*.{js,ts,tsx}' --max-warnings 0",
"postinstall": "patch-package",
"i18n:extract": "node ${PROJECT_CWD}/scripts/i18nExtraction.js",
"prepare": "husky install"
},
"lint-staged": {
"!(*d).ts": [
"eslint --fix --max-warnings 0"
],
"*.tsx": [
"eslint --fix --max-warnings 0"
],
"!(**/*dist/**/*)(*eslint).{js,jsx}": [
"eslint --fix --max-warnings 0"
],
"*.{json,js,jsx,ts,tsx,css,scss,md}": [
"prettier --write"
],
"*.{snap, test.tsx}": [
"eslint"
]
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@jridgewell/gen-mapping": "^0.3.1",
"@onaio/connected-private-route": "^0.1.0",
"@onaio/connected-reducer-registry": "^0.0.3",
"@reduxjs/toolkit": "^1.7.1",
"@smile-cdr/fhirts": "1.2.5",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/bootstrap": "^5.1.9",
"@types/enzyme": "^3.10.11",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/enzyme-to-json": "^1.5.3",
"@types/geojson": "^7946.0.8",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.19",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-helmet": "^6.1.5",
"@types/react-redux": "^7.1.22",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"@types/redux-mock-store": "^1.0.3",
"@types/redux-testkit": "^1.0.5",
"@types/seamless-immutable": "^7.1.16",
"@types/vinyl-fs": "^2.4.12",
"@types/yargs": "^17.0.10",
"@types/yup": "^0.29.13",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"antd": "^5.5.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.1",
"enzyme": "^3.10.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.9.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react": "^1.1.7",
"eslint-config-react-app": "^7.0.0",
"eslint-config-typestrict": "^1.0.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsdoc": "^37.6.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-sonarjs": "^0.12.0",
"flush-promises": "^1.0.2",
"glob": "^8.0.1",
"husky": "^8.0.0",
"i18next-parser": "^9.0.2",
"jest": "27.5.1",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom-sixteen": "^2.0.0",
"jest-fetch-mock": "^3.0.3",
"jest-haste-map": "^27.4.6",
"jest-resolve": "^27.4.6",
"lerna": "^8.1.9",
"lint-staged": "^12.2.1",
"mockdate": "^3.0.5",
"nock": "^13.0.6",
"node-fetch": "2.6.7",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-redux": "^7.2.6",
"react-router": "^5.2.1",
"react-router-dom": "^5.2.1",
"react-scripts": "5.0.0",
"redux": "^4.1.2",
"redux-mock-store": "^1.5.4",
"redux-testkit": "^1.0.6",
"redux-thunk": "^2.4.1",
"tsd": "^0.19.1",
"typescript": "5.1.3",
"vinyl": "^2.2.1",
"vinyl-fs": "^3.0.3",
"yargs": "^17.4.1"
},
"workspaces": [
"app",
"packages/*"
],
"packageManager": "yarn@3.6.1"
}