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
Sachin Raja d49492f1ef
switch from uvu to mocha (#7071)
* switch from uvu to mocha

* remove unused import

* custom min reporter

* use constants
2022-01-19 18:23:32 +01:00

74 lines
2.1 KiB
JSON

{
"name": "simple-icons",
"version": "6.7.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"
},
"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",
"devDependencies": {
"editorconfig-checker": "4.0.2",
"esbuild": "0.14.8",
"fake-diff": "1.0.0",
"husky": "7.0.4",
"is-ci": "3.0.1",
"jsonschema": "1.4.0",
"mocha": "9.1.4",
"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.1",
"svg-path-segments": "1.0.0",
"svglint": "2.0.0",
"svgo": "2.8.0",
"svgpath": "2.4.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"
}
}