Skip to content

Commit

Permalink
feat: Update to videojs-generate-rollup-config ~5.0.0, use env option…
Browse files Browse the repository at this point in the history
…s, and `@babel/runtime` (#289)
  • Loading branch information
brandonocasey authored Aug 16, 2019
1 parent 84e905f commit a63fa59
Show file tree
Hide file tree
Showing 4 changed files with 3,683 additions and 3,273 deletions.
16 changes: 7 additions & 9 deletions generators/app/package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const getGeneratorVersions = (pkgList) => pkgList.reduce((acc, pkgName) => {
const DEFAULTS = {
dependencies: getGeneratorVersions(['global', 'video.js']),
devDependencies: getGeneratorVersions([
'@babel/runtime',
'@videojs/generator-helpers',
'karma',
'rollup',
Expand Down Expand Up @@ -124,19 +125,16 @@ const packageJSON = (current, context) => {
'ie 11'
],
'scripts': _.assign({}, current.scripts, {
'prebuild': 'npm run clean',
'build': 'npm-run-all -p build:*',
'build-test': "cross-env-shell TEST_BUNDLE_ONLY=1 'npm run build'",
'build-prod': "cross-env-shell NO_TEST_BUNDLE=1 'npm run build'",
'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-all lint 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 a63fa59

Please sign in to comment.