mirror of
https://github.com/iconify/iconify.git
synced 2024-11-10 15:20:54 +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": "2.2.1",
|
|
"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": "http://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": "npm run lint && npm run clean",
|
|
"build": "node build",
|
|
"build:lib": "tsc -b",
|
|
"build:dist": "rollup -c rollup.config.js",
|
|
"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": "npm run test:jest && npm 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": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify/core": "^1.3.2",
|
|
"@microsoft/api-extractor": "^7.19.5",
|
|
"@rollup/plugin-buble": "^0.21.3",
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
"@rollup/plugin-replace": "^4.0.0",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/jsdom": "^16.2.14",
|
|
"@types/node": "^17.0.22",
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.11.0",
|
|
"jest": "^28.0.0-alpha.7",
|
|
"jsdom": "^19.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.70.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"ts-jest": "^27.1.3",
|
|
"typescript": "^4.6.2"
|
|
}
|
|
}
|