mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 18:04:12 +03:00
c6a9346985
* Add URL friendy/slug/file name as property to package icon objects * Test new property * Build index from template * Add .get function to index.js export * Test new .get function in index.js export * Use Uglify-JS to minify the code in the package's index.js * Update API in README.md * Renaem test using "slug" instead of "name"
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "simple-icons",
|
|
"version": "1.11.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": "^2.0.8",
|
|
"jest": "^24.1.0",
|
|
"jsonlint2": "^1.7.1",
|
|
"svglint": "^1.0.4",
|
|
"uglify-js": "^3.6.0"
|
|
},
|
|
"scripts": {
|
|
"jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
|
|
"svglint": "svglint icons/* --ci",
|
|
"wslint": "editorconfig-checker --ignore",
|
|
"prepublishOnly": "node scripts/prepublish.js",
|
|
"postpublish": "rm icons/*.js index.js",
|
|
"test": "jest",
|
|
"pretest": "npm run prepublishOnly",
|
|
"posttest": "npm run postpublish"
|
|
}
|
|
}
|