Skip to content

Commit

Permalink
write build and watch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
beavz committed Aug 5, 2016
1 parent 437f6c3 commit c9435a5
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.DS_Store
index.css

node_modules
npm-debug.log
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="index.css" rel="stylesheet" title="Default Style">
<script src="http://code.jquery.com/jquery-3.1.0.min.js"></script>
<script src="index.js"></script>
</head>
<body>
<button class="toggle"></button>
<div class="workspace">

TODO: DEFINE BUTTON MARKUP HERE




</div>
</body>
</html>
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function readyFn() {
console.log("HI");
};

$(readyFn);
1 change: 1 addition & 0 deletions index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// TODO: DEFINE BUTTON STYLES HERE
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"author": "Kara Bernert <kara@gust.com>",
"main": "index.js",
"license": "UNLICENSED",

"repository": {
"type": "git",
"url": "git://github.com/gust/button-challenge.git"
},

"scripts": {
"build": "echo 'write a build script pls"
"build": "node-sass index.scss index.css",
"watch": "nodemon -w index.scss -x 'npm run build'"
},

"license": "UNLICENSED",

"devDependencies": {
"node-sass": "^3.7.0"
"node-sass": "^3.7.0",
"nodemon": "^1.10.0"
}
}

0 comments on commit c9435a5

Please sign in to comment.