@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
145 lines • 3.63 kB
JSON
{
"name": "@shopify/react-native-skia",
"publishConfig": {
"access": "public"
},
"bin": {
"setup-skia-web": "./scripts/setup-canvaskit.js"
},
"title": "React Native Skia",
"version": "0.1.223",
"description": "High-performance React Native Graphics using Skia",
"main": "lib/module/index.js",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"README.md",
"LICENSE.md",
"android/build.gradle",
"android/CMakeLists.txt",
"android/cpp/**",
"android/src/**",
"libs/android/**",
"index.js",
"jestSetup.js",
"jestSetup.mjs",
"jestEnv.mjs",
"cpp/**/*.{h,cpp}",
"ios",
"libs/ios/libskia.xcframework",
"libs/ios/libskshaper.xcframework",
"libs/ios/libsvg.xcframework",
"libs/ios/libskottie.xcframework",
"libs/ios/libsksg.xcframework",
"libs/ios/libskparagraph.xcframework",
"libs/ios/libskunicode.xcframework",
"react-native-skia.podspec",
"scripts/setup-canvaskit.js",
"dist/**"
],
"scripts": {
"tsc": "tsc --noEmit",
"lint": "eslint . --ext .ts,.tsx --max-warnings 0 --cache",
"test": "jest",
"e2e": "E2E=true yarn test -i e2e",
"build": "bob build && merge-dirs lib/typescript/src lib/commonjs && merge-dirs lib/typescript/src lib/module"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Shopify/react-native-skia.git",
"baseUrl": "https://github.com/Shopify/react-native-skia"
},
"keywords": [
"react-native"
],
"author": "Shopify Inc.",
"contributors": [
{
"name": "Christian Falch",
"email": "christian.falch@gmail.com"
},
{
"name": "William Candillon",
"email": "wcandillon@gmail.com"
}
],
"license": "MIT",
"licenseFilename": "LICENSE.md",
"readmeFilename": "README.md",
"peerDependencies": {
"react": ">=18.0",
"react-native": ">=0.64",
"react-native-reanimated": ">=2.0.0"
},
"peerDependenciesMeta": {
"react-native-reanimated": {
"optional": true
},
"react-native": {
"optional": true
}
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@types/jest": "29.5.6",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/react": "^18.2.37",
"@types/react-reconciler": "^0.26.7",
"@types/ws": "^8.5.3",
"eslint": "8.21.0",
"eslint-config-react-native-wcandillon": "3.10.2",
"eslint-plugin-reanimated": "2.0.0",
"jest": "29.6.4",
"merge-dirs": "^0.2.1",
"pixelmatch": "^5.3.0",
"pngjs": "^6.0.0",
"react": "18.1.0",
"react-native": "0.72.6",
"react-native-builder-bob": "^0.18.2",
"react-native-reanimated": "^3.5.4",
"ts-jest": "29.1.1",
"typescript": "5.1.6",
"ws": "^8.11.0"
},
"dependencies": {
"canvaskit-wasm": "0.39.1",
"react-reconciler": "^0.27.0"
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"codegenConfig": {
"name": "rnskia",
"type": "all",
"jsSrcsDir": "src/specs",
"android": {
"javaPackageName": "com.shopify.reactnative.skia"
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
[
"module",
{
"configFile": "./.babelrc"
}
],
"typescript"
]
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0"
},
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
"react-native": "src/index.ts"
}