2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-14 00:34:04 +00:00
iconify/components/react/package.json

73 lines
2.0 KiB
JSON
Raw Normal View History

2021-04-23 15:06:49 +00:00
{
"name": "@iconify/react",
"description": "Iconify icon component for React.",
"author": "Vjacheslav Trushkin",
2024-05-28 19:20:42 +00:00
"type": "module",
"version": "5.0.2",
2021-04-23 15:06:49 +00:00
"license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/",
"funding": "https://github.com/sponsors/cyberalien",
2021-04-23 15:06:49 +00:00
"repository": {
"type": "git",
"url": "https://github.com/iconify/iconify.git",
"directory": "components/react"
2021-04-23 15:06:49 +00:00
},
"scripts": {
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
2022-06-19 19:40:13 +00:00
"prebuild": "pnpm run clean",
2021-04-23 15:06:49 +00:00
"build": "node build",
"build:lib": "tsc -b tsconfig.src.json",
2024-05-28 19:20:42 +00:00
"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": "vitest"
2021-04-23 15:06:49 +00:00
},
"main": "dist/iconify.js",
"types": "dist/iconify.d.ts",
"exports": {
"./*": "./*",
".": {
2024-05-31 09:45:56 +00:00
"types": "./dist/iconify.d.ts",
2024-05-28 19:20:42 +00:00
"require": "./dist/iconify.cjs",
"import": "./dist/iconify.js",
"default": "./dist/iconify.js"
},
"./offline": {
2024-05-31 09:45:56 +00:00
"types": "./dist/offline.d.ts",
2024-05-28 19:20:42 +00:00
"require": "./dist/offline.cjs",
"import": "./dist/offline.js",
"default": "./dist/offline.js"
},
"./dist/offline": {
2024-05-31 09:45:56 +00:00
"types": "./dist/offline.d.ts",
2024-05-28 19:20:42 +00:00
"require": "./dist/offline.cjs",
"import": "./dist/offline.js",
"default": "./dist/offline.js"
}
},
"dependencies": {
2022-06-19 17:58:50 +00:00
"@iconify/types": "workspace:^"
},
2021-04-23 15:06:49 +00:00
"devDependencies": {
2022-06-19 17:58:50 +00:00
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.47.2",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"jsdom": "^24.1.1",
"react": "^18.3.1",
2023-04-02 07:29:40 +00:00
"rimraf": "^4.4.1",
"rollup": "^3.29.4",
"typescript": "^5.5.3",
"vitest": "^2.0.4"
},
"peerDependencies": {
2022-05-26 08:55:46 +00:00
"react": ">=16"
2021-04-23 15:06:49 +00:00
}
}