-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
147 lines (147 loc) · 4.31 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
141
142
143
144
145
146
147
{
"scripts": {
"start": "NODE_ENV=test karma start",
"lint": "yarn run lint-scss && yarn run lint-js-css && yarn run lint-ts",
"lint-scss": "stylelint --config '.stylelintrc-scss.json' 'app/**/*.scss' --syntax scss",
"lint-js-css": "stylelint --config '.stylelintrc-jsx.json' 'app/**/*.{ts,tsx,js,jsx}'",
"lint-ts": "tslint --project tsconfig.json 'app/javascript/**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --check 'app/javascript/**/*.{ts,tsx,js,jsx}'",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "./pre-commit.sh",
"pre-push": "./pre-push.sh"
}
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleFileExtensions": [
"ts",
"tsx",
"jsx",
"js",
"json"
],
"globals": {
"ts-jest": {
"babelConfig": true,
"tsConfig": "tsconfig-jest.json",
"isolatedModules": true
}
},
"resetMocks": true,
"resetModules": true,
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.tsx",
"!src/**/index.ts"
],
"testMatch": [
"<rootDir>/app/javascript/**/*.test.jsx"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/app/javascript/testSetup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|svg|ttf|woff|woff2)$": "<rootDir>/.testconfig/fileMocks.ts",
"\\.(css)$": "identity-obj-proxy"
},
"preset": "ts-jest/presets/js-with-babel"
},
"dependencies": {
"@babel/core": ">=7.23.2",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-typescript": "^7.22.5",
"@babel/runtime": "7.23.2",
"@github/webauthn-json": "^2.1.1",
"@rails/activestorage": "^7.0.6",
"@rails/ujs": "^7.0.6",
"axios": "1.7.4",
"babel-loader": "9.1.3",
"brave-ui": "git+https://github.com/brave/brave-ui#4a76f0153255278d5a792bd9e9d1056ef0c602d0",
"chart.js": "4.4.0",
"clipboard": "^2.0.11",
"compression-webpack-plugin": "10",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"dompurify": "^3.0.5",
"is-accessor-descriptor": "3.0.2",
"js-yaml": "4.1.0",
"kind-of": "^6.0.3",
"mini-css-extract-plugin": "^2.7.6",
"moment": "^2.29.4",
"prop-types": "^15.8.1",
"react": "^16.6.3",
"react-avatar-editor": "^13.0.0",
"react-dom": "^16.6.3",
"react-intl": "^6.4.4",
"react-select": "^5.7.4",
"react-tooltip": "^5.21.5",
"sass": "^1.64.1",
"sass-loader": "^13.3.2",
"shakapacker": "7.2.2",
"stream-browserify": "^3.0.0",
"style-loader": "^3.3.3",
"styled-components": "5.3.11",
"terser-webpack-plugin": "5.3.9",
"tributejs": "^5.1.3",
"vm-browserify": "^1.1.2",
"webpack": "5.94.0",
"webpack-assets-manifest": "5.2.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "5.9"
},
"devDependencies": {
"@babel/plugin-transform-class-properties": "7.25.7",
"@babel/preset-react": "7.25.7",
"@types/jest": "29.5.13",
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"@types/styled-components": "5.1.34",
"audit-ci": "6.6.1",
"autoprefixer": "10.4.19",
"babel-plugin-styled-components": "2.1.4",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"cssnano": "6.0.1",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.8",
"enzyme-to-json": "3.6.2",
"fork-ts-checker-webpack-plugin": "9.0.2",
"husky": "9.1.6",
"jest-styled-components": "7.2.0",
"node-sass": "9.0.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
"stylelint": "15.11.0",
"stylelint-config-recommended-scss": "12.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-scss": "5.0.1",
"sugarss": "4.0.1",
"ts-loader": "9.5.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"tslint-config-standard": "9.0.0",
"tslint-react": "5.0.0",
"typescript": "5.6.3"
},
"resolutions": {
"node-fetch": "3.3.2",
"nth-check": "2.1.1",
"postcss": "8.4.33",
"@types/react": "16.14.46",
"@types/styled-components": "5.1.34",
"tar": "6.2.1"
},
"browserslist": [
"defaults"
]
}