Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit f057c8d

Browse files
committed
Fix types, add scripts to automate versioning.
1 parent 6417d28 commit f057c8d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"version": "0.0.1",
44
"description": "A React Native library for multitrack audio playback.",
55
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"react-native": "dist/index.js",
68
"types": "dist/index.d.ts",
79
"files": [
810
"android",
11+
"dist",
912
"ios",
1013
"react-native-audio-engine.podspec"
1114
],
@@ -15,7 +18,9 @@
1518
"private": false,
1619
"scripts": {
1720
"build": "tsc",
18-
"clean": "rm -rf dist"
21+
"clean": "rm -rf dist",
22+
"preversion": "yarn build",
23+
"postversion": "git push --tags"
1924
},
2025
"peerDependencies": {
2126
"react": "^16.8.1",

0 commit comments

Comments
 (0)