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", |
| 30 | "react": "17.0.1", |
| 31 | "react-dom": "17.0.1", |
| 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 | b496fda | 2021-03-30 00:30:49 +0200 | [diff] [blame^] | 39 | "@material-ui/lab": "4.0.0-alpha.57", |
sebdet | b8831e5 | 2021-03-12 19:30:22 +0100 | [diff] [blame] | 40 | "material-table": "1.68.1", |
| 41 | "react-select": "4.2.1", |
sebdet | 1e2760e | 2021-02-26 19:14:03 +0100 | [diff] [blame] | 42 | "react-uuid": "1.0.2" |
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", |
| 51 | "enzyme-adapter-react-17-updated": "1.0.2", |
| 52 | "enzyme-to-json": "3.6.1", |
| 53 | "jest-fetch-mock": "3.0.3" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 54 | }, |
| 55 | "browserslist": [ |
| 56 | ">0.2%", |
| 57 | "not dead", |
| 58 | "not ie <= 11", |
| 59 | "not op_mini all" |
| 60 | ], |
| 61 | "jest": { |
| 62 | "verbose": true, |
| 63 | "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage", |
| 64 | "collectCoverageFrom": [ |
| 65 | "**/*.{js,jsx}" |
| 66 | ], |
| 67 | "rootDir": "${project.build.directory}/${ui.react.src}", |
| 68 | "coverageReporters": [ |
| 69 | "lcov" |
| 70 | ], |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 71 | "moduleNameMapper": { |
sebdet | 982659d | 2019-10-22 18:41:38 +0200 | [diff] [blame] | 72 | "\\.(css|png)$": "identity-obj-proxy" |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 73 | }, |
| 74 | "setupFiles": [ |
| 75 | "./src/setupTests.js" |
| 76 | ], |
| 77 | "snapshotSerializers": [ |
| 78 | "enzyme-to-json/serializer" |
| 79 | ] |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 80 | }, |
| 81 | "babel": { |
| 82 | "presets": [ |
| 83 | "@babel/preset-env", |
| 84 | "@babel/preset-react" |
| 85 | ], |
| 86 | "plugins": [ |
| 87 | [ |
| 88 | "@babel/plugin-proposal-class-properties", |
| 89 | { |
| 90 | "loose": true |
| 91 | } |
xuegao | 233e3cd | 2019-10-01 15:34:53 +0200 | [diff] [blame] | 92 | ], |
| 93 | [ |
| 94 | "@babel/plugin-transform-runtime" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 95 | ] |
| 96 | ] |
| 97 | } |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 98 | } |
drveerendra | f6b2625 | 2019-10-31 12:45:30 -0400 | [diff] [blame] | 99 | |