mirror of
https://github.com/iconify/iconify.git
synced 2024-11-14 00:34:04 +00:00
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "@iconify/react",
|
|
"description": "Iconify icon component for React.",
|
|
"author": "Vjacheslav Trushkin",
|
|
"type": "module",
|
|
"version": "5.0.1",
|
|
"license": "MIT",
|
|
"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": "components/react"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
|
|
"prebuild": "pnpm run clean",
|
|
"build": "node build",
|
|
"build:lib": "tsc -b",
|
|
"build:dist": "rollup -c rollup.config.js",
|
|
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
|
|
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
|
|
"build:cleanup": "node cleanup",
|
|
"test": "jest --runInBand"
|
|
},
|
|
"main": "dist/iconify.js",
|
|
"types": "dist/iconify.d.ts",
|
|
"exports": {
|
|
"./*": "./*",
|
|
".": {
|
|
"types": "./dist/iconify.d.ts",
|
|
"require": "./dist/iconify.cjs",
|
|
"import": "./dist/iconify.js",
|
|
"default": "./dist/iconify.js"
|
|
},
|
|
"./offline": {
|
|
"types": "./dist/offline.d.ts",
|
|
"require": "./dist/offline.cjs",
|
|
"import": "./dist/offline.js",
|
|
"default": "./dist/offline.js"
|
|
},
|
|
"./dist/offline": {
|
|
"types": "./dist/offline.d.ts",
|
|
"require": "./dist/offline.cjs",
|
|
"import": "./dist/offline.js",
|
|
"default": "./dist/offline.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@iconify/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.24.4",
|
|
"@babel/preset-react": "^7.24.1",
|
|
"@iconify/core": "workspace:^",
|
|
"@iconify/utils": "workspace:^",
|
|
"@microsoft/api-extractor": "^7.43.1",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@types/react": "^18.2.78",
|
|
"babel-jest": "^29.7.0",
|
|
"jest": "^29.7.0",
|
|
"react": "^18.2.0",
|
|
"react-test-renderer": "^18.2.0",
|
|
"rimraf": "^4.4.1",
|
|
"rollup": "^3.29.4",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16"
|
|
}
|
|
}
|