2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-17 10:05:09 +00:00
iconify/components/react/package.json
2023-06-22 11:50:27 +03:00

70 lines
1.9 KiB
JSON

{
"name": "@iconify/react",
"description": "Iconify icon component for React.",
"author": "Vjacheslav Trushkin",
"version": "4.1.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.mjs",
"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",
"module": "dist/iconify.mjs",
"types": "dist/iconify.d.ts",
"exports": {
"./*": "./*",
".": {
"import": "./dist/iconify.mjs",
"types": "./dist/iconify.d.ts",
"default": "./dist/iconify.js"
},
"./offline": {
"import": "./dist/offline.mjs",
"types": "./dist/offline.d.ts",
"default": "./dist/offline.js"
},
"./dist/offline": {
"import": "./dist/offline.mjs",
"types": "./dist/offline.d.ts",
"default": "./dist/offline.js"
}
},
"dependencies": {
"@iconify/types": "workspace:^"
},
"devDependencies": {
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.35.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/react": "^18.2.8",
"babel-jest": "^29.5.0",
"jest": "^29.5.0",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^4.4.1",
"rollup": "^3.23.1",
"typescript": "^5.1.3"
},
"peerDependencies": {
"react": ">=16"
}
}