From 7fdf733a64670fceefc3ded35cfa581e1c458179 Mon Sep 17 00:00:00 2001 From: Einav Weiss Keidar Date: Tue, 20 Mar 2018 14:45:40 +0200 Subject: Adding Prettier and fixing up eslint version Issue-ID: SDC-1094 Change-Id: Ie83ad95a03899345dd90235daf0323cbe3bc6afd Signed-off-by: Einav Weiss Keidar --- openecomp-ui/package.json | 304 +++++++++++++++++++++++----------------------- 1 file changed, 154 insertions(+), 150 deletions(-) (limited to 'openecomp-ui/package.json') diff --git a/openecomp-ui/package.json b/openecomp-ui/package.json index ecc28f7552..70c86cc50a 100644 --- a/openecomp-ui/package.json +++ b/openecomp-ui/package.json @@ -1,154 +1,158 @@ { - "name": "dox-ui", - "version": "1.0.0", - "description": "", - "author": "ONAP", - "license": "SEE LICENSE IN LICENSE", - "scripts": { - "start": "gulp dev && webpack-dev-server --progress", - "build": "gulp build", - "css-usage": "gulp css-usage", - "static-keys-bundle": "gulp static-keys-bundle", - "check-keys-against-bundles": "gulp static-keys-bundle-with-report", - "test": "jest", - "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js", - "test-dev": "jest --watch", - "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html", - "test-build": "jest --coverage", - "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts", - "storyshots": "jest storyshots.test.js", - "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts" - }, - "dependencies": { - "attr-accept": "^1.1.0", - "axios": "^0.16.2", - "classnames": "^2.2.5", - "core-js": "^2.4.0", - "d3": "^4.10.0", - "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui", - "intl": "^1.0.1", - "intl-format-cache": "^2.0.5", - "intl-messageformat": "^1.2.0", - "intl-relativeformat": "^1.2.0", - "lodash": "^4.13.1", - "md5": "^2.1.0", - "prop-types": "^15.6.0", - "randomstring": "^1.1.5", - "react": "^15.6.2", - "react-dnd": "^2.5.4", - "react-dnd-html5-backend": "^2.5.4", - "react-dom": "^15.6.2", - "react-redux": "^5.0.6", - "react-select": "1.2.1", - "redux": "^3.7.2", - "react-bootstrap": "^0.32.1", - "react-click-outside": "^2.3.1", - "react-datepicker": "^0.48.0", - "react-dropzone": "4.2.3", - "react-input-autosize": "^2.2.0", - "react-show-more": "^1.1.1", - "react-sortable": "^1.2.0", - "sdc-ui": "1.6.24", - "uuid-js": "^0.7.5", - "validator": "^4.3.0" - }, - "devDependencies": { - "@kadira/storybook": "^2.35.3", - "@kadira/storybook-addon-knobs": "^1.7.1", - "@kadira/storybook-addon-options": "^1.0.2", - "babel-core": "^6.24.0", - "babel-eslint": "^7.2.1", - "babel-jest": "^22.1.0", - "babel-loader": "^7.0.0-beta.1", - "babel-plugin-transform-class-properties": "^6.10.2", - "babel-plugin-transform-decorators-legacy": "^1.3.4", - "babel-plugin-transform-object-rest-spread": "^6.8.0", - "babel-plugin-transform-runtime": "^6.22.0", - "babel-preset-env": "^1.6.1", - "babel-preset-react": "^6.23.0", - "css-loader": "^0.23.1", - "deep-freeze": "0.0.1", - "del": "^3.0.0", - "enzyme": "^2.7.1", - "eslint": "^2.13.1", - "eslint-loader": "^1.3.0", - "eslint-plugin-import": "^0.8.1", - "eslint-plugin-react": "^3.14.0", - "express": "^4.13.3", - "file-loader": "^0.8.5", - "gulp": "^3.9.1", - "gulp-clean": "^0.3.1", - "gulp-css-usage": "^2.0.0", - "gulp-rename": "^1.2.2", - "gulp-replace": "^0.5.4", - "gulp-sass": "^3.1.0", - "gulp-tap": "^1.0.1", - "gulp-zip": "^4.1.0", - "html-loader": "^0.4.3", - "http-proxy-middleware": "^0.17.4", - "ignore-loader": "^0.1.1", - "jasmine-core": "^2.5.2", - "jest": "^21.2.1", - "jshint": "^2.9.4", - "json-loader": "^0.5.4", - "jsx-loader": "^0.13.2", - "mkdirp": "^0.5.1", - "moment": "^2.18.1", - "node-sass": "^4.7.2", - "node-watch": "^0.3.5", - "prompt": "^0.2.14", - "react-addons-test-utils": "~15.3.2", - "react-hot-loader": "^3.1.3", - "rosie": "^1.6.0", - "run-sequence": "^2.2.1", - "sass-loader": "^6.0.6", - "source-map-loader": "^0.1.5", - "storyshots": "^3.2.2", - "style-loader": "^0.13.0", - "svg-sprite-loader": "^0.1.1", - "url-loader": "^0.5.7", - "webpack": "^2.2.1", - "webpack-dev-server": "^2.4.2" - }, - "engines": { - "node": ">=8.0.0", - "npm": ">=5.0.0", - "yarn": "^1.3.2" - }, - "jest": { - "moduleNameMapper": { - "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/test-utils/fileMock.js", - "\\.(css|scss)$": "/test-utils/styleMock.js", - "^nfvo-utils/RestAPIUtil.js$": "/test-utils/MockRest.js", - "^sdc-ui/lib/react/SVGIcon.js$": "/test-utils/MockSVGIcon.js", - "^react-show-more$": "/test-utils/ShowMore.js", - "^nfvo-utils(.*)$": "/src/nfvo-utils$1", - "^nfvo-components(.*)$": "/src/nfvo-components$1", - "^sdc-app(.*)$": "/src/sdc-app$1", - "^test-utils(.*)$": "/test-utils$1", - "^i18nJson$": "/src/nfvo-utils/i18n/en.json", - "^src(.*)$": "/src$1" + "name": "dox-ui", + "version": "1.0.0", + "description": "", + "author": "ONAP", + "license": "SEE LICENSE IN LICENSE", + "scripts": { + "start": "gulp dev && webpack-dev-server --progress", + "build": "gulp build", + "css-usage": "gulp css-usage", + "static-keys-bundle": "gulp static-keys-bundle", + "check-keys-against-bundles": "gulp static-keys-bundle-with-report", + "test": "jest", + "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js", + "test-dev": "jest --watch", + "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html", + "test-build": "jest --coverage", + "storybook": "start-storybook -p 9090 -c .storybook -s .storybook/fonts", + "storyshots": "jest storyshots.test.js", + "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts", + "lint-fix": "eslint --fix --ext .js --ext .jsx src" }, - "globals": { - "DEBUG": false + "dependencies": { + "attr-accept": "^1.1.0", + "axios": "^0.16.2", + "classnames": "^2.2.5", + "core-js": "^2.4.0", + "d3": "^4.10.0", + "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui", + "intl": "^1.0.1", + "intl-format-cache": "^2.0.5", + "intl-messageformat": "^1.2.0", + "intl-relativeformat": "^1.2.0", + "lodash": "^4.13.1", + "md5": "^2.1.0", + "prop-types": "^15.6.0", + "randomstring": "^1.1.5", + "react": "^15.6.2", + "react-bootstrap": "^0.32.1", + "react-click-outside": "^2.3.1", + "react-datepicker": "^0.48.0", + "react-dnd": "^2.5.4", + "react-dnd-html5-backend": "^2.5.4", + "react-dom": "^15.6.2", + "react-dropzone": "4.2.3", + "react-input-autosize": "^2.2.0", + "react-redux": "^5.0.6", + "react-select": "1.2.1", + "react-show-more": "^1.1.1", + "react-sortable": "^1.2.0", + "redux": "^3.7.2", + "sdc-ui": "1.6.24", + "uuid-js": "^0.7.5", + "validator": "^4.3.0" }, - "setupFiles": [ - "/test-utils/test-env-setup.js" - ], - "setupTestFrameworkScriptFile": "/test-utils/test-setup.js", - "testPathIgnorePatterns": [ - "/node_modules/", - "/test/nfvo-components/storyshots.test.js" - ], - "collectCoverageFrom": [ - "src/**/*.{js,jsx}" - ], - "coveragePathIgnorePatterns": [ - "/node_modules/", - "(.)*.stories.js" - ], - "coverageReporters": [ - "lcov" - ] - } + "devDependencies": { + "@kadira/storybook": "^2.35.3", + "@kadira/storybook-addon-knobs": "^1.7.1", + "@kadira/storybook-addon-options": "^1.0.2", + "babel-core": "^6.24.0", + "babel-eslint": "^8.2.1", + "babel-jest": "^22.1.0", + "babel-loader": "^7.0.0-beta.1", + "babel-plugin-transform-class-properties": "^6.10.2", + "babel-plugin-transform-decorators-legacy": "^1.3.4", + "babel-plugin-transform-object-rest-spread": "^6.8.0", + "babel-plugin-transform-runtime": "^6.22.0", + "babel-preset-env": "^1.6.1", + "babel-preset-react": "^6.23.0", + "css-loader": "^0.23.1", + "deep-freeze": "0.0.1", + "del": "^3.0.0", + "enzyme": "^2.7.1", + "eslint": "^4.18.1", + "eslint-config-prettier": "^2.9.0", + "eslint-loader": "^2.0.0", + "eslint-plugin-import": "^2.9.0", + "eslint-plugin-prettier": "^2.6.0", + "eslint-plugin-react": "^7.7.0", + "express": "^4.13.3", + "file-loader": "^0.8.5", + "gulp": "^3.9.1", + "gulp-clean": "^0.3.1", + "gulp-css-usage": "^2.0.0", + "gulp-rename": "^1.2.2", + "gulp-replace": "^0.5.4", + "gulp-sass": "^3.1.0", + "gulp-tap": "^1.0.1", + "gulp-zip": "^4.1.0", + "html-loader": "^0.4.3", + "http-proxy-middleware": "^0.17.4", + "ignore-loader": "^0.1.1", + "jasmine-core": "^2.5.2", + "jest": "^21.2.1", + "jshint": "^2.9.4", + "json-loader": "^0.5.4", + "jsx-loader": "^0.13.2", + "mkdirp": "^0.5.1", + "moment": "^2.18.1", + "node-sass": "^4.7.2", + "node-watch": "^0.3.5", + "prettier": "^1.10.2", + "prompt": "^0.2.14", + "react-addons-test-utils": "~15.3.2", + "react-hot-loader": "^3.1.3", + "rosie": "^1.6.0", + "run-sequence": "^2.2.1", + "sass-loader": "^6.0.6", + "source-map-loader": "^0.1.5", + "storyshots": "^3.2.2", + "style-loader": "^0.13.0", + "svg-sprite-loader": "^0.1.1", + "url-loader": "^0.5.7", + "webpack": "^2.2.1", + "webpack-dev-server": "^2.4.2" + }, + "engines": { + "node": ">=8.0.0", + "npm": ">=5.0.0", + "yarn": "^1.3.2" + }, + "jest": { + "moduleNameMapper": { + "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/test-utils/fileMock.js", + "\\.(css|scss)$": "/test-utils/styleMock.js", + "^nfvo-utils/RestAPIUtil.js$": "/test-utils/MockRest.js", + "^sdc-ui/lib/react/SVGIcon.js$": "/test-utils/MockSVGIcon.js", + "^react-show-more$": "/test-utils/ShowMore.js", + "^nfvo-utils(.*)$": "/src/nfvo-utils$1", + "^nfvo-components(.*)$": "/src/nfvo-components$1", + "^sdc-app(.*)$": "/src/sdc-app$1", + "^test-utils(.*)$": "/test-utils$1", + "^i18nJson$": "/src/nfvo-utils/i18n/en.json", + "^src(.*)$": "/src$1" + }, + "globals": { + "DEBUG": false + }, + "setupFiles": [ + "/test-utils/test-env-setup.js" + ], + "setupTestFrameworkScriptFile": "/test-utils/test-setup.js", + "testPathIgnorePatterns": [ + "/node_modules/", + "/test/nfvo-components/storyshots.test.js" + ], + "collectCoverageFrom": [ + "src/**/*.{js,jsx}" + ], + "coveragePathIgnorePatterns": [ + "/node_modules/", + "(.)*.stories.js" + ], + "coverageReporters": [ + "lcov" + ] + } } -- cgit 1.2.3-korg