Adding Prettier and fixing up eslint version
[sdc.git] / openecomp-ui / package.json
1 {
2     "name": "dox-ui",
3     "version": "1.0.0",
4     "description": "",
5     "author": "ONAP",
6     "license": "SEE LICENSE IN LICENSE",
7     "scripts": {
8         "start": "gulp dev && webpack-dev-server --progress",
9         "build": "gulp build",
10         "css-usage": "gulp css-usage",
11         "static-keys-bundle": "gulp static-keys-bundle",
12         "check-keys-against-bundles": "gulp static-keys-bundle-with-report",
13         "test": "jest",
14         "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js",
15         "test-dev": "jest --watch",
16         "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html",
17         "test-build": "jest --coverage",
18         "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts",
19         "storyshots": "jest storyshots.test.js",
20         "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts",
21         "lint-fix": "eslint --fix  --ext .js --ext .jsx src"
22     },
23     "dependencies": {
24         "attr-accept": "^1.1.0",
25         "axios": "^0.16.2",
26         "classnames": "^2.2.5",
27         "core-js": "^2.4.0",
28         "d3": "^4.10.0",
29         "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
30         "intl": "^1.0.1",
31         "intl-format-cache": "^2.0.5",
32         "intl-messageformat": "^1.2.0",
33         "intl-relativeformat": "^1.2.0",
34         "lodash": "^4.13.1",
35         "md5": "^2.1.0",
36         "prop-types": "^15.6.0",
37         "randomstring": "^1.1.5",
38         "react": "^15.6.2",
39         "react-bootstrap": "^0.32.1",
40         "react-click-outside": "^2.3.1",
41         "react-datepicker": "^0.48.0",
42         "react-dnd": "^2.5.4",
43         "react-dnd-html5-backend": "^2.5.4",
44         "react-dom": "^15.6.2",
45         "react-dropzone": "4.2.3",
46         "react-input-autosize": "^2.2.0",
47         "react-redux": "^5.0.6",
48         "react-select": "1.2.1",
49         "react-show-more": "^1.1.1",
50         "react-sortable": "^1.2.0",
51         "redux": "^3.7.2",
52         "sdc-ui": "1.6.24",
53         "uuid-js": "^0.7.5",
54         "validator": "^4.3.0"
55     },
56     "devDependencies": {
57         "@kadira/storybook": "^2.35.3",
58         "@kadira/storybook-addon-knobs": "^1.7.1",
59         "@kadira/storybook-addon-options": "^1.0.2",
60         "babel-core": "^6.24.0",
61         "babel-eslint": "^8.2.1",
62         "babel-jest": "^22.1.0",
63         "babel-loader": "^7.0.0-beta.1",
64         "babel-plugin-transform-class-properties": "^6.10.2",
65         "babel-plugin-transform-decorators-legacy": "^1.3.4",
66         "babel-plugin-transform-object-rest-spread": "^6.8.0",
67         "babel-plugin-transform-runtime": "^6.22.0",
68         "babel-preset-env": "^1.6.1",
69         "babel-preset-react": "^6.23.0",
70         "css-loader": "^0.23.1",
71         "deep-freeze": "0.0.1",
72         "del": "^3.0.0",
73         "enzyme": "^2.7.1",
74         "eslint": "^4.18.1",
75         "eslint-config-prettier": "^2.9.0",
76         "eslint-loader": "^2.0.0",
77         "eslint-plugin-import": "^2.9.0",
78         "eslint-plugin-prettier": "^2.6.0",
79         "eslint-plugin-react": "^7.7.0",
80         "express": "^4.13.3",
81         "file-loader": "^0.8.5",
82         "gulp": "^3.9.1",
83         "gulp-clean": "^0.3.1",
84         "gulp-css-usage": "^2.0.0",
85         "gulp-rename": "^1.2.2",
86         "gulp-replace": "^0.5.4",
87         "gulp-sass": "^3.1.0",
88         "gulp-tap": "^1.0.1",
89         "gulp-zip": "^4.1.0",
90         "html-loader": "^0.4.3",
91         "http-proxy-middleware": "^0.17.4",
92         "ignore-loader": "^0.1.1",
93         "jasmine-core": "^2.5.2",
94         "jest": "^21.2.1",
95         "jshint": "^2.9.4",
96         "json-loader": "^0.5.4",
97         "jsx-loader": "^0.13.2",
98         "mkdirp": "^0.5.1",
99         "moment": "^2.18.1",
100         "node-sass": "^4.7.2",
101         "node-watch": "^0.3.5",
102         "prettier": "^1.10.2",
103         "prompt": "^0.2.14",
104         "react-addons-test-utils": "~15.3.2",
105         "react-hot-loader": "^3.1.3",
106         "rosie": "^1.6.0",
107         "run-sequence": "^2.2.1",
108         "sass-loader": "^6.0.6",
109         "source-map-loader": "^0.1.5",
110         "storyshots": "^3.2.2",
111         "style-loader": "^0.13.0",
112         "svg-sprite-loader": "^0.1.1",
113         "url-loader": "^0.5.7",
114         "webpack": "^2.2.1",
115         "webpack-dev-server": "^2.4.2"
116     },
117     "engines": {
118         "node": ">=8.0.0",
119         "npm": ">=5.0.0",
120         "yarn": "^1.3.2"
121     },
122     "jest": {
123         "moduleNameMapper": {
124             "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
125             "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
126             "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
127             "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
128             "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
129             "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
130             "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
131             "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
132             "^test-utils(.*)$": "<rootDir>/test-utils$1",
133             "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
134             "^src(.*)$": "<rootDir>/src$1"
135         },
136         "globals": {
137             "DEBUG": false
138         },
139         "setupFiles": [
140             "<rootDir>/test-utils/test-env-setup.js"
141         ],
142         "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
143         "testPathIgnorePatterns": [
144             "<rootDir>/node_modules/",
145             "<rootDir>/test/nfvo-components/storyshots.test.js"
146         ],
147         "collectCoverageFrom": [
148             "src/**/*.{js,jsx}"
149         ],
150         "coveragePathIgnorePatterns": [
151             "/node_modules/",
152             "(.)*.stories.js"
153         ],
154         "coverageReporters": [
155             "lcov"
156         ]
157     }
158 }