Skip to content

Commit

Permalink
Invokes dev script copy script with bash to support globs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright committed Sep 29, 2018
1 parent a29033c commit 85c8de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"scripts": {
"build": "babel src --out-dir dist",
"build-example": "mkdir -p example/dist && rm -rf example/dist/* && rollup -c && cp -r example/src/*.{html,mp3} example/dist",
"build-example": "mkdir -p example/dist && rm -rf example/dist/* && rollup -c && bash -c 'cp -r example/src/*.{html,mp3} example/dist'",
"dev": "npm run build && npm run build-example && node example/devServer",
"test": "eslint --ext js --ext jsx src example/src && jest",
"test:ci": "npm test -- --coverage --coverageReporters=text-lcov | coveralls"
Expand Down

0 comments on commit 85c8de9

Please sign in to comment.