blob: f18dd7532934a99b472e561f6b56ad79fbcc1b23 [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
2 "name": "dox-ui",
3 "version": "1.0.0",
4 "description": "",
AviZi280f8012017-06-09 02:39:56 +03005 "author": "OPENECOMP",
Michael Landoefa037d2017-02-19 12:57:33 +02006 "license": "SEE LICENSE IN LICENSE",
7 "scripts": {
AviZi280f8012017-06-09 02:39:56 +03008 "start": "gulp dev && webpack-dev-server --progress",
Michael Landoefa037d2017-02-19 12:57:33 +02009 "build": "gulp build",
Avi Zivb8e2faf2017-07-18 19:45:38 +030010 "css-usage": "gulp css-usage",
Avi Ziv61070c92017-07-26 17:37:57 +030011 "static-keys-bundle": "gulp static-keys-bundle",
12 "check-keys-against-bundles": "gulp static-keys-bundle-with-report",
AviZi280f8012017-06-09 02:39:56 +030013 "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 "storybook": "gulp copy-storybook-resources && start-storybook -p 9090 -c .storybook -s .storybook/resources,.storybook/fonts",
18 "storyshots": "jest storyshots.test.js",
19 "build-storybook": "build-storybook -c .storybook -o .storybook-dist && gulp copy-storybook-fonts && gulp copy-storybook-resources-prod"
Michael Landoefa037d2017-02-19 12:57:33 +020020 },
az2497644017c2017-08-10 17:49:40 +030021 "dependencies": {
Michael Landoefa037d2017-02-19 12:57:33 +020022 "classnames": "^2.2.5",
23 "core-js": "^2.4.0",
Avi Ziv61070c92017-07-26 17:37:57 +030024 "d3": "^3.5.16",
Michael Landoefa037d2017-02-19 12:57:33 +020025 "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
Michael Landoefa037d2017-02-19 12:57:33 +020026 "intl": "^1.0.1",
27 "intl-format-cache": "^2.0.5",
28 "intl-messageformat": "^1.2.0",
29 "intl-relativeformat": "^1.2.0",
AviZi280f8012017-06-09 02:39:56 +030030 "jquery": "^2.1.4",
Michael Landoefa037d2017-02-19 12:57:33 +020031 "lodash": "^4.13.1",
32 "md5": "^2.1.0",
AviZi280f8012017-06-09 02:39:56 +030033 "randomstring": "^1.1.5",
34 "react": "~15.3.2",
35 "react-bootstrap": "^0.30.1",
36 "react-dom": "~15.3.2",
37 "react-dropzone": "3.7.3",
Michael Landoefa037d2017-02-19 12:57:33 +020038 "react-redux": "^4.4.1",
39 "react-select": "^1.0.0-beta13",
AviZi280f8012017-06-09 02:39:56 +030040 "react-sortable": "^1.2.0",
Michael Landoefa037d2017-02-19 12:57:33 +020041 "redux": "^3.3.1",
AviZi280f8012017-06-09 02:39:56 +030042 "restful-js": "^0.7.0",
az2497644017c2017-08-10 17:49:40 +030043 "sdc-ui": "1.6.2",
Michael Landoefa037d2017-02-19 12:57:33 +020044 "uuid-js": "^0.7.5",
45 "validator": "^4.3.0"
46 },
47 "devDependencies": {
AviZi280f8012017-06-09 02:39:56 +030048 "@kadira/storybook": "^2.35.3",
49 "@kadira/storybook-addon-knobs": "^1.7.1",
50 "@kadira/storybook-addon-options": "^1.0.2",
51 "babel-core": "^6.24.0",
52 "babel-eslint": "^7.2.1",
53 "babel-jest": "^19.0.0",
54 "babel-loader": "^7.0.0-beta.1",
Michael Landoefa037d2017-02-19 12:57:33 +020055 "babel-plugin-transform-class-properties": "^6.10.2",
56 "babel-plugin-transform-es2015-destructuring": "^6.9.0",
57 "babel-plugin-transform-es2015-modules-commonjs": "^6.10.3",
58 "babel-plugin-transform-es2015-spread": "^6.8.0",
59 "babel-plugin-transform-object-rest-spread": "^6.8.0",
AviZi280f8012017-06-09 02:39:56 +030060 "babel-plugin-transform-runtime": "^6.22.0",
61 "babel-preset-es2015": "^6.24.0",
62 "babel-preset-react": "^6.23.0",
63 "babel-preset-stage-0": "^6.22.0",
Michael Landoefa037d2017-02-19 12:57:33 +020064 "css-loader": "^0.23.1",
65 "deep-freeze": "0.0.1",
AviZi280f8012017-06-09 02:39:56 +030066 "enzyme": "^2.7.1",
Michael Landoefa037d2017-02-19 12:57:33 +020067 "eslint-loader": "^1.3.0",
68 "eslint-plugin-import": "^0.8.1",
69 "eslint-plugin-react": "^3.14.0",
Michael Landoefa037d2017-02-19 12:57:33 +020070 "express": "^4.13.3",
71 "file-loader": "^0.8.5",
72 "gulp": "^3.9.1",
73 "gulp-clean": "^0.3.1",
74 "gulp-css-usage": "^2.0.0",
75 "gulp-helpers": "^5.0.0",
Michael Landoefa037d2017-02-19 12:57:33 +020076 "gulp-rename": "^1.2.2",
77 "gulp-replace": "^0.5.4",
Avi Zivb8e2faf2017-07-18 19:45:38 +030078 "gulp-tap": "^1.0.1",
Michael Landoefa037d2017-02-19 12:57:33 +020079 "html-loader": "^0.4.3",
80 "http-proxy-middleware": "^0.8.2",
81 "ignore-loader": "^0.1.1",
AviZi280f8012017-06-09 02:39:56 +030082 "jasmine-core": "^2.5.2",
83 "jest": "^19.0.2",
84 "jshint": "^2.9.4",
Michael Landoefa037d2017-02-19 12:57:33 +020085 "json-loader": "^0.5.4",
86 "jsx-loader": "^0.13.2",
Michael Landoefa037d2017-02-19 12:57:33 +020087 "mkdirp": "^0.5.1",
Avi Zivb8e2faf2017-07-18 19:45:38 +030088 "moment": "^2.18.1",
Michael Landoefa037d2017-02-19 12:57:33 +020089 "node-watch": "^0.3.5",
90 "prompt": "^0.2.14",
AviZi280f8012017-06-09 02:39:56 +030091 "react-addons-test-utils": "~15.3.2",
Avi Zivb8e2faf2017-07-18 19:45:38 +030092 "react-datepicker": "^0.48.0",
AviZi280f8012017-06-09 02:39:56 +030093 "react-hot-loader": "^1.3.1",
94 "rosie": "^1.6.0",
95 "sass-loader": "^3.2.3",
Michael Landoefa037d2017-02-19 12:57:33 +020096 "source-map-loader": "^0.1.5",
AviZi280f8012017-06-09 02:39:56 +030097 "storyshots": "^3.2.2",
Michael Landoefa037d2017-02-19 12:57:33 +020098 "style-loader": "^0.13.0",
AviZi280f8012017-06-09 02:39:56 +030099 "svg-sprite-loader": "^0.1.1",
Michael Landoefa037d2017-02-19 12:57:33 +0200100 "url-loader": "^0.5.7",
AviZi280f8012017-06-09 02:39:56 +0300101 "webpack": "^2.2.1",
102 "webpack-dev-server": "^2.4.2"
Michael Landoefa037d2017-02-19 12:57:33 +0200103 },
104 "engines": {
105 "node": ">=5.1",
106 "npm": ">=3.3"
AviZi280f8012017-06-09 02:39:56 +0300107 },
108 "jest": {
109 "moduleNameMapper": {
110 "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
111 "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
112 "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
az2497644017c2017-08-10 17:49:40 +0300113 "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
AviZi280f8012017-06-09 02:39:56 +0300114 "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
115 "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
116 "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
117 "^test-utils(.*)$": "<rootDir>/test-utils$1",
Avi Zivb8e2faf2017-07-18 19:45:38 +0300118 "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
AviZi280f8012017-06-09 02:39:56 +0300119 "^src(.*)$": "<rootDir>/src$1"
120 },
121 "globals": {
122 "DEBUG": false
123 },
124 "setupFiles": [
125 "<rootDir>/test-utils/test-env-setup.js"
126 ],
127 "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
128 "testPathIgnorePatterns": [
129 "<rootDir>/node_modules/",
130 "<rootDir>/test/nfvo-components/storyshots.test.js"
131 ],
132 "collectCoverageFrom": [
133 "src/**/*.{js,jsx}"
134 ],
135 "coverageReporters": [
136 "lcov"
137 ]
Michael Landoefa037d2017-02-19 12:57:33 +0200138 }
139}