Skip to content

Commit

Permalink
Adding a build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal committed Jan 14, 2016
1 parent ca9f1f8 commit b42a210
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015", "react"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
*.log
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "An interactive visual REPL, based on the ClojureScript project of the same name",
"main": "dist/devcards.js",
"scripts": {
"build": "babel src --out-dir dist",
"test": "cd test/app && kotatsu serve -c config.js --index index.html --progress --source-maps --presets es2015,react-hmre --jsx main.jsx"
},
"repository": {
Expand All @@ -17,6 +18,9 @@
},
"homepage": "https://github.com/glenjamin/devcards-js#readme",
"devDependencies": {
"babel-cli": "^6.4.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
"json-loader": "^0.5.4",
"kotatsu": "^0.3.3",
Expand Down

0 comments on commit b42a210

Please sign in to comment.