1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00
simple-icons/package.json
Sigurd Spieckermann e58dc74d30
add "exports" for SVG files (#7241)
Co-authored-by: Sachin Raja <sachinraja2349@gmail.com>
2022-03-19 07:19:49 -07:00

81 lines
2.2 KiB
JSON

{
"name": "simple-icons",
"version": "6.14.0",
"description": "SVG icons for popular brands https://simpleicons.org",
"homepage": "https://simpleicons.org",
"keywords": [
"svg",
"icons"
],
"type": "commonjs",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": "./index.js",
"./icons": {
"module": "./icons.mjs",
"import": "./icons.mjs",
"require": "./icons.js",
"default": "./icons.js"
},
"./icons/*": [
"./icons/*.js",
"./icons/*"
]
},
"sideEffects": false,
"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",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/simple-icons"
},
"devDependencies": {
"editorconfig-checker": "4.0.2",
"esbuild": "0.14.21",
"fake-diff": "1.0.0",
"husky": "7.0.4",
"is-ci": "3.0.1",
"jsonschema": "1.4.0",
"mocha": "9.2.0",
"named-html-entities-json": "1.0.0",
"npm-run-all": "4.1.5",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"svg-path-bbox": "1.0.2",
"svg-path-segments": "1.0.0",
"svglint": "2.1.0",
"svgo": "2.8.0",
"svgpath": "2.5.0"
},
"scripts": {
"build": "node scripts/build/package.js",
"clean": "rimraf icons/*.js icons/*.d.ts index.js icons.js icons.mjs icons.d.ts",
"format": "prettier --write .",
"lint": "run-s our-lint jslint jsonlint svglint wslint",
"our-lint": "node scripts/lint/ourlint.js",
"jslint": "prettier --check .",
"jsonlint": "node scripts/lint/jsonlint.js",
"svglint": "svglint icons/*.svg --ci --config .svglintrc.mjs",
"wslint": "editorconfig-checker",
"prepare": "is-ci || husky install",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"test": "mocha tests --reporter tests/min-reporter.cjs --inline-diffs",
"pretest": "npm run prepublishOnly",
"posttest": "npm run postpublish",
"svgo": "svgo --config svgo.config.js",
"get-filename": "node scripts/get-filename.js"
},
"engines": {
"node": ">=0.12.18"
}
}