-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
116 lines (116 loc) · 3.3 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
{
"license": "UNLICENSED",
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@popperjs/core": "^2.11.8",
"babel-loader": "^9.2.1",
"bootstrap": "^5.3.3",
"color-convert": "^2.0.1",
"core-js": "^3.39.0",
"css-loader": "^7.1.2",
"d3-scale-chromatic": "^3.1.0",
"date-fns": "^4.1.0",
"fast-levenshtein": "^3.0.0",
"font-awesome": "^4.7.0",
"highcharts": "^12.0.1",
"highcharts-react-official": "^3.2.1",
"husky": "^9.1.7",
"jquery": "3.7.1",
"jquery-ui": "^1.14.1",
"jquery-ujs": "^1.2.3",
"js-cookie": "^3.0.5",
"jsona": "^1.12.1",
"jstz": "^2.1.1",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"match-sorter": "^8.0.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss-preset-env": "^10.1.1",
"prop-types": "^15.8.1",
"rc-resize-observer": "^1.4.0",
"react": "^18.3.1",
"react-color": "^2.19.3",
"react-dom": "^18.3.1",
"react-on-screen": "^2.1.1",
"react-scroll-into-view-if-needed": "^3.0.1",
"react-select": "^5.8.3",
"react-table": "^7.8.0",
"react-table-6": "^6.11.0",
"recharts": "2.12.5",
"regenerator-runtime": "^0.14.1",
"sass": "^1.82.0",
"sass-loader": "^16.0.3",
"select2": "4.0.13",
"webpack": "^5.97.0",
"webpack-cli": "^5.1.4",
"webpack-remove-empty-scripts": "^1.0.4",
"whatwg-fetch": "^3.6.20"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.9",
"@eslint/compat": "^1.2.3",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.14.0",
"@prettier/plugin-ruby": "^4.0.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
"eslint": "^9.16.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"globals": "^15.13.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"msw": "1.0.1",
"prettier": "^3.4.1"
},
"engines": {
"node": "v20.18.0"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"app/javascript/**/*.{js,jsx}"
],
"coverageReporters": [
"html",
"lcov",
"text-summary"
],
"modulePaths": [
"<rootDir>/app/javascript/src"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "<rootDir>/spec/javascript/support/identity-mapper.js"
},
"setupFilesAfterEnv": [
"<rootDir>/spec/javascript/support/setup.js"
],
"testEnvironment": "jest-environment-jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/config/"
],
"transformIgnorePatterns": [
"node_modules/(?!(d3-scale-chromatic|d3-interpolate|d3-color)/)"
]
},
"scripts": {
"prepare": "husky",
"build": "NODE_ENV=production webpack --config webpack.config.js",
"dev": "NODE_ENV=development webpack --config webpack.config.js --watch",
"lint": "yarn run prettier && yarn run eslint",
"eslint": "eslint .",
"prettier": "prettier --check .",
"prettier-fix": "prettier --write .",
"test": "jest"
},
"lint-staged": {
"*.{css,html,js,json,jsx,md,rb,ru,scss,yml,yaml,rake}": "prettier --write",
"Gemfile": "prettier --write",
"*.{js,jsx}": "eslint --fix"
}
}