-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
159 lines (159 loc) · 6.48 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
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "haystack-ui",
"version": "1.0.0",
"private": true,
"scripts": {
"clean": "rm -rf public/bundles/ && rm -rf static_codegen",
"codegen": "mkdir -p static_codegen && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./static_codegen/ --grpc_out=./static_codegen --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` -I ./haystack-idl/proto/ ./haystack-idl/proto/span.proto && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./static_codegen/ --grpc_out=./static_codegen --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` -I ./haystack-idl/proto/api/ -I ./haystack-idl/proto/ ./haystack-idl/proto/api/traceReader.proto && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./static_codegen/ --grpc_out=./static_codegen --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` -I ./haystack-idl/proto/api/ -I ./haystack-idl/proto/ ./haystack-idl/proto/api/anomaly/anomalyReader.proto && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./static_codegen/ --grpc_out=./static_codegen --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` -I ./haystack-idl/proto/api/ -I ./haystack-idl/proto/ ./haystack-idl/proto/api/subscription/subscriptionManagement.proto",
"coverage": "nyc --extension=.jsx --reporter=lcov --reporter=text npm test && nyc report --reporter=text-lcov | coveralls",
"coverage:fast": "nyc --extension=.jsx --reporter=lcov --reporter=text npm run mocha",
"eslint": "echo 'Running eslint...' && eslint --ext js,jsx src server universal && echo 'Done' ",
"mocha": "mocha --require ignore-styles --compilers js:@babel/register --require ./test/src/test_helper.js \"test/**/*@(.js|.jsx)\" --exit --timeout 10000",
"test": "npm run eslint && npm run mocha",
"build": "npm run clean && npm run codegen && npm run coverage && webpack --mode=production",
"start": "node server/start.js",
"start:dev": "npm run clean && npm run codegen && npm run test && concurrently -r \"npm run watch\" \"wait-on public/bundles/report.html && npm run start:devserver\"",
"start:dev:fast": "npm run clean && npm run codegen && concurrently -r \"npm run watch\" \"wait-on public/bundles/report.html && npm run start:devserver\"",
"start:dev:insights": "HAYSTACK_PROP_CONNECTORS_SERVICE__INSIGHTS_ENABLE__SERVICE__INSIGHTS=true npm run start:dev:fast",
"start:dev:insights:mock": "HAYSTACK_PROP_CONNECTORS_SERVICE__INSIGHTS_ENABLE__SERVICE__INSIGHTS=true HAYSTACK_PROP_CONNECTORS_TRACES_CONNECTOR__NAME=mock npm run start:dev:fast",
"start:devserver": "NODE_ENV=development nodemon --inspect --ignore 'public/*' server/start.js",
"watch": "NODE_ENV=development webpack -w --mode=development"
},
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"axios": "^0.18.1",
"body-parser": "^1.18.2",
"compression": "^1.7.2",
"cookie-session": "^2.0.0-beta.3",
"dagre": "^0.8.4",
"deepmerge": "^4.0.0",
"express": "^4.16.3",
"express-session": "^1.15.6",
"express-winston": "^2.5.1",
"finished": "^1.2.2",
"flat": "^4.0.0",
"google-protobuf": "^3.5.0",
"grpc": "^1.20.1",
"https": "^1.0.0",
"lodash": "^4.17.15",
"measured": "^1.1.0",
"moment": "^2.22.1",
"particles.js": "^2.0.0",
"passport": "^0.4.0",
"passport-saml": "^0.33.0",
"pug": "^2.0.3",
"q": "^1.5.1",
"qs": "^6.5.2",
"seedrandom": "^3.0.1",
"serve-favicon": "^2.5.0",
"statsd-client": "^0.4.2",
"winston": "^2.4.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"assets-webpack-plugin": "^4.0.0",
"axios-mock-adapter": "^1.15.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-dynamic-import-node": "^1.2.0",
"babel-plugin-lodash": "^3.3.2",
"canvas": "^2.0.0",
"chai": "^4.1.2",
"chalk": "^2.4.1",
"chart.js": "^2.9.0",
"chartjs-plugin-zoom": "^0.7.5",
"color-hash": "^1.0.3",
"concurrently": "^3.6.0",
"coveralls": "^3.0.1",
"css-loader": "^3.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"grpc-tools": "^1.8.0",
"history": "^4.7.2",
"husky": "^2.4.1",
"ignore-styles": "^5.0.1",
"js-cookie": "^2.2.0",
"jsdom": "^11.10.0",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"lodash-webpack-plugin": "^0.11.5",
"mini-css-extract-plugin": "^0.4.0",
"mobx": "^5.14.2",
"mobx-react": "^6.1.4",
"mobx-utils": "^5.5.1",
"mocha": "5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^1.18.3",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.0",
"progress-bar-webpack-plugin": "^1.11.0",
"prop-types": "^15.6.1",
"proxyquire": "^2.0.1",
"react": "^16.11.0",
"react-bootstrap-table": "^4.0.0-beta.9",
"react-chartjs-2": "^2.9.0",
"react-circular-progressbar": "^0.8.0",
"react-copy-to-clipboard": "^5.0.1",
"react-datetime": "^2.14.0",
"react-dom": "^16.11.0",
"react-ga": "^2.5.0",
"react-hot-loader": "^4.1.3",
"react-modal": "^3.4.4",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-select": "^1.2.1",
"react-sparklines": "^1.7.0",
"react-test-renderer": "^16.3.2",
"react-typist": "^2.0.4",
"react-vis": "^1.9.3",
"sinon": "^1.17.7",
"style-loader": "^0.21.0",
"supertest": "^3.0.0",
"svg-url-loader": "^3.0.0",
"timeago.js": "^3.0.2",
"vis": "^4.21.0-EOL",
"vizceral": "^4.7.3",
"vizceral-react": "^4.6.4",
"wait-on": "^2.1.0",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-command": "^0.4.1",
"whatwg-url": "^7.0.0"
},
"nyc": {
"exclude": [
"**/*.spec.*",
"build",
"coverage",
"haystack-idl",
"public",
"static_codegen",
"server/connectors/trends/stub/*",
"server/connectors/traces/stub/*",
"server/connectors/serviceGraph/stub/*",
"server/connectors/alerts/stub/*"
]
}
}