blob: 232096926de3159c46e440c4b6e799894f4cd220 [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": {
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",
sebdet81f5cab2019-11-06 11:40:46 +010032 "react-bootstrap": "1.0.0-beta.14",
sebdet101193d2019-09-05 18:25:59 +020033 "bootstrap-css-only": "4.3.1",
34 "styled-components": "4.3.2",
35 "react-router-dom": "5.0.1",
sebdet8d985a12020-04-21 17:17:56 +020036 "@material-ui/core": "4.9.11",
37 "@material-ui/icons": "4.9.1",
38 "material-table": "1.57.2",
sebdet81f5cab2019-11-06 11:40:46 +010039 "react-select": "3.0.8"
sebdet101193d2019-09-05 18:25:59 +020040 },
41 "devDependencies": {
42 "jest": "24.8.0",
43 "babel-jest": "24.8.0",
44 "@babel/preset-env": "7.5.5",
45 "@babel/preset-react": "7.0.0",
46 "@babel/plugin-proposal-class-properties": "7.5.5",
47 "enzyme": "3.10.0",
48 "enzyme-adapter-react-16": "1.14.0",
49 "enzyme-to-json": "3.4.0",
sebdetfd200512019-10-03 17:57:17 +020050 "jest-fetch-mock": "2.1.2"
sebdet101193d2019-09-05 18:25:59 +020051 },
52 "browserslist": [
53 ">0.2%",
54 "not dead",
55 "not ie <= 11",
56 "not op_mini all"
57 ],
58 "jest": {
59 "verbose": true,
60 "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage",
61 "collectCoverageFrom": [
62 "**/*.{js,jsx}"
63 ],
64 "rootDir": "${project.build.directory}/${ui.react.src}",
65 "coverageReporters": [
66 "lcov"
67 ],
xuegao841ddaa2019-09-19 14:23:14 +020068 "moduleNameMapper": {
sebdet982659d2019-10-22 18:41:38 +020069 "\\.(css|png)$": "identity-obj-proxy"
xuegao841ddaa2019-09-19 14:23:14 +020070 },
71 "setupFiles": [
72 "./src/setupTests.js"
73 ],
74 "snapshotSerializers": [
75 "enzyme-to-json/serializer"
76 ]
sebdet101193d2019-09-05 18:25:59 +020077 },
78 "babel": {
79 "presets": [
80 "@babel/preset-env",
81 "@babel/preset-react"
82 ],
83 "plugins": [
84 [
85 "@babel/plugin-proposal-class-properties",
86 {
87 "loose": true
88 }
xuegao233e3cd2019-10-01 15:34:53 +020089 ],
90 [
91 "@babel/plugin-transform-runtime"
sebdet101193d2019-09-05 18:25:59 +020092 ]
93 ]
94 }
sebdetc95e8df2019-06-25 11:06:06 +020095}
drveerendraf6b26252019-10-31 12:45:30 -040096