copy docs/README.md to README.md on prepublishOnly

fix #351
This commit is contained in:
Romain Beaumont 2018-06-27 19:50:18 +02:00
parent 3f81c63afb
commit b28642dbeb
No known key found for this signature in database
GPG key ID: DB60E388B3BCF286
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@ distTest
world/*
!world/.gitkeep
package-lock.json
README.md

View file

@ -15,6 +15,7 @@
},
"scripts": {
"prepare": "require-self",
"prepublishOnly": "cp docs/README.md README.md",
"lint": "standard test/*.test.js src/**/*.js src/**/**/*.js src/*.js examples/*.js *.js",
"test": "jest --verbose --runInBand"
},