simple-icons/package.json
Álvaro Mondéjar 8765f74c8a
Export ./icons entrypoint as index in package.json (#8076)
* Fix exports in package.json
2022-12-02 10:30:59 +01:00

84 lines
2.3 KiB
JSON

{
"name": "simple-icons",
"version": "7.21.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": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./icons/*": [
"./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": {
"chalk": "^5.0.1",
"editorconfig-checker": "4.0.2",
"esbuild": "0.15.15",
"fake-diff": "1.0.0",
"get-relative-luminance": "^1.0.0",
"husky": "8.0.2",
"inquirer": "^9.1.2",
"is-ci": "3.0.1",
"jsonschema": "1.4.1",
"mocha": "10.1.0",
"named-html-entities-json": "1.0.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.0",
"rimraf": "3.0.2",
"svg-path-bbox": "1.2.2",
"svg-path-segments": "1.0.0",
"svglint": "2.2.0",
"svgo": "3.0.2",
"svgpath": "2.6.0"
},
"scripts": {
"build": "node scripts/build/package.js",
"clean": "rimraf index.js index.mjs index.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",
"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",
"add-icon-data": "node scripts/add-icon-data.js"
},
"engines": {
"node": ">=0.12.18"
}
}