Package.json fix

This commit is contained in:
bourquecharles
2021-10-21 17:20:26 -04:00
parent ef80a12ec2
commit 21975005cd
14 changed files with 1722 additions and 1365 deletions

View File

@@ -13,11 +13,12 @@
"no-return-assign": ["off"],
"react/jsx-props-no-spreading": ["off"],
"react/destructuring-assignment": ["off"],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-restricted-syntax": ["error", "ForInStatement", "WithStatement"],
"react/jsx-one-expression-per-line": "off",
"react/jsx-wrap-multilines": "off",
"react/jsx-curly-newline": "off",
"no-underscore-dangle": "off"
"no-underscore-dangle": "off",
"no-labels": "off"
},
"settings": {
"import/resolver": {

3045
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "ucentral-libs",
"version": "0.9.73",
"version": "0.9.74",
"main": "dist/index.js",
"source": "src/index.js",
"engines": {
@@ -33,7 +33,7 @@
},
"scripts": {
"format": "prettier --write 'src/**/*{.js,.scss}'",
"build": "NODE_ENV=production webpack --mode production",
"build": "set NODE_ENV=production && webpack --mode production",
"eslint": "eslint 'src/**/*.js'",
"fix": "eslint --fix 'src/**/*.js'"
},

View File

@@ -369,7 +369,7 @@ AddContactForm.propTypes = {
fields: PropTypes.instanceOf(Object).isRequired,
updateField: PropTypes.func.isRequired,
updateFieldWithKey: PropTypes.func.isRequired,
entities: PropTypes.instanceOf(Array).isRequired,
entities: PropTypes.instanceOf(Array),
};
AddContactForm.defaultProps = {

View File

@@ -1,7 +1,7 @@
import React, { useCallback, useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import Select, { components } from 'react-select';
import { checkIfJson } from '../../utils/formatting';
import { checkIfJson } from 'utils/formatting';
import _ from 'lodash';
import formatGoogleAddress from 'utils/formatGoogleAddress';

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}
@@ -18,7 +18,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px;
}

View File

@@ -13,7 +13,6 @@ const ContactTable = ({
entity,
filterOnEntity,
contacts,
unassign,
assignToEntity,
toggleEditModal,
deleteContact,
@@ -156,7 +155,6 @@ ContactTable.propTypes = {
entity: PropTypes.instanceOf(Object),
filterOnEntity: PropTypes.bool,
contacts: PropTypes.instanceOf(Array).isRequired,
unassign: PropTypes.func.isRequired,
assignToEntity: PropTypes.func.isRequired,
toggleEditModal: PropTypes.func.isRequired,
deleteContact: PropTypes.func.isRequired,

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}
@@ -18,7 +18,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px;
}

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 400px;
}
@@ -18,7 +18,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}

View File

@@ -124,7 +124,8 @@ const EditLocationForm = ({ t, disable, fields, updateField, updateFieldWithKey,
disabled={disable}
maxLength="50"
/>
</CCol><CLabel className="mb-3" sm="2" col htmlFor="phones">
</CCol>
<CLabel className="mb-3" sm="2" col htmlFor="phones">
Landlines
</CLabel>
<CCol sm="4">

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}
@@ -18,7 +18,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px;
}

View File

@@ -13,7 +13,6 @@ const LocationTable = ({
entity,
filterOnEntity,
locations,
unassign,
assignToEntity,
toggleEditModal,
deleteLocation,
@@ -156,7 +155,6 @@ LocationTable.propTypes = {
entity: PropTypes.instanceOf(Object),
filterOnEntity: PropTypes.bool,
locations: PropTypes.instanceOf(Array).isRequired,
unassign: PropTypes.func.isRequired,
assignToEntity: PropTypes.func.isRequired,
toggleEditModal: PropTypes.func.isRequired,
deleteLocation: PropTypes.func.isRequired,

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}
@@ -18,7 +18,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 200px;
}

View File

@@ -6,7 +6,7 @@
border-color: #321fdb !important;
font-size: 0.875rem !important;
font-weight: 400 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2) !important;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
width: 300px;
}