Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
Based on mammal.io/articles/using-es6-today
  • Loading branch information
cookpete committed Aug 26, 2015
1 parent f38cb4a commit c9b627f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
npm-debug.log
.DS_Store
lib
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"name": "react-player",
"version": "0.0.2",
"description": "A react component for playing media from YouTube, SoundCloud or Vimeo",
"main": "src/ReactPlayer.js",
"main": "lib/ReactPlayer.js",
"scripts": {
"start": "node server.js",
"lint": "standard"
"lint": "standard",
"build": "babel src/ -d lib/",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
Expand All @@ -31,6 +33,7 @@
"react": ">=0.13.0"
},
"devDependencies": {
"babel": "^5.8.21",
"babel-core": "^5.4.7",
"babel-eslint": "^4.0.10",
"babel-loader": "^5.1.2",
Expand Down

0 comments on commit c9b627f

Please sign in to comment.