Skip to content

Commit

Permalink
feat: Update to videojs-generate-rollup-config ~4.0.0 and use new env…
Browse files Browse the repository at this point in the history
… vars
  • Loading branch information
brandonocasey committed Jul 15, 2019
1 parent 84e905f commit 54dfed0
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 216 deletions.
15 changes: 6 additions & 9 deletions generators/app/package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,16 @@ const packageJSON = (current, context) => {
'ie 11'
],
'scripts': _.assign({}, current.scripts, {
'prebuild': 'npm run clean',
'build': 'npm-run-all -p build:*',
'build-test': "npm-run-all -s clean -p 'build:!(js)' 'build:js -- --environment TEST_BUNDLE_ONLY'",
'build-prod': "npm-run-all -s clean -p 'build:!(js)' 'build:js -- --environment NO_TEST_BUNDLE'",
'build': 'npm-run-all -s clean -p build:*',
'build:js': 'rollup -c scripts/rollup.config.js',
'clean': 'shx rm -rf ./dist ./test/dist',
'postclean': 'shx mkdir -p ./dist ./test/dist',
'clean': 'shx rm -rf ./dist ./test/dist && shx mkdir -p ./dist ./test/dist',
'lint': 'vjsstandard',
'prepublishOnly': 'npm-run-all build test:verify',
'prepublishOnly': 'npm-run-all build-prod && vjsverify --verbose',
'start': 'npm-run-all -p server watch',
'server': 'karma start scripts/karma.conf.js --singleRun=false --auto-watch',
'pretest': 'npm-run-all lint build',
'test': 'npm-run-all test:*',
'test:verify': 'vjsverify --verbose',
'test:unit': 'karma start scripts/karma.conf.js',
'test': 'npm run build-test && karma start scripts/karma.conf.js',
'posttest': 'shx cat test/dist/coverage/text.txt',
'preversion': 'npm test',
'version': 'is-prerelease || npm run update-changelog && git add CHANGELOG.md',
Expand Down
Loading

0 comments on commit 54dfed0

Please sign in to comment.