-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.22 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "pagebuilder-poc",
"version": "0.1.0",
"private": true,
"homepage": "backoffice/",
"dependencies": {
"@analytics/google-tag-manager": "^0.5.3",
"@appquality/appquality-design-system": "2.0.5",
"@appquality/craft-blocks": "^0.1.27",
"@appquality/languages": "^1.4.5",
"@appquality/stream-player": "^1.0.6",
"@appquality/unguess-design-system": "^3.1.78",
"@craco/craco": "^6.4.3",
"@craftjs/core": "^0.2.0-beta.5",
"@reduxjs/toolkit": "^1.8.3",
"@sentry/cli": "^2.23.0",
"@sentry/react": "^7.84.0",
"@silevis/reactgrid": "^4.0.4",
"@zendeskgarden/react-dropdowns": "^8.75.0",
"@zendeskgarden/react-theming": "^8.75.0",
"analytics": "^0.8.1",
"husky": "^7.0.4",
"i18n-iso-countries": "^7.11.0",
"lzutf8": "^0.6.0",
"moment": "^2.29.4",
"prettier": "^2.5.1",
"qs": "^6.11.1",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-beautiful-dnd-grid": "^0.1.3-alpha",
"react-bootstrap-icons": "^1.7.2",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^17.0.2",
"react-gtm-module": "^2.0.11",
"react-intersection-observer": "^9.5.2",
"react-redux": "^7.2.6",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.2",
"redux": "^4.1.2",
"redux-thunk": "^2.4.1",
"styled-components": "^6.1.1",
"uuid": "^9.0.0",
"web-vitals": "^1.1.2"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"env": {
"browser": true
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"scripts": {
"move": "mkdir -p build/backoffice/ && mv build/* build/backoffice/ ; true",
"prepare": "npx husky install",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"generate-schema": ". ./.env.development; npx openapi-typescript $REACT_APP_API_URL/reference/ --output src/utils/schema.ts ",
"start": "craco start",
"start:ssl": "craco --openssl-legacy-provider start",
"build": "NODE_OPTIONS=\"--max-old-space-size=8192 --openssl-legacy-provider\" craco build && npm run move",
"test": "test:e2e:ci",
"test:e2e:ui": "npx playwright test --ui",
"test:e2e": "npx playwright test",
"test:unit": "react-scripts test",
"prettier": "npx prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"translate": "i18next-scanner",
"generate-api": ". ./.env.development; API_URL=$REACT_APP_API_URL/reference/ npx @rtk-query/codegen-openapi src/services/tryberApi/config.ts",
"generate-fixtures": ". ./.env.development; API_URL=$REACT_APP_API_URL/reference/; npx @appquality/fixture-generator -u $API_URL && npx prettier --write 'tests/api/**/*.json'",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org appquality-srl --project tryber-backoffice ./build && sentry-cli sourcemaps upload --org appquality-srl --project tryber-backoffice ./build"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@appquality/fixture-generator": "^1.0.3",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@currents/playwright": "^0.12.1",
"@playwright/test": "^1.41.2",
"@rtk-query/codegen-openapi": "^1.0.0-alpha.1",
"@types/qs": "^6.9.7",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-dom": "^17.0.11",
"@types/react-gtm-module": "^2.0.3",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.4",
"@types/styled-components": "^5.1.34",
"@types/uuid": "^8.3.4",
"jest-canvas-mock": "^2.4.0",
"msw": "^0.47.4",
"openapi-typescript": "^5.2.0",
"playwright": "^1.41.0",
"react-error-overlay": "6.0.9",
"react-scripts": "^4.0.3",
"ts-node": "^10.9.1",
"typescript": "4.9.5"
},
"resolutions": {
"//": "See https://github.com/facebook/create-react-app/issues/11773",
"react-error-overlay": "6.0.9"
}
}