Skip to content

Commit

Permalink
fix: include migrations in published package
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Jan 7, 2019
1 parent 1a2865a commit deca3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"clean": "rimraf es lib $(cd src; ls) *.js.flow",
"build": "npm run clean && babel src --out-dir es && flow-copy-source -v src/ es && cross-env BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .",
"build": "npm run clean && babel src --out-dir es && cp -rvp src/migrations/ es/migrations/ && flow-copy-source -v src/ es && cross-env BABEL_ENV=es5 babel src --out-dir . && cp -rvp src/migrations/ migrations/ && flow-copy-source -v src/ .",
"test": "defaultenv env/local.js cross-env NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha && defaultenv env/local.js cross-env NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "defaultenv env/local.js cross-env NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",
"test:debug": "defaultenv env/local.js cross-env NODE_ENV=production BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha",
Expand Down

0 comments on commit deca3c5

Please sign in to comment.