@npm_leadtech/legal-lib-components 0.3.41 → 0.3.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "0.3.41",
3
+ "version": "0.3.43",
4
4
  "dependencies": {
5
5
  "react": "^17.0.1",
6
6
  "react-dom": "^17.0.1"
package/.babelrc DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "presets": [
3
- "@babel/preset-react",
4
- [
5
- "@babel/preset-env", {
6
- "targets": {
7
- "esmodules": true
8
- }
9
- }
10
- ]
11
- ]
12
- }
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- build/
package/.eslintrc DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "extends": [
3
- "plugin:react/recommended",
4
- "plugin:react-hooks/recommended",
5
- "prettier",
6
- "plugin:prettier/recommended",
7
- "eslint-config-prettier"
8
- ],
9
- "plugins": ["eslint-plugin-prettier"],
10
- "rules": {
11
- "prettier/prettier": "error",
12
- "react/prop-types": "warn",
13
- "no-unused-vars": "warn",
14
- "no-useless-escape": "warn",
15
- "no-control-regex": "warn",
16
- "react/jsx-no-undef": "warn",
17
- "react-hooks/exhaustive-deps": "warn",
18
- "react-hooks/rules-of-hooks": "warn"
19
- },
20
- "parser": "babel-eslint",
21
- "env": {
22
- "browser": true,
23
- "es6": true
24
- },
25
- "settings": {
26
- "react": {
27
- "version": "detect"
28
- }
29
- }
30
- }
31
-
package/.prettierignore DELETED
@@ -1 +0,0 @@
1
- build/
package/.prettierrc DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "endOfLine": "lf",
3
- "bracketSpacing": true,
4
- "embeddedLanguageFormatting": "auto",
5
- "htmlWhitespaceSensitivity": "css",
6
- "insertPragma": false,
7
- "jsxBracketSameLine": false,
8
- "proseWrap": "preserve",
9
- "quoteProps": "as-needed",
10
- "requirePragma": false,
11
- "semi": true,
12
- "singleQuote": true,
13
- "tabWidth": 2,
14
- "trailingComma": "es5",
15
- "useTabs": false,
16
- "printWidth": 120,
17
- "arrowParens": "always",
18
- "jsxSingleQuote": true
19
- }
@@ -1,15 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- stories: ['../src/components/**/**/*.stories.js'],
5
- addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
6
- webpackFinal: async (config, { configType }) => {
7
- config.module.rules.push({
8
- test: /\.scss$/,
9
- use: ['style-loader', 'css-loader', 'sass-loader'],
10
- include: path.resolve(__dirname, '../src'),
11
- });
12
-
13
- return config;
14
- },
15
- };
@@ -1,3 +0,0 @@
1
- export const parameters = {
2
- actions: { argTypesRegex: '^on[A-Z].*' },
3
- };
package/rollup.config.js DELETED
@@ -1,30 +0,0 @@
1
- import resolve from '@rollup/plugin-node-resolve';
2
- import babel from '@rollup/plugin-babel';
3
- import peerDepsExternal from 'rollup-plugin-peer-deps-external';
4
- import commonjs from '@rollup/plugin-commonjs';
5
- import postcss from 'rollup-plugin-postcss';
6
- import packageJson from './package.json';
7
-
8
- export default {
9
- input: 'src/index.js', // All of your library files will be named exports from here
10
- output: [
11
- {
12
- // This is an easy way to keep your `main` in sync between rollup & the package
13
- file: packageJson.main,
14
- format: 'cjs',
15
- sourcemap: true,
16
- },
17
- ],
18
- plugins: [
19
- peerDepsExternal(),
20
- commonjs({
21
- include: 'node_modules/**',
22
- }),
23
- resolve(),
24
- babel({
25
- exclude: 'node_modules/**',
26
- babelHelpers: 'bundled',
27
- }),
28
- postcss(),
29
- ],
30
- };