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