sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1 | { |
sebdet | 9a28038 | 2021-01-13 11:53:48 +0100 | [diff] [blame] | 2 | "name": "onap-policy-clamp-ui", |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 3 | "version": "${project.version}", |
sebdet | 9a28038 | 2021-01-13 11:53:48 +0100 | [diff] [blame] | 4 | "description": "ONAP Policy Clamp UI", |
| 5 | "author": "ONAP Policy Team", |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 6 | "license": "Apache-2.0", |
| 7 | "publishConfig": { |
sebdet | 83012f4 | 2019-10-23 13:14:44 +0200 | [diff] [blame] | 8 | "registry": "${npm.publish.url}" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 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", |
sebdet | dd10768 | 2019-11-13 13:13:07 +0100 | [diff] [blame] | 18 | "eject": "react-scripts eject" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 19 | }, |
| 20 | "files": [ |
| 21 | "src/*.js", |
| 22 | "src/*.png", |
| 23 | "src/api", |
| 24 | "src/components", |
| 25 | "src/theme" |
| 26 | ], |
| 27 | "dependencies": { |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 28 | "@json-editor/json-editor": "2.5.2", |
| 29 | "@fortawesome/fontawesome-free": "5.15.2", |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 30 | "react": "17.0.2", |
| 31 | "react-dom": "17.0.2", |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 32 | "react-scripts": "4.0.3", |
| 33 | "react-bootstrap": "1.5.2", |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 34 | "bootstrap-css-only": "4.3.1", |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 35 | "styled-components": "5.2.1", |
| 36 | "react-router-dom": "5.2.0", |
| 37 | "@material-ui/core": "4.11.3", |
| 38 | "@material-ui/icons": "4.11.2", |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 39 | "@material-ui/pickers": "3.3.10", |
sebdet | b496fda | 2021-03-30 00:30:49 +0200 | [diff] [blame] | 40 | "@material-ui/lab": "4.0.0-alpha.57", |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 41 | "material-table": "1.68.1", |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 42 | "react-select": "4.2.1" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 43 | }, |
| 44 | "devDependencies": { |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 45 | "jest": "26.6.0", |
| 46 | "babel-jest": "26.6.0", |
| 47 | "@babel/preset-env": "7.13.10", |
| 48 | "@babel/preset-react": "7.12.13", |
| 49 | "@babel/plugin-proposal-class-properties": "7.13.0", |
| 50 | "enzyme": "3.11.0", |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 51 | "@wojtekmaj/enzyme-adapter-react-17": "0.6.1", |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 52 | "enzyme-to-json": "3.6.1", |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 53 | "jest-fetch-mock": "3.0.3", |
| 54 | "jest-canvas-mock": "2.3.1" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 55 | }, |
| 56 | "browserslist": [ |
| 57 | ">0.2%", |
| 58 | "not dead", |
| 59 | "not ie <= 11", |
| 60 | "not op_mini all" |
| 61 | ], |
| 62 | "jest": { |
| 63 | "verbose": true, |
| 64 | "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage", |
| 65 | "collectCoverageFrom": [ |
| 66 | "**/*.{js,jsx}" |
| 67 | ], |
| 68 | "rootDir": "${project.build.directory}/${ui.react.src}", |
| 69 | "coverageReporters": [ |
| 70 | "lcov" |
| 71 | ], |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 72 | "moduleNameMapper": { |
sebdet | 982659d | 2019-10-22 18:41:38 +0200 | [diff] [blame] | 73 | "\\.(css|png)$": "identity-obj-proxy" |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 74 | }, |
| 75 | "setupFiles": [ |
sebdet | 44fac5a | 2021-04-28 11:12:45 +0200 | [diff] [blame^] | 76 | "./src/setupTests.js", |
| 77 | "jest-canvas-mock" |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 78 | ], |
| 79 | "snapshotSerializers": [ |
| 80 | "enzyme-to-json/serializer" |
| 81 | ] |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 82 | }, |
| 83 | "babel": { |
| 84 | "presets": [ |
| 85 | "@babel/preset-env", |
| 86 | "@babel/preset-react" |
| 87 | ], |
| 88 | "plugins": [ |
| 89 | [ |
| 90 | "@babel/plugin-proposal-class-properties", |
| 91 | { |
| 92 | "loose": true |
| 93 | } |
xuegao | 233e3cd | 2019-10-01 15:34:53 +0200 | [diff] [blame] | 94 | ], |
| 95 | [ |
| 96 | "@babel/plugin-transform-runtime" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 97 | ] |
| 98 | ] |
| 99 | } |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 100 | } |