Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions packages/react-native-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"description": "Evervault SDK for React Native",
"version": "2.5.1",
"source": "./src/index.ts",
"main": "./build/index.cjs.js",
"module": "./build/index.esm.js",
"main": "./build/index.js",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"import": {
"types": "./build/index.d.ts",
"default": "./build/index.esm.js"
"default": "./build/index.js"
},
"require": {
"types": "./build/index.d.ts",
"default": "./build/index.cjs.js"
"default": "./build/index.js"
}
}
},
Expand All @@ -41,8 +41,8 @@
},
"scripts": {
"prebuild": "pnpm codegen",
"build": "rollup -c",
"watch": "rollup -c --watch",
"build": "tsc",
"watch": "tsc --watch",
"codegen": "rimraf build android/app && react-native codegen",
"test": "vitest run",
"test:watch": "vitest --watch"
Expand All @@ -54,17 +54,15 @@
},
"devDependencies": {
"@react-native-community/cli": "*",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/react-native": "^13.2.0",
"@types/react": "catalog:",
"react": "catalog:",
"react-native": "catalog:",
"react-native-webview": "catalog:",
"react-test-renderer": "18.2.0",
"rimraf": "^6.0.1",
"rollup": "^4.34.9",
"tsconfig": "workspace:*",
"typescript": "catalog:",
"vitest": "catalog:",
"vitest-react-native": "^0.1.5"
},
Expand Down
23 changes: 0 additions & 23 deletions packages/react-native-v2/rollup.config.cjs

This file was deleted.

13 changes: 10 additions & 3 deletions packages/react-native-v2/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
"extends": "tsconfig/base.json",
"compilerOptions": {
"target": "esnext",
"target": "es2020",
"lib": ["dom", "DOM.Iterable", "esnext"],
"jsx": "react-jsx",
"moduleResolution": "node",
"module": "commonjs",
"rootDir": "src",
"declaration": true,
"declarationDir": "build",
"emitDeclarationOnly": true,
"declarationMap": true,
"outDir": "build",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": false,
"types": ["vitest/globals"]
},
"exclude": ["build"]
"include": ["src/**/*"],
"exclude": ["build", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx", "vitest.config.ts", "setup.test.ts"]
}
Loading
Loading