mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 18:04:12 +03:00
b07f8f37cd
* Add `npm run lint` command that runs all our linting commands at once Using npm-run-all [1], following a comment from a contributor [2]. -- 1. https://www.npmjs.com/package/npm-run-all 2. https://github.com/simple-icons/simple-icons/pull/2958#issuecomment-616540155 * Mention new `npm run lint` command in the contributing guidelines
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "simple-icons",
|
|
"version": "2.10.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.0.4",
|
|
"jest": "25.4.0",
|
|
"jsonlint2": "1.7.1",
|
|
"npm-run-all": "4.1.5",
|
|
"svglint": "1.0.5",
|
|
"svgo": "1.3.2",
|
|
"uglify-js": "3.9.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/* --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"
|
|
}
|
|
} |