@openeuropa/bcl-builder 0.28.1 → 1.0.0
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/conf/svgoDefaultPlugins.js +14 -110
- package/package.json +20 -20
- package/scripts/sprite.js +1 -1
|
@@ -1,118 +1,22 @@
|
|
|
1
1
|
module.exports = [
|
|
2
2
|
{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
cleanupListOfValues: true,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
cleanupNumericValues: true,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
collapseGroups: true,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
convertColors: true,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
convertPathData: {
|
|
25
|
-
noSpaceAfterFlags: false,
|
|
3
|
+
name: "preset-default",
|
|
4
|
+
params: {
|
|
5
|
+
overrides: {
|
|
6
|
+
removeUnknownsAndDefaults: {
|
|
7
|
+
keepRoleAttr: true,
|
|
8
|
+
},
|
|
9
|
+
removeViewBox: false,
|
|
10
|
+
},
|
|
26
11
|
},
|
|
27
12
|
},
|
|
13
|
+
"cleanupListOfValues",
|
|
14
|
+
"removeXMLNS",
|
|
15
|
+
"sortAttrs",
|
|
28
16
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
convertStyleToAttrs: true,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
convertTransform: true,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
inlineStyles: true,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
mergePaths: {
|
|
42
|
-
noSpaceAfterFlags: false,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
minifyStyles: true,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
moveElemsAttrsToGroup: true,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
moveGroupAttrsToElems: true,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
removeAttrs: {
|
|
56
|
-
attrs: ["data-name", "fill", "clip-rule"],
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
removeComments: true,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
removeDesc: true,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
removeDoctype: true,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
removeEditorsNSData: true,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
removeEmptyAttrs: true,
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
removeEmptyContainers: true,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
removeEmptyText: true,
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
removeHiddenElems: true,
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
removeMetadata: true,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
removeNonInheritableGroupAttrs: true,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
removeTitle: true,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
removeUnknownsAndDefaults: {
|
|
94
|
-
keepRoleAttr: true,
|
|
17
|
+
name: "removeAttrs",
|
|
18
|
+
params: {
|
|
19
|
+
attrs: ["clip-rule", "data-name", "fill"],
|
|
95
20
|
},
|
|
96
21
|
},
|
|
97
|
-
{
|
|
98
|
-
removeUnusedNS: true,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
removeUselessDefs: true,
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
removeUselessStrokeAndFill: true,
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
removeViewBox: false,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
removeXMLNS: true,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
removeXMLProcInst: true,
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
sortAttrs: true,
|
|
117
|
-
},
|
|
118
22
|
];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-builder",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "1.0.0",
|
|
6
6
|
"description": "Bootstrap Component Library builder",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -11,31 +11,31 @@
|
|
|
11
11
|
"bcl-builder": "./bin/build.js"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@babel/core": "7.
|
|
15
|
-
"@babel/preset-env": "7.
|
|
16
|
-
"@babel/runtime": "7.
|
|
14
|
+
"@babel/core": "7.20.12",
|
|
15
|
+
"@babel/preset-env": "7.20.2",
|
|
16
|
+
"@babel/runtime": "7.20.7",
|
|
17
17
|
"@popperjs/core": "2.11.6",
|
|
18
|
-
"@rollup/plugin-babel": "
|
|
19
|
-
"@rollup/plugin-commonjs": "
|
|
20
|
-
"@rollup/plugin-node-resolve": "
|
|
21
|
-
"@rollup/plugin-replace": "
|
|
22
|
-
"autoprefixer": "10.4.
|
|
18
|
+
"@rollup/plugin-babel": "6.0.3",
|
|
19
|
+
"@rollup/plugin-commonjs": "24.0.0",
|
|
20
|
+
"@rollup/plugin-node-resolve": "15.0.1",
|
|
21
|
+
"@rollup/plugin-replace": "5.0.2",
|
|
22
|
+
"autoprefixer": "10.4.13",
|
|
23
23
|
"babel-eslint": "10.1.0",
|
|
24
|
-
"browser-sync": "2.27.
|
|
25
|
-
"commander": "9.
|
|
24
|
+
"browser-sync": "2.27.11",
|
|
25
|
+
"commander": "9.5.0",
|
|
26
26
|
"copyfiles": "2.4.1",
|
|
27
27
|
"cross-env": "7.0.3",
|
|
28
|
-
"cssnano": "5.1.
|
|
29
|
-
"postcss": "8.4.
|
|
30
|
-
"rollup": "
|
|
31
|
-
"rollup-plugin-istanbul": "
|
|
28
|
+
"cssnano": "5.1.14",
|
|
29
|
+
"postcss": "8.4.21",
|
|
30
|
+
"rollup": "3.9.1",
|
|
31
|
+
"rollup-plugin-istanbul": "4.0.0",
|
|
32
32
|
"rollup-plugin-terser": "7.0.2",
|
|
33
|
-
"sass": "1.
|
|
34
|
-
"svg-sprite": "
|
|
35
|
-
"svgo": "
|
|
33
|
+
"sass": "1.57.1",
|
|
34
|
+
"svg-sprite": "2.0.2",
|
|
35
|
+
"svgo": "3.0.2"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
38
|
+
"node": ">=14.0.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "16b986722345644e83a37dc8091c07eecbdf4c8c"
|
|
41
41
|
}
|