blob: fd3dc0ad3c5984ec5b513abcaab1f8497ec03b9f [file] [log] [blame]
sebdetc95e8df2019-06-25 11:06:06 +02001{
sebdet9a280382021-01-13 11:53:48 +01002 "name": "onap-policy-clamp-ui",
sebdet101193d2019-09-05 18:25:59 +02003 "version": "${project.version}",
sebdet9a280382021-01-13 11:53:48 +01004 "description": "ONAP Policy Clamp UI",
5 "author": "ONAP Policy Team",
sebdet101193d2019-09-05 18:25:59 +02006 "license": "Apache-2.0",
7 "publishConfig": {
sebdet83012f42019-10-23 13:14:44 +02008 "registry": "${npm.publish.url}"
sebdet101193d2019-09-05 18:25:59 +02009 },
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",
sebdetdd107682019-11-13 13:13:07 +010018 "eject": "react-scripts eject"
sebdet101193d2019-09-05 18:25:59 +020019 },
20 "files": [
21 "src/*.js",
22 "src/*.png",
23 "src/api",
24 "src/components",
25 "src/theme"
26 ],
27 "dependencies": {
sebdetb8831e52021-03-12 19:30:22 +010028 "@json-editor/json-editor": "2.5.2",
29 "@fortawesome/fontawesome-free": "5.15.2",
sebdet44fac5a2021-04-28 11:12:45 +020030 "react": "17.0.2",
31 "react-dom": "17.0.2",
sebdetb8831e52021-03-12 19:30:22 +010032 "react-scripts": "4.0.3",
33 "react-bootstrap": "1.5.2",
sebdet101193d2019-09-05 18:25:59 +020034 "bootstrap-css-only": "4.3.1",
sebdetb8831e52021-03-12 19:30:22 +010035 "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",
sebdet44fac5a2021-04-28 11:12:45 +020039 "@material-ui/pickers": "3.3.10",
sebdetb496fda2021-03-30 00:30:49 +020040 "@material-ui/lab": "4.0.0-alpha.57",
sebdetb8831e52021-03-12 19:30:22 +010041 "material-table": "1.68.1",
sebdet44fac5a2021-04-28 11:12:45 +020042 "react-select": "4.2.1"
sebdet101193d2019-09-05 18:25:59 +020043 },
44 "devDependencies": {
sebdetb8831e52021-03-12 19:30:22 +010045 "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",
sebdet44fac5a2021-04-28 11:12:45 +020051 "@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
sebdetb8831e52021-03-12 19:30:22 +010052 "enzyme-to-json": "3.6.1",
sebdet44fac5a2021-04-28 11:12:45 +020053 "jest-fetch-mock": "3.0.3",
54 "jest-canvas-mock": "2.3.1"
sebdet101193d2019-09-05 18:25:59 +020055 },
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 ],
xuegao841ddaa2019-09-19 14:23:14 +020072 "moduleNameMapper": {
sebdet982659d2019-10-22 18:41:38 +020073 "\\.(css|png)$": "identity-obj-proxy"
xuegao841ddaa2019-09-19 14:23:14 +020074 },
75 "setupFiles": [
sebdet44fac5a2021-04-28 11:12:45 +020076 "./src/setupTests.js",
77 "jest-canvas-mock"
xuegao841ddaa2019-09-19 14:23:14 +020078 ],
79 "snapshotSerializers": [
80 "enzyme-to-json/serializer"
81 ]
sebdet101193d2019-09-05 18:25:59 +020082 },
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 }
xuegao233e3cd2019-10-01 15:34:53 +020094 ],
95 [
96 "@babel/plugin-transform-runtime"
sebdet101193d2019-09-05 18:25:59 +020097 ]
98 ]
99 }
sebdetc95e8df2019-06-25 11:06:06 +0200100}