mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-17 10:54:12 +03:00
5da34c7efd
* Add linter to check svg path dimensions Float precision is set at 3 which is the default for svgo in .svgo.yml; precision can be raised over time. This adds an ignore file with the current paths of non-conforming icons. This also changes the name of the icon title linter as well so it reads more nicely than "custom". * Update CONTRIBUTING GUIDELINES Add a note on visual imperfections and viewbox problems due to optimizing. Co-authored-by: Eric Cornelisesn <ericornelissen@gmail.com> Co-authored-by: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "simple-icons",
|
|
"version": "2.16.0",
|
|
"description": "SVG icons for popular brands https://simpleicons.org",
|
|
"homepage": "https://www.simpleicons.org",
|
|
"keywords": [
|
|
"svg",
|
|
"icons"
|
|
],
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/simple-icons/simple-icons.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/simple-icons/simple-icons/issues"
|
|
},
|
|
"author": "Simple Icons Collaborators",
|
|
"license": "CC0-1.0",
|
|
"devDependencies": {
|
|
"editorconfig-checker": "3.1.0",
|
|
"jest": "26.0.1",
|
|
"jsonlint2": "1.7.1",
|
|
"npm-run-all": "4.1.5",
|
|
"svg-path-bounding-box": "1.0.4",
|
|
"svglint": "1.0.5",
|
|
"svgo": "1.3.2",
|
|
"uglify-js": "3.9.4"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/build-package.js",
|
|
"clean": "rm icons/*.js index.js",
|
|
"lint": "run-s our-lint jsonlint svglint wslint",
|
|
"our-lint": "node scripts/lint.js",
|
|
"jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
|
|
"svglint": "svglint icons/*.svg --ci",
|
|
"wslint": "editorconfig-checker -exclude \\.svg$",
|
|
"prepublishOnly": "npm run build",
|
|
"postpublish": "npm run clean",
|
|
"test": "jest",
|
|
"pretest": "npm run prepublishOnly",
|
|
"posttest": "npm run postpublish",
|
|
"svgo": "svgo --config=./.svgo.yml",
|
|
"get-filename": "node scripts/get-filename.js"
|
|
}
|
|
}
|