@bigbinary/neetoui 3.2.37 → 3.2.38

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": "@bigbinary/neetoui",
3
- "version": "3.2.37",
3
+ "version": "3.2.38",
4
4
  "main": "./index.js",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",
@@ -82,7 +82,6 @@
82
82
  "react-dom": "^16.13.1",
83
83
  "react-router-dom": "^5.2.0",
84
84
  "react-select": "^5.2.1",
85
- "react-spinners": "^0.9.0",
86
85
  "react-spring": "^8.0.27",
87
86
  "react-test-renderer": "^17.0.2",
88
87
  "react-toastify": "^8.0.2",
package/babel.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = (api) => {
2
- api.cache(true);
3
- return {
4
- presets: ["@babel/preset-env", "@babel/preset-react"],
5
- };
6
- };
package/jest.config.js DELETED
@@ -1,12 +0,0 @@
1
- module.exports = () => {
2
- return {
3
- verbose: true,
4
- moduleNameMapper: {
5
- "^.+\\.(css|less|scss)$": "identity-obj-proxy",
6
- },
7
- transformIgnorePatterns: [
8
- "/node_modules/(?!(@babel|react-router-nav-prompt))",
9
- ],
10
- testEnvironment: "jsdom",
11
- };
12
- };
package/jsconfig.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES6",
4
- "allowSyntheticDefaultImports": true,
5
- "module": "commonJS",
6
- "baseUrl": ".",
7
- "paths": {
8
- "*": ["*"]
9
- },
10
- "esModuleInterop": true,
11
- "jsx": "react"
12
- },
13
- "exclude": ["build/index.js", "build/layouts.js","build/formik.js", "node_modules"],
14
- "include": ["./**/*.js", "./**/*.jsx"]
15
- }
package/postcss.config.js DELETED
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- plugins: [
3
- require("postcss-import"),
4
- require("tailwindcss"),
5
- require("postcss-preset-env")({
6
- autoprefixer: {
7
- flexbox: "no-2009",
8
- },
9
- stage: 3,
10
- }),
11
- require("cssnano"),
12
- ],
13
- };
@@ -1,14 +0,0 @@
1
- module.exports = {
2
- purge: {
3
- enabled: process.env.NODE_ENV === "production" ? true : false,
4
- content: [
5
- "./lib/**/*.js",
6
- "./lib/**/**/*.js",
7
- "./lib/**/**/**/*.js",
8
- "./lib/*.js",
9
- "./example/**/*.js",
10
- "./example/**/**/*.js",
11
- ],
12
- defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:/]+/g) || [],
13
- },
14
- };
package/webpack.config.js DELETED
@@ -1,68 +0,0 @@
1
- const PeerDepsExternalsPlugin = require("@bigbinary/peer-deps-externals-webpack-plugin");
2
- const MiniCssExtractPlugin = require("mini-css-extract-plugin");
3
- const BundleAnalyzerPlugin =
4
- require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
5
- const path = require("path");
6
-
7
- module.exports = {
8
- entry: {
9
- index: "./lib/components/index.js",
10
- layouts: "./lib/components/layouts/index.js",
11
- formik: "./lib/components/formik/index.js",
12
- },
13
- plugins: [
14
- new MiniCssExtractPlugin(),
15
- new PeerDepsExternalsPlugin(),
16
- // new BundleAnalyzerPlugin(),
17
- ],
18
- module: {
19
- rules: [
20
- {
21
- test: /\.md$/i,
22
- use: "raw-loader",
23
- },
24
- {
25
- test: /\.(js|jsx)$/,
26
- exclude: /node_modules/,
27
- include: [path.resolve(__dirname, "lib")],
28
- use: [
29
- {
30
- loader: "babel-loader",
31
- },
32
- ],
33
- },
34
- {
35
- test: /\.html$/,
36
- use: [
37
- {
38
- loader: "html-loader",
39
- },
40
- ],
41
- },
42
- {
43
- test: /\.(png|jpe?g|gif|svg)$/i,
44
- use: [
45
- {
46
- loader: "file-loader",
47
- },
48
- ],
49
- },
50
- {
51
- test: /\.s[ac]ss$/i,
52
- use: [
53
- MiniCssExtractPlugin.loader,
54
- "css-loader",
55
- "postcss-loader",
56
- "sass-loader",
57
- ],
58
- },
59
- ],
60
- },
61
- output: {
62
- publicPath: "",
63
- path: __dirname,
64
- filename: "[name].js",
65
- library: "neetoui",
66
- libraryTarget: "umd",
67
- },
68
- };
@@ -1,79 +0,0 @@
1
- const path = require("path");
2
- const HtmlWebPackPlugin = require("html-webpack-plugin");
3
- const BundleAnalyzerPlugin =
4
- require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
5
-
6
- module.exports = {
7
- entry: "./example/src/index.js",
8
- devtool: "eval-cheap-source-map",
9
- module: {
10
- rules: [
11
- {
12
- test: /\.md$/i,
13
- use: "raw-loader",
14
- },
15
- {
16
- test: /\.(js|jsx)$/,
17
- exclude: /node_modules/,
18
- include: [path.resolve(__dirname, "example")],
19
- use: [
20
- {
21
- loader: "babel-loader",
22
- },
23
- ],
24
- },
25
- {
26
- test: /\.(js|jsx)$/,
27
- exclude: /node_modules/,
28
- include: [path.resolve(__dirname, "lib")],
29
- use: [
30
- {
31
- loader: "babel-loader",
32
- },
33
- ],
34
- },
35
- {
36
- test: /\.html$/,
37
- use: [
38
- {
39
- loader: "html-loader",
40
- },
41
- ],
42
- },
43
- {
44
- test: /\.(png|jpe?g|gif|svg)$/i,
45
- use: [
46
- {
47
- loader: "file-loader",
48
- },
49
- ],
50
- },
51
- {
52
- test: /\.s[ac]ss|css$/i,
53
- use: [
54
- // Creates `style` nodes from JS strings
55
- "style-loader",
56
- // Translates CSS into CommonJS
57
- "css-loader",
58
- "postcss-loader",
59
- // Compiles Sass to CSS
60
- "sass-loader",
61
- ],
62
- },
63
- ],
64
- },
65
- output: {
66
- path: __dirname + "/dist",
67
- publicPath: "/",
68
- },
69
- devServer: {
70
- historyApiFallback: true,
71
- },
72
- plugins: [
73
- // new BundleAnalyzerPlugin(),
74
- new HtmlWebPackPlugin({
75
- template: "./example/index.html",
76
- filename: "./index.html",
77
- }),
78
- ],
79
- };