This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpackage.json
140 lines (140 loc) · 5.61 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "drift-frontend",
"version": "1.1.0",
"private": false,
"dependencies": {
"@babel/runtime": "^7.17.2",
"@patternfly/patternfly": "^4.196.7",
"@patternfly/react-core": "^4.278.0",
"@patternfly/react-icons": "^4.72.3",
"@patternfly/react-table": "^4.90.3",
"@redhat-cloud-services/frontend-components": "^3.11.1",
"@redhat-cloud-services/frontend-components-notifications": "^3.2.11",
"@redhat-cloud-services/frontend-components-utilities": "^3.7.1",
"axios": "^1.6.8",
"classnames": "^2.3.1",
"jiff": "^0.7.3",
"moment": "^2.29.4",
"prop-types": "^15.8.1",
"query-string": "^7.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "^6.6.1",
"redux": "^4.1.2",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.2",
"ua-parser-js": "^1.0.2"
},
"sassIncludes": {
"patternfly": "node_modules/patternfly/dist/sass",
"bootstrap": "node_modules/patternfly/node_modules/bootstrap-sass/assets/stylesheets",
"fontAwesome": "node_modules/patternfly/node_modules/font-awesome-sass/assets/stylesheets"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.js",
"!<rootDir>/src/**/index.js"
],
"testPathIgnorePatterns": [
"<rootDir>/.+fixtures.+"
],
"setupFilesAfterEnv": [
"<rootDir>/config/setupTests.js"
],
"roots": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"^axios$": "axios/dist/node/axios.cjs"
},
"coverageDirectory": "./codecov-jest/"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "7.13.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.17.2",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@cypress/code-coverage": "^3.10.0",
"@cypress/react": "^7.0.2",
"@redhat-cloud-services/frontend-components-config": "^5.1.1",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.6",
"axios-mock-adapter": "^1.22.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.5.1",
"babel-loader": "^8.3.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-lodash": "^3.3.4",
"cypress": "^12.1.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-react": "^7.28.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"redux-mock-store": "^1.5.4",
"regenerator-runtime": "^0.13.9",
"stylelint": "^14.4.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-scss": "^4.1.0",
"webpack": "^5.68.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
},
"scripts": {
"build": "webpack --config config/prod.webpack.config.js",
"test": "TZ=UTC jest --verbose --no-cache --env=jsdom",
"test-watch": "jest --verbose --watch",
"lint": "npm-run-all lint:*",
"lint:js": "eslint config src",
"lint:js:fix": "eslint config src --fix",
"lint:sass": "stylelint 'src/**/*.scss' --config .stylelintrc.json",
"prod": "NODE_ENV=production webpack serve --config config/dev.webpack.config.js",
"server:ctr": "node src/server/generateServerKey.js",
"start": "NODE_ENV=development webpack serve --config config/dev.webpack.config.js",
"start:beta": "NODE_ENV=development BETA=true webpack serve --config config/dev.webpack.config.js",
"start:proxy": "PROXY=true npm run start",
"start:proxy:beta": "BETA=true npm run start:proxy",
"stage": "NODE_ENV=development webpack serve --config config/dev.stage.webpack.config.js",
"ephemeral": "CONFIG_PATH=$PWD/profiles/local-frontend-and-ephemeral-cluster.js NODE_ENV=development webpack serve --config config/dev.ephemeral.webpack.config.js",
"local": "CONFIG_PATH=$PWD/profiles/local-frontend-and-local.js NODE_ENV=development webpack serve --config config/dev.local.webpack.config.js",
"travis:build": "NODE_ENV=production webpack --config config/prod.webpack.config.js",
"travis:verify": "npm-run-all travis:build lint test test:ct",
"verify": "npm-run-all build lint test",
"nightly": "npm run travis:verify",
"update-snapshot": "jest -u --env=jsdom",
"test:ct": "BABEL_ENV=componentTest cypress run --component",
"test:openct": "cypress open --component",
"coverage": "bash coverage.sh"
},
"insights": {
"appname": "drift"
},
"nyc": {
"report-dir": "codecov-cypress",
"include": [
"src/**/*"
],
"exclude": [
"src/**/*.test.js"
]
},
"overrides": {
"axios": "^1.6.8"
}
}