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": { |
| 28 | "@json-editor/json-editor": "1.4.0-beta.0", |
| 29 | "react": "16.9.0", |
| 30 | "react-dom": "16.9.0", |
| 31 | "react-scripts": "3.1.1", |
sebdet | 81f5cab | 2019-11-06 11:40:46 +0100 | [diff] [blame] | 32 | "react-bootstrap": "1.0.0-beta.14", |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 33 | "bootstrap-css-only": "4.3.1", |
| 34 | "styled-components": "4.3.2", |
| 35 | "react-router-dom": "5.0.1", |
sebdet | 8d985a1 | 2020-04-21 17:17:56 +0200 | [diff] [blame] | 36 | "@material-ui/core": "4.9.11", |
| 37 | "@material-ui/icons": "4.9.1", |
| 38 | "material-table": "1.57.2", |
sebdet | 1e2760e | 2021-02-26 19:14:03 +0100 | [diff] [blame^] | 39 | "react-select": "3.0.8", |
| 40 | "react-uuid": "1.0.2" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 41 | }, |
| 42 | "devDependencies": { |
| 43 | "jest": "24.8.0", |
| 44 | "babel-jest": "24.8.0", |
| 45 | "@babel/preset-env": "7.5.5", |
| 46 | "@babel/preset-react": "7.0.0", |
| 47 | "@babel/plugin-proposal-class-properties": "7.5.5", |
| 48 | "enzyme": "3.10.0", |
| 49 | "enzyme-adapter-react-16": "1.14.0", |
| 50 | "enzyme-to-json": "3.4.0", |
sebdet | fd20051 | 2019-10-03 17:57:17 +0200 | [diff] [blame] | 51 | "jest-fetch-mock": "2.1.2" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 52 | }, |
| 53 | "browserslist": [ |
| 54 | ">0.2%", |
| 55 | "not dead", |
| 56 | "not ie <= 11", |
| 57 | "not op_mini all" |
| 58 | ], |
| 59 | "jest": { |
| 60 | "verbose": true, |
| 61 | "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage", |
| 62 | "collectCoverageFrom": [ |
| 63 | "**/*.{js,jsx}" |
| 64 | ], |
| 65 | "rootDir": "${project.build.directory}/${ui.react.src}", |
| 66 | "coverageReporters": [ |
| 67 | "lcov" |
| 68 | ], |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 69 | "moduleNameMapper": { |
sebdet | 982659d | 2019-10-22 18:41:38 +0200 | [diff] [blame] | 70 | "\\.(css|png)$": "identity-obj-proxy" |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 71 | }, |
| 72 | "setupFiles": [ |
| 73 | "./src/setupTests.js" |
| 74 | ], |
| 75 | "snapshotSerializers": [ |
| 76 | "enzyme-to-json/serializer" |
| 77 | ] |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 78 | }, |
| 79 | "babel": { |
| 80 | "presets": [ |
| 81 | "@babel/preset-env", |
| 82 | "@babel/preset-react" |
| 83 | ], |
| 84 | "plugins": [ |
| 85 | [ |
| 86 | "@babel/plugin-proposal-class-properties", |
| 87 | { |
| 88 | "loose": true |
| 89 | } |
xuegao | 233e3cd | 2019-10-01 15:34:53 +0200 | [diff] [blame] | 90 | ], |
| 91 | [ |
| 92 | "@babel/plugin-transform-runtime" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 93 | ] |
| 94 | ] |
| 95 | } |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 96 | } |
drveerendra | f6b2625 | 2019-10-31 12:45:30 -0400 | [diff] [blame] | 97 | |