Skip to content

Commit

Permalink
fix(core): copy botpress README before publishing (resovle #729)
Browse files Browse the repository at this point in the history
  • Loading branch information
epaminond committed Jul 20, 2018
1 parent a879441 commit 4e50546
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/core/botpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,9 @@
"license": "AGPL-3.0-only",
"main": "lib/index.js",
"repository": "git+https://github.com/botpress/botpress.git",
"os": [
"darwin",
"linux",
"win32"
],
"os": ["darwin", "linux", "win32"],
"scripts": {
"prepublishOnly": "npm run compile-prod",
"prepublishOnly": "rm README.md && cp ../../../README.md README.md && run compile-prod",
"compile": "./build.sh",
"compile-prod": "NODE_ENV=production ./build.sh",
"test": "BABEL_ENV=tests mocha --compilers js:babel-core/register --require tests/index.js tests/**",
Expand All @@ -167,9 +163,7 @@
},
"watch": {
"compile": {
"patterns": [
"src"
],
"patterns": ["src"],
"extensions": "js,jsx,scss,json,html"
}
}
Expand Down

0 comments on commit 4e50546

Please sign in to comment.