mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
101 lines
2.6 KiB
JSON
101 lines
2.6 KiB
JSON
{
|
|
"version": "12.4.3",
|
|
"name": "react-native-svg",
|
|
"description": "SVG library for react-native",
|
|
"homepage": "https://github.com/react-native-community/react-native-svg",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/react-native-community/react-native-svg"
|
|
},
|
|
"license": "MIT",
|
|
"main": "lib/commonjs/index.js",
|
|
"module": "lib/module/index.js",
|
|
"types": "lib/typescript/index.d.ts",
|
|
"react-native": "src/index.ts",
|
|
"files": [
|
|
"__tests__",
|
|
"android",
|
|
"apple",
|
|
"elements",
|
|
"lib",
|
|
"src",
|
|
"RNSVG.podspec",
|
|
"!android/build",
|
|
"windows"
|
|
],
|
|
"@react-native-community/bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
"typescript"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"react-component",
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"windows",
|
|
"SVG",
|
|
"ART",
|
|
"VML",
|
|
"gradient"
|
|
],
|
|
"scripts": {
|
|
"bob": "bob build",
|
|
"flow": "flow src",
|
|
"flowtyped": "flow-typed install",
|
|
"format": "prettier --write README.md CONTRIBUTING.md CODE_OF_CONDUCT.md './src/**/*.{ts,tsx}'",
|
|
"jest": "jest",
|
|
"lint": "eslint --ext .ts,.tsx src",
|
|
"peg": "pegjs -o src/lib/extract/transform.js ./src/lib/extract/transform.peg",
|
|
"prepare": "npm run bob",
|
|
"release": "npm login && release-it",
|
|
"test": "npm run lint && npm run tsc && npm run flow && npm run jest",
|
|
"tsc": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": ">=0.50.0"
|
|
},
|
|
"dependencies": {
|
|
"css-select": "^5.1.0",
|
|
"css-tree": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/plugin-syntax-flow": "^7.17.12",
|
|
"@babel/plugin-transform-react-jsx": "^7.17.12",
|
|
"@react-native-community/bob": "^0.9.7",
|
|
"@react-native-community/eslint-config": "^3.0.2",
|
|
"@react-native-community/eslint-plugin": "^1.2.0",
|
|
"@types/css-tree": "^1.0.3",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/node": "*",
|
|
"@types/react": "~18.0.15",
|
|
"@types/react-native": "^0.69.3",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^28.1.0",
|
|
"eslint": "^8.16.0",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.30.0",
|
|
"flow-bin": "^0.119.1",
|
|
"flow-typed": "^3.0.0",
|
|
"flowgen": "^1.10.0",
|
|
"jest": "^28.1.0",
|
|
"pegjs": "^0.10.0",
|
|
"prettier": "^2.6.2",
|
|
"react": "^17.0.1",
|
|
"react-native": "^0.64.0",
|
|
"react-native-windows": "^0.64.0",
|
|
"react-test-renderer": "^16.13.0",
|
|
"release-it": "^14.12.5",
|
|
"ts-node": "^10.8.0",
|
|
"typescript": "^4.7.2"
|
|
},
|
|
"nativePackage": true
|
|
}
|