blob: c3b63c5676baa4f30dab06b44a9d05c7e4a65d1d [file] [log] [blame]
brunomilitzer87111ee2021-05-18 12:50:32 +01001{
brunomilitzer9752dad2021-07-02 16:26:03 +01002 "name": "onap-policy-clamp-ui",
3 "version": "${project.version}",
4 "description": "ONAP Policy Clamp UI",
5 "author": "ONAP Policy Team",
6 "license": "Apache-2.0",
7 "publishConfig": {
8 "registry": "${npm.publish.url}"
9 },
10 "main": "index.js",
danielhanrahan426fa902021-09-08 12:34:22 +010011 "homepage": ".",
brunomilitzer9752dad2021-07-02 16:26:03 +010012 "proxy": "https://localhost:8443",
13 "scripts": {
14 "start": "HTTPS=true react-scripts start",
15 "build": "react-scripts build",
16 "test": "jest",
17 "test:watch": "jest --watch",
18 "test:coverage": "jest --coverage",
19 "eject": "react-scripts eject"
20 },
21 "files": [
22 "src/*.js",
23 "src/*.png",
24 "src/api",
25 "src/components",
26 "src/theme"
27 ],
28 "dependencies": {
29 "@fortawesome/fontawesome-free": "5.15.3",
30 "@json-editor/json-editor": "2.5.4",
31 "@material-ui/core": "4.11.4",
32 "@material-ui/icons": "4.11.2",
33 "@material-ui/lab": "4.0.0-alpha.58",
34 "@material-ui/pickers": "3.3.10",
35 "bootstrap-css-only": "4.4.1",
36 "js-yaml": "4.1.0",
saul.gill896e9ea2021-10-08 15:19:46 +010037 "material-table": "1.68.0",
brunomilitzer9752dad2021-07-02 16:26:03 +010038 "react": "17.0.2",
39 "react-bootstrap": "1.6.1",
40 "react-dom": "17.0.2",
41 "react-router-dom": "5.2.0",
42 "react-scripts": "4.0.3",
43 "react-select": "4.3.1",
44 "styled-components": "5.3.0"
45 },
46 "devDependencies": {
47 "@babel/plugin-proposal-class-properties": "7.14.5",
48 "@babel/preset-env": "7.14.7",
49 "@babel/preset-react": "7.14.5",
50 "@wojtekmaj/enzyme-adapter-react-17": "0.6.2",
brunomilitzer9752dad2021-07-02 16:26:03 +010051 "enzyme": "3.11.0",
52 "enzyme-adapter-react-17-updated": "1.0.2",
53 "enzyme-to-json": "3.6.2",
54 "history": "5.0.0",
55 "jest": "26.6.0",
56 "jest-canvas-mock": "2.3.1",
saul.gill3ce37242021-11-01 15:12:48 +000057 "jest-fetch-mock": "3.0.3",
58 "jest-sonar-reporter": "2.0.0"
brunomilitzer9752dad2021-07-02 16:26:03 +010059 },
60 "browserslist": [
61 ">0.2%",
62 "not dead",
63 "not ie <= 11",
64 "not op_mini all"
65 ],
66 "jest": {
67 "verbose": true,
saul.gill3ce37242021-11-01 15:12:48 +000068 "collectCoverage": true,
69 "coverageDirectory": "${project.build.directory}/code-coverage",
brunomilitzer9752dad2021-07-02 16:26:03 +010070 "collectCoverageFrom": [
71 "**/*.{js,jsx}"
72 ],
saul.gill3ce37242021-11-01 15:12:48 +000073 "testResultsProcessor": "jest-sonar-reporter",
brunomilitzer9752dad2021-07-02 16:26:03 +010074 "rootDir": "${project.build.directory}/${ui.react.src}",
75 "coverageReporters": [
76 "lcov"
77 ],
78 "moduleNameMapper": {
79 "\\.(css|png)$": "identity-obj-proxy"
80 },
81 "setupFiles": [
82 "./src/setupTests.js",
83 "jest-canvas-mock"
84 ],
85 "snapshotSerializers": [
86 "enzyme-to-json/serializer"
87 ]
88 },
saul.gill3ce37242021-11-01 15:12:48 +000089 "jestSonar": {
90 "reportPath": "../../target/reports",
91 "reportFile": "test-reporter.xml",
92 "indent": 4,
93 "sonar56x": true
94 },
brunomilitzer9752dad2021-07-02 16:26:03 +010095 "babel": {
96 "presets": [
97 "@babel/preset-env",
98 "@babel/preset-react"
99 ],
100 "plugins": [
101 [
102 "@babel/plugin-proposal-class-properties",
103 {
104 "loose": true
105 }
106 ],
107 [
108 "@babel/plugin-transform-runtime"
saul.gillce0db162021-10-29 14:24:20 +0100109 ],
110 [
111 "@babel/plugin-proposal-private-methods",
112 {
113 "loose": true
114 }
brunomilitzer9752dad2021-07-02 16:26:03 +0100115 ]
116 ]
117 }
brunomilitzer87111ee2021-05-18 12:50:32 +0100118}