-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.22 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
{
"name": "opendistro-anomaly-detection-kibana",
"version": "1.13.0.0",
"description": "Open Distro for Elasticsearch Anomaly Detection Kibana plugin",
"main": "index.js",
"config": {
"odfe_version": "1.13.0.0",
"odfe_name": "opendistroAnomalyDetectionKibana"
},
"scripts": {
"kbn": "node ../../scripts/kbn",
"es": "node ../../scripts/es",
"lint": "eslint .",
"plugin-helpers": "node ../../scripts/plugin_helpers",
"test:jest": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"build": "yarn plugin-helpers build && echo Renaming artifact to $npm_package_config_odfe_name-$npm_package_config_odfe_version.zip && mv ./build/$npm_package_config_odfe_name*.zip ./build/$npm_package_config_odfe_name-$npm_package_config_odfe_version.zip",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run-with-security": "cypress run --env SECURITY_ENABLED=true",
"test:e2e": "CHOKIDAR_USEPOLLING=1 CYPRESS_responseTimeout=180000 WAIT_ON_TIMEOUT=900000 start-server-and-test 'cd ../../ && yarn start --no-base-path --oss && cd plugins/anomaly-detection-kibana-plugin' http-get://localhost:5601/app/opendistro-anomaly-detection-kibana 'echo sleeping to wait for server to get ready && sleep 360 && yarn cy:run'"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,css,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@elastic/eslint-import-resolver-kibana": "link:../../packages/kbn-eslint-import-resolver-kibana",
"@types/react-plotly.js": "^2.2.4",
"@types/redux-mock-store": "^1.0.1",
"babel-polyfill": "^6.26.0",
"cypress": "^5.0.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"lint-staged": "^9.2.0",
"moment": "^2.24.0",
"redux-mock-store": "^1.5.3",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/user-event": "^12.1.6",
"start-server-and-test": "^1.11.7"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"brace": "0.11.1",
"formik": "^2.2.5",
"lodash": "^4.17.20",
"plotly.js-dist": "^1.57.1",
"react-plotly.js": "^2.4.0",
"react-redux": "^7.2.0",
"reselect": "^4.0.0"
}
}