Skip to content

Commit 055c419

Browse files
fix: do not generate commonjs and codegen
1 parent 1587c95 commit 055c419

File tree

1 file changed

+7
-33
lines changed

1 file changed

+7
-33
lines changed

package.json

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,10 @@
33
"version": "0.1.0",
44
"description": "React Native CSS Animation presets for Reanimated 4",
55
"source": "./src/index.tsx",
6-
"main": "./lib/commonjs/index.js",
7-
"module": "./lib/module/index.js",
8-
"exports": {
9-
".": {
10-
"import": {
11-
"types": "./lib/typescript/module/src/index.d.ts",
12-
"default": "./lib/module/index.js"
13-
},
14-
"require": {
15-
"types": "./lib/typescript/commonjs/src/index.d.ts",
16-
"default": "./lib/commonjs/index.js"
17-
}
18-
}
19-
},
6+
"react-native": "./src/index",
7+
"main": "./lib/module/index",
8+
"module": "./lib/module/index",
9+
"types": "./lib/typescript/module/src/index.d.ts",
2010
"files": [
2111
"src",
2212
"lib",
@@ -47,6 +37,9 @@
4737
},
4838
"keywords": [
4939
"react-native",
40+
"reanimated",
41+
"css animations",
42+
"css transitions",
5043
"ios",
5144
"android"
5245
],
@@ -154,13 +147,6 @@
154147
"source": "src",
155148
"output": "lib",
156149
"targets": [
157-
"codegen",
158-
[
159-
"commonjs",
160-
{
161-
"esm": true
162-
}
163-
],
164150
[
165151
"module",
166152
{
@@ -176,18 +162,6 @@
176162
]
177163
]
178164
},
179-
"codegenConfig": {
180-
"name": "RNCssAnimationsSpec",
181-
"type": "modules",
182-
"jsSrcsDir": "src",
183-
"outputDir": {
184-
"ios": "ios/generated",
185-
"android": "android/generated"
186-
},
187-
"android": {
188-
"javaPackageName": "com.cssanimations"
189-
}
190-
},
191165
"create-react-native-library": {
192166
"languages": "js",
193167
"type": "library",

0 commit comments

Comments
 (0)