react-sass-inlinesvg
Version:
React library designed to control SVG from Sass.
103 lines (102 loc) • 3.21 kB
JSON
{
"name": "react-sass-inlinesvg",
"version": "1.0.6",
"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:ci": "yarn build",
"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": "start-storybook -p 3000",
"storybuild": "build-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",
"react-dom": "^16.8.0 || ^17.0.1 || ^18.0.0"
},
"dependencies": {
"p-settle": "^5.0.0",
"react-inlinesvg": "^3.0.1",
"react-use": "^17.4.0",
"smart-svg": "^1.0.1",
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.18.9",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/react": "^6.5.12",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.0",
"@types/node": "^16",
"@types/react": "18",
"@types/react-dom": "18",
"css-loader": "^6.7.1",
"del-cli": "^4.0.1",
"generate-changelog": "^1.8.0",
"jest": "^29.2.0",
"jest-cli": "^29.2.0",
"jest-environment-jsdom": "^29.2.0",
"jest-fetch-mock": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"require-from-string": "^2.0.2",
"sass": "^1.46.0",
"sass-loader": "^10.0.2",
"style-loader": "^3.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4",
"uglify-save-license": "^0.4.1",
"webpack": "^5.73.0"
},
"resolutions": {
"glob-parent": ">=5.1.2",
"react-element-to-jsx-string": "^15.0.0",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1"
}
}