brunomilitzer | 87111ee | 2021-05-18 12:50:32 +0100 | [diff] [blame] | 1 | { |
brunomilitzer | 9752dad | 2021-07-02 16:26:03 +0100 | [diff] [blame^] | 2 | "name": "onap-policy-clamp-ui", |
| 3 | "version": "${project.version}", |
| 4 | "description": "ONAP Policy Clamp UI", |
| 5 | "author": "ONAP Policy Team", |
| 6 | "license": "Apache-2.0", |
| 7 | "publishConfig": { |
| 8 | "registry": "${npm.publish.url}" |
| 9 | }, |
| 10 | "main": "index.js", |
| 11 | "proxy": "https://localhost:8443", |
| 12 | "scripts": { |
| 13 | "start": "HTTPS=true react-scripts start", |
| 14 | "build": "react-scripts build", |
| 15 | "test": "jest", |
| 16 | "test:watch": "jest --watch", |
| 17 | "test:coverage": "jest --coverage", |
| 18 | "eject": "react-scripts eject" |
| 19 | }, |
| 20 | "files": [ |
| 21 | "src/*.js", |
| 22 | "src/*.png", |
| 23 | "src/api", |
| 24 | "src/components", |
| 25 | "src/theme" |
| 26 | ], |
| 27 | "dependencies": { |
| 28 | "@fortawesome/fontawesome-free": "5.15.3", |
| 29 | "@json-editor/json-editor": "2.5.4", |
| 30 | "@material-ui/core": "4.11.4", |
| 31 | "@material-ui/icons": "4.11.2", |
| 32 | "@material-ui/lab": "4.0.0-alpha.58", |
| 33 | "@material-ui/pickers": "3.3.10", |
| 34 | "bootstrap-css-only": "4.4.1", |
| 35 | "js-yaml": "4.1.0", |
| 36 | "material-table": "1.68.1", |
| 37 | "react": "17.0.2", |
| 38 | "react-bootstrap": "1.6.1", |
| 39 | "react-dom": "17.0.2", |
| 40 | "react-router-dom": "5.2.0", |
| 41 | "react-scripts": "4.0.3", |
| 42 | "react-select": "4.3.1", |
| 43 | "styled-components": "5.3.0" |
| 44 | }, |
| 45 | "devDependencies": { |
| 46 | "@babel/plugin-proposal-class-properties": "7.14.5", |
| 47 | "@babel/preset-env": "7.14.7", |
| 48 | "@babel/preset-react": "7.14.5", |
| 49 | "@wojtekmaj/enzyme-adapter-react-17": "0.6.2", |
| 50 | "babel-jest": "27.0.6", |
| 51 | "enzyme": "3.11.0", |
| 52 | "enzyme-adapter-react-17-updated": "1.0.2", |
| 53 | "enzyme-to-json": "3.6.2", |
| 54 | "history": "5.0.0", |
| 55 | "jest": "26.6.0", |
| 56 | "jest-canvas-mock": "2.3.1", |
| 57 | "jest-fetch-mock": "3.0.3" |
| 58 | }, |
| 59 | "browserslist": [ |
| 60 | ">0.2%", |
| 61 | "not dead", |
| 62 | "not ie <= 11", |
| 63 | "not op_mini all" |
| 64 | ], |
| 65 | "jest": { |
| 66 | "verbose": true, |
| 67 | "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage", |
| 68 | "collectCoverageFrom": [ |
| 69 | "**/*.{js,jsx}" |
| 70 | ], |
| 71 | "rootDir": "${project.build.directory}/${ui.react.src}", |
| 72 | "coverageReporters": [ |
| 73 | "lcov" |
| 74 | ], |
| 75 | "moduleNameMapper": { |
| 76 | "\\.(css|png)$": "identity-obj-proxy" |
| 77 | }, |
| 78 | "setupFiles": [ |
| 79 | "./src/setupTests.js", |
| 80 | "jest-canvas-mock" |
| 81 | ], |
| 82 | "snapshotSerializers": [ |
| 83 | "enzyme-to-json/serializer" |
| 84 | ] |
| 85 | }, |
| 86 | "babel": { |
| 87 | "presets": [ |
| 88 | "@babel/preset-env", |
| 89 | "@babel/preset-react" |
| 90 | ], |
| 91 | "plugins": [ |
| 92 | [ |
| 93 | "@babel/plugin-proposal-class-properties", |
| 94 | { |
| 95 | "loose": true |
| 96 | } |
| 97 | ], |
| 98 | [ |
| 99 | "@babel/plugin-transform-runtime" |
| 100 | ] |
| 101 | ] |
| 102 | } |
brunomilitzer | 87111ee | 2021-05-18 12:50:32 +0100 | [diff] [blame] | 103 | } |