mirror of
https://github.com/iconify/iconify.git
synced 2024-11-17 10:05:09 +00:00
80 lines
2.5 KiB
JSON
80 lines
2.5 KiB
JSON
{
|
|
"name": "iconify-icon",
|
|
"description": "Icon web component that loads icon data on demand. Over 200,000 icons to choose from",
|
|
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
|
"version": "2.1.0",
|
|
"license": "MIT",
|
|
"main": "./dist/iconify-icon.cjs",
|
|
"types": "./dist/iconify-icon.d.ts",
|
|
"jsdelivr": "./dist/iconify-icon.min.js",
|
|
"unpkg": "./dist/iconify-icon.min.js",
|
|
"module": "./dist/iconify-icon.mjs",
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
"homepage": "https://iconify.design/",
|
|
"funding": "https://github.com/sponsors/cyberalien",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/iconify/iconify.git",
|
|
"directory": "iconify-icon/icon"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
|
|
"lint": "eslint src/**/*.ts",
|
|
"prebuild": "pnpm run lint && pnpm run clean",
|
|
"build": "node build",
|
|
"build:api": "api-extractor run --local --verbose",
|
|
"build:lib": "tsc -b",
|
|
"build:dist": "rollup -c rollup.config.mjs",
|
|
"test:jest": "jest --runInBand",
|
|
"test:mjs": "cross-env NODE_OPTIONS=--experimental-vm-modules node tests/import-test.mjs",
|
|
"test": "pnpm run test:jest && pnpm run test:mjs"
|
|
},
|
|
"exports": {
|
|
"./*": "./*",
|
|
".": {
|
|
"require": "./dist/iconify-icon.cjs",
|
|
"import": "./dist/iconify-icon.mjs",
|
|
"types": "./dist/iconify-icon.d.ts",
|
|
"default": "./dist/iconify-icon.min.js"
|
|
},
|
|
"./dist/iconify": {
|
|
"require": "./dist/iconify-icon.cjs",
|
|
"import": "./dist/iconify-icon.mjs",
|
|
"types": "./dist/iconify-icon.d.ts",
|
|
"default": "./dist/iconify-icon.min.js"
|
|
},
|
|
"./dist/iconify.min": {
|
|
"require": "./dist/iconify-icon.cjs",
|
|
"import": "./dist/iconify-icon.mjs",
|
|
"types": "./dist/iconify-icon.d.ts",
|
|
"default": "./dist/iconify-icon.min.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@iconify/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.13.0",
|
|
"@iconify/core": "workspace:^",
|
|
"@iconify/utils": "workspace:^",
|
|
"@microsoft/api-extractor": "^7.47.11",
|
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
"@rollup/plugin-replace": "^6.0.1",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/node": "^22.8.6",
|
|
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^9.13.0",
|
|
"globals": "^15.11.0",
|
|
"jest": "^29.7.0",
|
|
"jsdom": "^25.0.1",
|
|
"rimraf": "^6.0.1",
|
|
"rollup": "^4.24.3",
|
|
"ts-jest": "^29.2.5",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|