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",
|
2024-05-31 09:45:56 +00:00
|
|
|
"version": "5.0.0",
|
2021-04-23 15:06:49 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
|
|
"homepage": "https://iconify.design/",
|
2022-09-08 06:40:06 +00:00
|
|
|
"funding": "https://github.com/sponsors/cyberalien",
|
2021-04-23 15:06:49 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/iconify/iconify.git",
|
2022-05-12 20:10:42 +00:00
|
|
|
"directory": "components/react"
|
2021-04-23 15:06:49 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-09-25 10:08:47 +00:00
|
|
|
"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",
|
2024-05-28 19:20:42 +00:00
|
|
|
"build:dist": "rollup -c rollup.config.js",
|
2021-04-23 20:50:17 +00:00
|
|
|
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
|
|
|
|
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
|
2024-05-24 10:15:15 +00:00
|
|
|
"build:cleanup": "node cleanup",
|
2022-01-10 21:39:39 +00:00
|
|
|
"test": "jest --runInBand"
|
2021-04-23 15:06:49 +00:00
|
|
|
},
|
2021-04-23 20:50:17 +00:00
|
|
|
"main": "dist/iconify.js",
|
|
|
|
"types": "dist/iconify.d.ts",
|
2021-09-25 10:08:47 +00:00
|
|
|
"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",
|
2021-09-25 10:08:47 +00:00
|
|
|
"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",
|
2021-09-25 10:08:47 +00:00
|
|
|
"default": "./dist/offline.js"
|
2022-02-28 10:07:21 +00:00
|
|
|
},
|
|
|
|
"./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",
|
2022-02-28 10:07:21 +00:00
|
|
|
"default": "./dist/offline.js"
|
2021-09-25 10:08:47 +00:00
|
|
|
}
|
|
|
|
},
|
2022-04-30 18:36:25 +00:00
|
|
|
"dependencies": {
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/types": "workspace:^"
|
2022-04-30 18:36:25 +00:00
|
|
|
},
|
2021-04-23 15:06:49 +00:00
|
|
|
"devDependencies": {
|
2024-04-15 15:15:11 +00:00
|
|
|
"@babel/preset-env": "^7.24.4",
|
|
|
|
"@babel/preset-react": "^7.24.1",
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/core": "workspace:^",
|
2022-06-19 18:52:07 +00:00
|
|
|
"@iconify/utils": "workspace:^",
|
2024-04-15 15:15:11 +00:00
|
|
|
"@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",
|
2022-09-07 19:11:48 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-test-renderer": "^18.2.0",
|
2023-04-02 07:29:40 +00:00
|
|
|
"rimraf": "^4.4.1",
|
2024-04-15 15:15:11 +00:00
|
|
|
"rollup": "^3.29.4",
|
|
|
|
"typescript": "^5.4.5"
|
2022-05-26 06:46:43 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-05-26 08:55:46 +00:00
|
|
|
"react": ">=16"
|
2021-04-23 15:06:49 +00:00
|
|
|
}
|
|
|
|
}
|