blob: d876b6c71159e85acc756780cfb28d8b7482121c [file] [log] [blame]
sebdetc95e8df2019-06-25 11:06:06 +02001{
sebdet101193d2019-09-05 18:25:59 +02002 "name": "onap-clamp-ui",
3 "version": "${project.version}",
4 "description": "ONAP Clamp Loop Designer UI",
5 "author": "ONAP Clamp Team",
6 "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",
18 "eject": "react-scripts eject",
sebdet996071f2019-10-25 13:25:57 +020019 "publish": "npm publish"
sebdet101193d2019-09-05 18:25:59 +020020 },
21 "files": [
22 "src/*.js",
23 "src/*.png",
24 "src/api",
25 "src/components",
26 "src/theme"
27 ],
28 "dependencies": {
29 "@json-editor/json-editor": "1.4.0-beta.0",
30 "react": "16.9.0",
31 "react-dom": "16.9.0",
32 "react-scripts": "3.1.1",
33 "react-bootstrap": "1.0.0-beta.12",
34 "bootstrap-css-only": "4.3.1",
35 "styled-components": "4.3.2",
36 "react-router-dom": "5.0.1",
drveerendraf6b26252019-10-31 12:45:30 -040037 "@material-ui/core": "4.3.2",
38 "@material-ui/icons": "4.2.1",
39 "material-table": "1.48.0",
sebdet8a359112019-10-24 11:50:02 +020040 "react-select": "3.0.4"
sebdet101193d2019-09-05 18:25:59 +020041 },
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",
sebdetfd200512019-10-03 17:57:17 +020051 "jest-fetch-mock": "2.1.2"
sebdet101193d2019-09-05 18:25:59 +020052 },
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 ],
xuegao841ddaa2019-09-19 14:23:14 +020069 "moduleNameMapper": {
sebdet982659d2019-10-22 18:41:38 +020070 "\\.(css|png)$": "identity-obj-proxy"
xuegao841ddaa2019-09-19 14:23:14 +020071 },
72 "setupFiles": [
73 "./src/setupTests.js"
74 ],
75 "snapshotSerializers": [
76 "enzyme-to-json/serializer"
77 ]
sebdet101193d2019-09-05 18:25:59 +020078 },
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 }
xuegao233e3cd2019-10-01 15:34:53 +020090 ],
91 [
92 "@babel/plugin-transform-runtime"
sebdet101193d2019-09-05 18:25:59 +020093 ]
94 ]
95 }
sebdetc95e8df2019-06-25 11:06:06 +020096}
drveerendraf6b26252019-10-31 12:45:30 -040097