@monkvision/svgo-config 4.0.7

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.
Files changed (4) hide show
  1. package/LICENSE +32 -0
  2. package/README.md +20 -0
  3. package/index.js +15 -0
  4. package/package.json +36 -0
package/LICENSE ADDED
@@ -0,0 +1,32 @@
1
+ The Clear BSD License
2
+
3
+ Copyright (c) [2022] [Monk](http://monk.ai)
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted (subject to the limitations in the disclaimer
8
+ below) provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from this
19
+ software without specific prior written permission.
20
+
21
+ NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
22
+ THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
23
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
25
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
26
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
29
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
30
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
+ POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @monkvision/svgo-config
2
+ This package provides the base SVGO configuration used throughout the MonkJs projects
3
+
4
+ # Install
5
+ To install the project simply run the following command :
6
+
7
+ ```shell
8
+ yarn add -D svgo @monkvision/svgo-config
9
+ ```
10
+
11
+ # How to use
12
+ To use the SVGO config exported by this package, simply add the following line in your `svgo.config.js` :
13
+
14
+ ```javascript
15
+ const config = require('@monkvision/svgo-config');
16
+
17
+ module.exports = {
18
+ ...config,
19
+ };
20
+ ```
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+ module.exports = {
2
+ recursive: true,
3
+ quiet: true,
4
+ plugins: [
5
+ 'preset-default',
6
+ 'prefixIds',
7
+ 'removeDimensions',
8
+ {
9
+ name: 'sortAttrs',
10
+ params: {
11
+ xmlnsOrder: 'alphabetical',
12
+ },
13
+ },
14
+ ],
15
+ };
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@monkvision/svgo-config",
3
+ "packageManager": "yarn@3.2.4",
4
+ "version": "4.0.7",
5
+ "description": "SVGO configuration files used in MonkJs projects",
6
+ "author": "monkvision",
7
+ "main": "index.js",
8
+ "license": "BSD-3-Clause-Clear",
9
+ "files": [
10
+ "index.js",
11
+ "LICENSE",
12
+ "README.md"
13
+ ],
14
+ "peerDependencies": {
15
+ "prettier": "^2.7.1"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/monkvision/monkjs.git"
23
+ },
24
+ "keywords": [
25
+ "monkvision",
26
+ "style guide",
27
+ "lint",
28
+ "prettier",
29
+ "config"
30
+ ],
31
+ "bugs": {
32
+ "url": "https://github.com/monkvision/monkjs/issues"
33
+ },
34
+ "homepage": "https://github.com/monkvision/monkjs",
35
+ "gitHead": "f132e4e5bc390aa304e25a05f3f72f5e1dca6b13"
36
+ }