@bigbinary/neeto-site-blocks 0.6.3 → 0.6.4
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/dist/index.cjs.js +12 -6
- package/dist/index.js +12 -6
- package/package.json +6 -2
- package/.browserslistrc +0 -1
- package/babel.config.js +0 -1
- package/postcss.config.js +0 -13
- package/resolve.js +0 -8
- package/tailwind.config.js +0 -1
- package/webpack.config.js +0 -72
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-site-blocks",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "./types.d.ts",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"build": "NODE_ENV=production rollup -c rollup.config.js",
|
|
13
13
|
"prepare": "husky install"
|
|
14
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"types.d.ts"
|
|
18
|
+
],
|
|
15
19
|
"lint-staged": {
|
|
16
20
|
"{src, example}/**/*.{html,md,js,jsx,json}": [
|
|
17
21
|
"prettier --write",
|
|
@@ -51,7 +55,6 @@
|
|
|
51
55
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
52
56
|
"classnames": "2.3.1",
|
|
53
57
|
"css-loader": "6.7.1",
|
|
54
|
-
"dompurify": "^3.0.0",
|
|
55
58
|
"eslint": "8.14.0",
|
|
56
59
|
"eslint-config-prettier": "8.5.0",
|
|
57
60
|
"eslint-plugin-cypress": "2.12.1",
|
|
@@ -69,6 +72,7 @@
|
|
|
69
72
|
"html-webpack-plugin": "5.5.0",
|
|
70
73
|
"husky": "7.0.4",
|
|
71
74
|
"identity-obj-proxy": "3.0.0",
|
|
75
|
+
"interweave": "^13.0.0",
|
|
72
76
|
"lint-staged": "12.4.1",
|
|
73
77
|
"postcss": "^8.4.17",
|
|
74
78
|
"postcss-import": "^15.0.0",
|
package/.browserslistrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
defaults
|
package/babel.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@bigbinary/neeto-commons-frontend/configs/babel.js");
|
package/postcss.config.js
DELETED
package/resolve.js
DELETED
package/tailwind.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@bigbinary/neeto-commons-frontend/configs/nanos/tailwind.js");
|
package/webpack.config.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
|
|
3
|
-
const HtmlWebPackPlugin = require("html-webpack-plugin");
|
|
4
|
-
const webpack = require("webpack");
|
|
5
|
-
const { mergeDeepLeft } = require("ramda");
|
|
6
|
-
|
|
7
|
-
const commonResolve = require("@bigbinary/neeto-commons-frontend/configs/nanos/webpack/resolve.js");
|
|
8
|
-
const projectResolve = require("./resolve.js");
|
|
9
|
-
|
|
10
|
-
module.exports = {
|
|
11
|
-
entry: "./example/src/index.jsx",
|
|
12
|
-
devtool: "source-map",
|
|
13
|
-
module: {
|
|
14
|
-
rules: [
|
|
15
|
-
{
|
|
16
|
-
test: /\.(js|jsx)$/,
|
|
17
|
-
exclude: /node_modules/,
|
|
18
|
-
use: {
|
|
19
|
-
loader: "babel-loader",
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
test: /\.html$/,
|
|
24
|
-
use: [
|
|
25
|
-
{
|
|
26
|
-
loader: "html-loader",
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
test: /\.(png|jpe?g|gif|svg)$/i,
|
|
32
|
-
use: [
|
|
33
|
-
{
|
|
34
|
-
loader: "file-loader",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
test: /\.(sass|css|scss)$/,
|
|
40
|
-
use: [
|
|
41
|
-
// Creates `style` nodes from JS strings
|
|
42
|
-
"style-loader",
|
|
43
|
-
// Translates CSS into CommonJS
|
|
44
|
-
"css-loader",
|
|
45
|
-
"postcss-loader",
|
|
46
|
-
// Compiles Sass to CSS
|
|
47
|
-
"sass-loader",
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
output: {
|
|
53
|
-
path: `${__dirname}/build`,
|
|
54
|
-
publicPath: "/",
|
|
55
|
-
},
|
|
56
|
-
devServer: {
|
|
57
|
-
historyApiFallback: true,
|
|
58
|
-
client: {
|
|
59
|
-
overlay: false,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
plugins: [
|
|
63
|
-
new HtmlWebPackPlugin({
|
|
64
|
-
template: "./example/index.html",
|
|
65
|
-
filename: "./index.html",
|
|
66
|
-
}),
|
|
67
|
-
new webpack.DefinePlugin({
|
|
68
|
-
"process.env": JSON.stringify(process.env),
|
|
69
|
-
}),
|
|
70
|
-
],
|
|
71
|
-
resolve: mergeDeepLeft(projectResolve, commonResolve),
|
|
72
|
-
};
|