mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 23:00:56 +00:00
95 lines
3.0 KiB
JSON
95 lines
3.0 KiB
JSON
{
|
|
"name": "@iconify/iconify",
|
|
"description": "Unified SVG framework with over 100,000 icons to choose from",
|
|
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
|
"version": "3.1.0",
|
|
"license": "MIT",
|
|
"main": "./dist/iconify.min.js",
|
|
"types": "./dist/iconify.d.ts",
|
|
"browser": "./dist/iconify.min.js",
|
|
"module": "./dist/iconify.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": "components/svg-framework"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf lib dist tests-compiled tsconfig.tsbuildinfo",
|
|
"lint": "eslint src/**/*.ts",
|
|
"prebuild": "pnpm run lint && pnpm run clean",
|
|
"build": "node build",
|
|
"build:lib": "tsc -b",
|
|
"build:dist": "rollup -c rollup.config.mjs",
|
|
"build:api": "api-extractor run --local --verbose",
|
|
"build:api2": "api-extractor run --local --verbose --config api-extractor.without-api.json",
|
|
"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.cjs",
|
|
"import": "./dist/iconify.mjs",
|
|
"types": "./dist/iconify.d.ts",
|
|
"default": "./dist/iconify.min.js"
|
|
},
|
|
"./dist/iconify": {
|
|
"require": "./dist/iconify.cjs",
|
|
"import": "./dist/iconify.mjs",
|
|
"default": "./dist/iconify.min.js",
|
|
"types": "./dist/iconify.d.ts"
|
|
},
|
|
"./dist/iconify.min": {
|
|
"require": "./dist/iconify.cjs",
|
|
"import": "./dist/iconify.mjs",
|
|
"types": "./dist/iconify.d.ts",
|
|
"default": "./dist/iconify.min.js"
|
|
},
|
|
"./dist/iconify.without-api": {
|
|
"require": "./dist/iconify.without-api.cjs",
|
|
"import": "./dist/iconify.without-api.mjs",
|
|
"types": "./dist/iconify.without-api.d.ts",
|
|
"default": "./dist/iconify.without-api.min.js"
|
|
},
|
|
"./dist/iconify.without-api.min": {
|
|
"require": "./dist/iconify.without-api.cjs",
|
|
"import": "./dist/iconify.without-api.mjs",
|
|
"types": "./dist/iconify.without-api.d.ts",
|
|
"default": "./dist/iconify.without-api.min.js"
|
|
},
|
|
"./offline": {
|
|
"require": "./dist/iconify.without-api.cjs",
|
|
"import": "./dist/iconify.without-api.mjs",
|
|
"types": "./dist/iconify.without-api.d.ts",
|
|
"default": "./dist/iconify.without-api.min.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@iconify/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify/core": "workspace:^",
|
|
"@iconify/utils": "workspace:^",
|
|
"@microsoft/api-extractor": "^7.35.1",
|
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@rollup/plugin-terser": "^0.4.3",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/node": "^18.16.16",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.42.0",
|
|
"jest": "^29.5.0",
|
|
"jsdom": "^21.1.2",
|
|
"rimraf": "^4.4.1",
|
|
"rollup": "^3.23.1",
|
|
"ts-jest": "^29.1.0",
|
|
"typescript": "^5.1.3"
|
|
}
|
|
}
|