-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
125 lines (125 loc) · 4.65 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
{
"name": "benchmarks",
"engines": {
"node": "16.x"
},
"private": true,
"dependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-private-methods": "^7.16.11",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@babel/plugin-transform-regenerator": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.14.8",
"@babel/preset-react": "^7.16.7",
"@hotwired/stimulus": "^3.0.1",
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
"@hotwired/turbo-rails": "^7.1.1",
"@popperjs/core": "^2.11.4",
"@rails/ujs": "^7.0.1",
"@reduxjs/toolkit": "^1.7.1",
"@sentry/browser": "^6.16.1",
"@stimulus/polyfills": "^2.0.0",
"@stimulus/webpack-helpers": "^2.0.0",
"babel-loader": "^8.2.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"bootstrap": "^4.6.1",
"chartist": "^0.11.4",
"chosen-js": "^1.8.7",
"core-js": "^3.16.0",
"css-loader": "^6.6.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"hogan.js": "^3.0.2",
"jquery": "^3.6.0",
"mini-css-extract-plugin": "^2.5.3",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"particles.js": "^2.0.0",
"popper.js": "^1.16.1",
"postcss": "^8.4.12",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^14.1.0",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^7.4.3",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-chartist": "^0.14.4",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-select": "^4.3.0",
"react_ujs": "^2.6.1",
"sass": "^1.49.10",
"sass-loader": "^12.6.0",
"style-loader": "^1.3.0",
"webpack": "^5.70.0",
"webpack-assets-manifest": "^5.1.0",
"webpack-cli": "^4.9.2"
},
"devDependencies": {
"@prettier/plugin-ruby": "^2.0.0",
"@testing-library/react": "^12.1.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.4.6",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.28.0",
"husky": "^7.0.4",
"jest": "^26.6.3",
"lint-staged": ">=12",
"mutationobserver-shim": "^0.3.7",
"prettier": "^2.6.1",
"react-test-renderer": "^17.0.2",
"redux-mock-store": "^1.5.4"
},
"resolutions": {
"is-svg": ">=4.2.2",
"sass": "^1.49.9",
"sass-loader": "^10.1.1",
"serialize-javascript": ">=3.1.0",
"y18n": ">=4.0.1 <5.0.0"
},
"babel": {
"presets": [
"@babel/env",
"@babel/react"
]
},
"scripts": {
"test": "jest",
"prepare": "husky install",
"docker:builder": "docker build -f config/docker/builder/Dockerfile -t benchmarks_builder:latest .",
"docker:image": "docker build -f config/docker/Dockerfile -t benchmarks:latest .",
"build": "webpack --config webpack.config.js",
"start": "docker run --rm -p 80:80 -e RAILS_ENV=production -e RAILS_MASTER_KEY=$RAILS_MASTER_KEY -e DATABASE_URL=postgresql://[email protected]/benchmarks_development -e WEBSITE_HOSTNAME=local.dev benchmarks:latest",
"up": "docker run -i --rm -p 80:80 -e RAILS_ENV=production -e RAILS_MASTER_KEY=$RAILS_MASTER_KEY -e DATABASE_URL=postgresql://[email protected]/benchmarks_development -e WEBSITE_HOSTNAME=local.dev benchmarks:latest sh",
"azstart": "docker run -d --rm -p 80:80 --name who-ihr-benchmarks-app-service_1_bc17708b -e RAILS_MASTER_KEY=$RAILS_MASTER_KEY -e DATABASE_URL=postgresql://[email protected]/benchmarks_development -e DOCKER_CUSTOM_IMAGE_NAME=whoihrbenchmarksregistry.azurecr.io/benchmarks:latest -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=who-ihr-benchmarks-app-service -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=who-ihr-benchmarks-app-service.azurewebsites.net -e WEBSITE_INSTANCE_ID=31d1571b98413b496b1c198a707d6ffc6a83a2d2559c10492f7bfe83d4fa59c3 -e HTTP_LOGGING_ENABLED=1 whoihrbenchmarksregistry.azurecr.io/benchmarks:latest"
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"./spec/javascript/setup.js"
],
"roots": [
"spec/javascript/"
],
"moduleDirectories": [
"node_modules",
"app/javascript/controllers",
"app/javascript/src"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)$": "<rootDir>/spec/javascript/__mocks__/fileMock.js"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,jsx,css,scss,md,haml,rb}": "prettier --write"
},
"prettier": {
"semi": false,
"singleQuote": false,
"rubySingleQuote": false
}
}