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
148
149
150
151
152
153
154
155
156
157
|
{
"name": "SonarQube",
"version": "0.0.1",
"description": "Put your technical debt under control",
"repository": "SonarSource/sonarqube",
"license": "LGPL-3.0",
"dependencies": {
"babel-polyfill": "6.23.0",
"backbone": "1.2.3",
"backbone.marionette": "2.4.3",
"blueimp-md5": "1.1.1",
"classnames": "2.2.0",
"clipboard": "1.5.5",
"create-react-class": "15.6.0",
"d3-array": "1.1.1",
"d3-hierarchy": "1.1.4",
"d3-scale": "1.0.5",
"d3-selection": "1.0.5",
"d3-shape": "1.0.6",
"date-fns": "1.28.5",
"escape-html": "1.0.3",
"handlebars": "2.0.0",
"history": "3.3.0",
"intl-relativeformat": "2.0.0",
"jquery": "2.2.0",
"keymaster": "1.6.2",
"lodash": "4.17.4",
"numeral": "1.5.3",
"prop-types": "15.5.10",
"rc-tooltip": "3.4.7",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-draggable": "2.2.6",
"react-helmet": "5.1.3",
"react-intl": "2.3.0",
"react-modal": "2.2.2",
"react-redux": "5.0.5",
"react-router": "3.0.5",
"react-select": "1.0.0-rc.5",
"react-virtualized": "9.9.0",
"redux": "3.3.1",
"redux-logger": "2.2.1",
"redux-thunk": "1.0.2",
"underscore": "1.8.3",
"whatwg-fetch": "1.0.0"
},
"devDependencies": {
"@types/classnames": "2.2.0",
"@types/date-fns": "2.6.0",
"@types/enzyme": "2.8.6",
"@types/escape-html": "0.0.19",
"@types/jest": "20.0.7",
"@types/jquery": "3.2.11",
"@types/lodash": "4.14.73",
"@types/prop-types": "15.5.1",
"@types/react": "16.0.2",
"@types/react-dom": "15.5.2",
"@types/react-helmet": "5.0.3",
"@types/react-intl": "2.3.1",
"@types/react-modal": "2.2.0",
"@types/react-redux": "5.0.3",
"@types/react-router": "3.0.5",
"@types/react-select": "1.0.51",
"autoprefixer": "7.1.1",
"awesome-typescript-loader": "3.2.3",
"babel-core": "^6.22.1",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.0.0",
"babel-plugin-dynamic-import-node": "1.0.2",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-class-properties": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-plugin-transform-react-constant-elements": "^6.22.0",
"babel-plugin-transform-react-jsx-self": "^6.22.0",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-preset-env": "^1.1.8",
"babel-preset-react": "^6.22.0",
"chalk": "1.1.3",
"css-loader": "0.28.4",
"enzyme": "2.9.1",
"enzyme-to-json": "1.5.1",
"eslint": "3.14.1",
"eslint-loader": "1.8.0",
"eslint-plugin-flowtype": "^2.29.1",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.8.0",
"expose-loader": "0.7.3",
"extract-text-webpack-plugin": "2.1.2",
"flow-bin": "^0.52.0",
"fs-extra": "0.30.0",
"handlebars-loader": "1.5.0",
"html-webpack-plugin": "2.28.0",
"jest": "20.0.4",
"less": "2.7.1",
"less-loader": "4.0.4",
"postcss-loader": "2.0.6",
"prettier": "1.5.2",
"react-dev-utils": "3.0.0",
"react-error-overlay": "1.0.7",
"react-test-renderer": "15.6.1",
"rimraf": "2.5.4",
"style-loader": "0.18.2",
"ts-jest": "20.0.10",
"typescript": "2.4.2",
"webpack": "2.6.1",
"webpack-bundle-analyzer": "2.8.2",
"webpack-dev-server": "2.4.5"
},
"scripts": {
"start": "node scripts/start.js",
"build-fast": "node scripts/build.js --fast",
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"coverage": "npm test -- --coverage",
"format": "prettier --write --single-quote --jsx-bracket-same-line --print-width 100 'src/main/{js,less}/!(libs)/**/*.{js,css,less}'",
"lint": "eslint src/main/js",
"typecheck": "flow src/main/js",
"validate": "eslint src/main/js && flow check src/main/js && NODE_ENV=test jest"
},
"engines": {
"node": ">=6"
},
"browserslist": [
"last 3 Chrome versions",
"last 3 Firefox versions",
"last 3 Safari versions",
"last 3 Edge versions",
"IE 11"
],
"jest": {
"coverageDirectory": "<rootDir>/target/coverage",
"coveragePathIgnorePatterns": ["<rootDir>/node_modules", "<rootDir>/tests"],
"mapCoverage": true,
"moduleFileExtensions": ["ts", "tsx", "js", "json"],
"moduleNameMapper": {
"^.+\\.(hbs|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/FileStub.js",
"^.+\\.css$": "<rootDir>/config/jest/CSSStub.js"
},
"setupFiles": [
"<rootDir>/config/polyfills.js",
"<rootDir>/config/jest/SetupTestEnvironment.js"
],
"snapshotSerializers": ["enzyme-to-json/serializer"],
"testPathIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/src/main/webapp",
"<rootDir>/scripts"
],
"testRegex": "(/__tests__/.*|\\-test)\\.(ts|tsx|js)$",
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
}
}
}
|