-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
130 lines (130 loc) · 5.26 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
{
"name": "sane-reports",
"version": "1.0.4",
"description": "Reports library that will keep you sane and not pulling your hair out. sane-report is a library that helps you to generate headless reports according to simple language.",
"homepage": "https://www.demisto.com",
"author": "Demisto (Doron Sharon)",
"repository": {
"type": "git",
"url": "https://github.com/demisto/sane-reports"
},
"license": "Apache License Version 2.0",
"bugs": {
"url": "https://github.com/demisto/sane-reports"
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && webpack",
"production": "NODE_ENV=production npm run build -- --progress --env.production",
"start": "./node_modules/.bin/webpack-dev-server --content-base ./dist --port 8082 --no-info --colors",
"start-prod": "NODE_ENV=production webpack-dev-server --content-base ./dist --port 8082 --no-info --colors --config webpack.production.config.js",
"generate-report": "./reportsServer templates/test.json",
"devtools": "DEV_TOOLS=1 npm start",
"lint": "eslint src tests",
"make": "cd reportService && npm install && npm run build",
"test": "NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha -- tests -R spec --compilers js:babel-core/register,css:null-compiler.js --require ./tests/helpers/helper.js --recursive --check-leaks",
"test-no-cover": "NODE_ENV=test mocha tests -R spec --compilers js:babel-core/register,css:null-compiler.js --require ./tests/helpers/helper.js --recursive --check-leaks",
"coverage": "NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- tests --require @babel/register --require null-compiler.js --ignore node_modules,vendors --require ./tests/helpers/helper.js --recursive --timeout 60000",
"test:watch": "npm run test-no-cover -- -w",
"check": "npm run lint && npm run test",
"test:macos": "npm run build-mac --prefix=reportService && npm run production && prefix=$(date +%F_%H-%M-%S) && NODE_ENV=test ./reportsServer ${npm_config_data:-templates/incidentDailyReportTempalte.json} test.pdf dist portrait 60000 pdf '' '' '' A4 '' ${npm_config_chrome:-'/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'} && mv test.pdf out/${prefix}_test.pdf && open out/${prefix}_test.pdf"
},
"pre-commit": [
"lint"
],
"dependencies": {
"babel-runtime": "6.25.0",
"classnames": "2.2.5",
"core-js": "3.1.4",
"create-react-class": "15.6.3",
"gulp": "3.9.1",
"jquery": "3.5.0",
"less": "2.7.2",
"lodash": "4.17.21",
"markdown-it": "13.0.1",
"markdown-it-abbr": "1.0.4",
"markdown-it-container": "2.0.0",
"markdown-it-deflist": "2.0.3",
"markdown-it-emoji": "1.4.0",
"markdown-it-footnote": "3.0.2",
"markdown-it-ins": "3.0.0",
"markdown-it-mark": "3.0.0",
"markdown-it-sub": "1.0.0",
"markdown-it-sup": "1.0.0",
"moment": "2.21.0",
"moment-duration-format": "2.3.2",
"moment-timezone": "0.5.14",
"parse-link-header": "0.4.1",
"postcss-reporter": "1.4.1",
"prop-types": "15.7.2",
"react": "16.8.5",
"react-dom": "16.8.5",
"react-grid-layout": "0.16.2",
"react-highlight": "0.14.0",
"react-json-inspector-demisto": "1.0.2",
"react-pure-render": "1.0.2",
"react-virtualized": "9.16.1",
"recharts": "1.0.0-beta.5",
"seedrandom": "2.4.3",
"semantic-ui": "2.2.11",
"uuid": "3.3.2",
"validator": "11.1.0",
"whatwg-fetch": "1.0.0"
},
"devDependencies": {
"@babel/core": "7.1.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/preset-env": "7.1.0",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.0.0",
"@babel/runtime": "7.1.2",
"assets-webpack-plugin": "3.5.1",
"babel-eslint": "10.0.1",
"babel-loader": "8.0.4",
"babel-plugin-react-transform": "2.0.2",
"babel-polyfill": "6.23.0",
"chai": "4.2.0",
"coveralls": "3.0.2",
"css-loader": "1.0.0",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.11.2",
"eslint": "6.0.1",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.18.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.2",
"file-loader": "3.0.1",
"html-webpack-plugin": "3.2.0",
"http-server": "0.11.1",
"image-webpack-loader": "4.6.0",
"istanbul": "1.0.0 || 1.1.0-alpha.1",
"jsdom": "9.4.1",
"json-loader": "0.5.7",
"less-loader": "4.0.5",
"mini-css-extract-plugin": "0.5.0",
"mocha": "5.2.0",
"mocha-lcov-reporter": "1.3.0",
"node-libs-browser": "2.0.0",
"normalize.css": "7.0.0",
"phantomjs-prebuilt": "2.1.16",
"postcss": "6.0.8",
"postcss-cssnext": "3.1.0",
"postcss-import": "10.0.0",
"postcss-loader": "2.0.6",
"postcss-url": "7.1.1",
"react-addons-test-utils": "15.6.0",
"react-transform-catch-errors": "1.0.2",
"react-transform-hmr": "1.0.4",
"redbox-react": "1.4.3",
"string-replace-loader": "2.1.1",
"style-loader": "0.18.2",
"webpack": "4.29.6",
"webpack-cli": "3.3.0",
"webpack-dev-middleware": "1.11.0",
"webpack-dev-server": "3.2.1",
"webpack-hot-middleware": "2.18.2",
"webpack-livereload-plugin": "0.11.0"
}
}