sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 1 | { |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 2 | "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": { |
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", |
| 18 | "eject": "react-scripts eject", |
sebdet | 996071f | 2019-10-25 13:25:57 +0200 | [diff] [blame] | 19 | "publish": "npm publish" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 20 | }, |
| 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", |
sebdet | 8a35911 | 2019-10-24 11:50:02 +0200 | [diff] [blame] | 37 | "react-select": "3.0.4" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 38 | }, |
| 39 | "devDependencies": { |
| 40 | "jest": "24.8.0", |
| 41 | "babel-jest": "24.8.0", |
| 42 | "@babel/preset-env": "7.5.5", |
| 43 | "@babel/preset-react": "7.0.0", |
| 44 | "@babel/plugin-proposal-class-properties": "7.5.5", |
| 45 | "enzyme": "3.10.0", |
| 46 | "enzyme-adapter-react-16": "1.14.0", |
| 47 | "enzyme-to-json": "3.4.0", |
sebdet | fd20051 | 2019-10-03 17:57:17 +0200 | [diff] [blame] | 48 | "jest-fetch-mock": "2.1.2" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 49 | }, |
| 50 | "browserslist": [ |
| 51 | ">0.2%", |
| 52 | "not dead", |
| 53 | "not ie <= 11", |
| 54 | "not op_mini all" |
| 55 | ], |
| 56 | "jest": { |
| 57 | "verbose": true, |
| 58 | "coverageDirectory": "${project.build.directory}/${ui.react.src}/coverage", |
| 59 | "collectCoverageFrom": [ |
| 60 | "**/*.{js,jsx}" |
| 61 | ], |
| 62 | "rootDir": "${project.build.directory}/${ui.react.src}", |
| 63 | "coverageReporters": [ |
| 64 | "lcov" |
| 65 | ], |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 66 | "moduleNameMapper": { |
sebdet | 982659d | 2019-10-22 18:41:38 +0200 | [diff] [blame] | 67 | "\\.(css|png)$": "identity-obj-proxy" |
xuegao | 841ddaa | 2019-09-19 14:23:14 +0200 | [diff] [blame] | 68 | }, |
| 69 | "setupFiles": [ |
| 70 | "./src/setupTests.js" |
| 71 | ], |
| 72 | "snapshotSerializers": [ |
| 73 | "enzyme-to-json/serializer" |
| 74 | ] |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 75 | }, |
| 76 | "babel": { |
| 77 | "presets": [ |
| 78 | "@babel/preset-env", |
| 79 | "@babel/preset-react" |
| 80 | ], |
| 81 | "plugins": [ |
| 82 | [ |
| 83 | "@babel/plugin-proposal-class-properties", |
| 84 | { |
| 85 | "loose": true |
| 86 | } |
xuegao | 233e3cd | 2019-10-01 15:34:53 +0200 | [diff] [blame] | 87 | ], |
| 88 | [ |
| 89 | "@babel/plugin-transform-runtime" |
sebdet | 101193d | 2019-09-05 18:25:59 +0200 | [diff] [blame] | 90 | ] |
| 91 | ] |
| 92 | } |
sebdet | c95e8df | 2019-06-25 11:06:06 +0200 | [diff] [blame] | 93 | } |