1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00
simple-icons/package.json
Álvaro Mondéjar 45583efadd
Add lint to check JSON data file prettification (#4320)
* Add test for check JSON data file prettification

* Move prettification test to out linting script

* Add other newline in error message to improve readability

* Invert the diff to show the solution to the user

* Add 'jest-diff' as direct dependency

* Remove annotations and colors

* Replace CRLF newlines with LFs in JSON prettification lint

* Restore colors in JSON prettification lint
2020-12-13 21:17:41 +01:00

52 lines
1.4 KiB
JSON

{
"name": "simple-icons",
"version": "4.2.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.3.0",
"jest": "26.6.3",
"jest-diff": "26.6.2",
"jsonlint2": "1.7.1",
"npm-run-all": "4.1.5",
"svg-path-bbox": "0.1.5",
"svglint": "1.0.7",
"svgo": "1.3.2",
"svgpath": "2.3.0",
"uglify-js": "3.12.1"
},
"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"
},
"engine": {
"node": ">=0.12.18"
}
}