Add yarn support for installing unreleased rrweb as a dependency (#497)

* Use prepack instead of prepare for yarn support

* add prepare and prepack

for yarn v1 & v2 compatibility

* Create .npmignore
This commit is contained in:
Justin Halsall
2021-02-19 04:57:01 +01:00
committed by GitHub
parent 75e4a0c1ff
commit 918f7f36fe
2 changed files with 9 additions and 1 deletions

7
.npmignore Normal file
View File

@@ -0,0 +1,7 @@
.vscode
.idea
node_modules
package-lock.json
yarn.lock
temp
*.log