UNPKG

react-sass-inlinesvg

Version:
104 lines (103 loc) 3.25 kB
{ "name": "react-sass-inlinesvg", "version": "1.1.1", "description": "React library designed to control SVG from Sass.", "keywords": [ "React", "Sass", "Css", "SVG", "react-inlinesvg", "animationstart", "inline", "mask-image", "color" ], "main": "./lib/index.js", "module": "./module/index.js", "typings": "./lib/index.d.ts", "style": "./_index.scss", "files": [ "_index.scss", "lib", "module" ], "scripts": { "build": "yarn clean && yarn build:lib && yarn build:module", "build:lib": "tsc -p ./tsconfig.json", "build:module": "tsc -p ./tsconfig.module.json", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md,html}\"", "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,yml,yaml,md,html}\"", "clean": "del-cli lib module", "start": "storybook dev", "storybuild": "storybook build --quiet -o ./dist/storybook", "test": "yarn jest --no-cache", "versionup:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major", "versionup:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor", "versionup:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch" }, "repository": { "type": "git", "url": "git+https://github.com/misuken-now/react-sass-inlinesvg.git" }, "author": "misuken-now (https://github.com/misuken-now)", "license": "MIT", "bugs": { "url": "https://github.com/misuken-now/react-sass-inlinesvg/issues" }, "homepage": "https://github.com/misuken-now/react-sass-inlinesvg#readme", "sideEffects": [ "*.scss" ], "peerDependencies": { "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0" }, "dependencies": { "p-settle": "^5.0.0", "react-use": "^17.6.0", "smart-svg": "^1.0.1" }, "devDependencies": { "@babel/core": "^7.27.4", "@babel/preset-env": "^7.27.2", "@rsbuild/core": "^1.3.22", "@rsbuild/plugin-node-polyfill": "^1.3.0", "@rsbuild/plugin-sass": "^1.3.2", "@rslib/core": "^0.6.2", "@storybook/addon-essentials": "^9.0.0-alpha.12", "@storybook/react": "^9.0.12", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^30.0.0", "@types/node": "^22.15.32", "@types/react": "19", "@types/react-dom": "19", "del-cli": "^4.0.1", "generate-changelog": "^1.8.0", "jest": "^30.0.2", "jest-cli": "^30.0.2", "jest-environment-jsdom": "^30.0.2", "jest-fetch-mock": "^3.0.3", "react": "19", "react-dom": "19", "require-from-string": "^2.0.2", "sass-embedded": "^1.83.4", "storybook": "9.0.12", "storybook-addon-rslib": "^2.0.2", "storybook-builder-rsbuild": "^2.0.2", "storybook-react-rsbuild": "^2.0.2", "ts-jest": "^29.4.0", "typescript": "^5.8.3", "uglify-save-license": "^0.4.1" }, "engines": { "node": "^22.14.0" }, "volta": { "node": "22.14.0", "yarn": "4.9.2" }, "packageManager": "yarn@4.9.2" }