Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use npm #12

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7e148bc
Initial commit.
miketierney Sep 29, 2015
1776a6a
Update requirements.
miketierney Sep 29, 2015
298d2ab
Tweak extra credit value
miketierney Sep 29, 2015
02cb04c
first commit
Brian11f Sep 30, 2015
f3d653f
summit
Brian11f Sep 30, 2015
517d14a
Merge branch 'master' of https://github.com/brain11f/fizzbuzz-redux__…
Brian11f Sep 30, 2015
878b0d0
working
Brian11f Sep 30, 2015
80b4f36
fixed greater or =
Brian11f Sep 30, 2015
d80a76e
effi
Brian11f Sep 30, 2015
42f0e71
making it more obj
Brian11f Sep 30, 2015
d91f3f2
making it more obj
Brian11f Sep 30, 2015
ee4e106
making it more obj
Brian11f Sep 30, 2015
1596c91
making it more obj
Brian11f Sep 30, 2015
d521926
making it more obj
Brian11f Sep 30, 2015
07c507e
making it more obj
Brian11f Sep 30, 2015
f6b6340
Initial commit.
miketierney Sep 30, 2015
d7805e6
Remove incorrect requirement.
miketierney Sep 30, 2015
e7d862d
making it more obj
Brian11f Sep 30, 2015
1632632
making it more obj
Brian11f Oct 1, 2015
d1ec3ca
merging fork
Brian11f Oct 1, 2015
b022150
done
Brian11f Oct 1, 2015
cac0695
erased missed call in html
Brian11f Oct 1, 2015
2b23476
erased missed call in html
Brian11f Oct 2, 2015
8195c27
index js
Brian11f Oct 2, 2015
0334217
npm init
Brian11f Oct 2, 2015
7d28e4f
fix conflict
Brian11f Oct 2, 2015
89677d0
module
Brian11f Oct 2, 2015
b4e704c
fixed export
Brian11f Oct 2, 2015
b5e9c08
fixed export
Brian11f Oct 2, 2015
cf51267
fixed export
Brian11f Oct 2, 2015
da9ce84
stuff
Brian11f Oct 5, 2015
a3e1226
ignore
Brian11f Oct 5, 2015
ba130d1
added gulp-browserfy
Brian11f Oct 5, 2015
2e219b3
added gulp-browserfy
Brian11f Oct 5, 2015
f51302f
folder changes
Brian11f Oct 5, 2015
47676bf
folder changes
Brian11f Oct 5, 2015
79c65ac
folder changes
Brian11f Oct 5, 2015
2d2ed94
working
Brian11f Oct 5, 2015
38e568c
its coping files
Brian11f Oct 5, 2015
64a3e60
its coping files
Brian11f Oct 5, 2015
8bb68ac
its coping files
Brian11f Oct 5, 2015
7945e50
pushing to npm
Brian11f Oct 5, 2015
829f1f1
pushing to npm
Brian11f Oct 5, 2015
44de8b9
pushing
Brian11f Oct 5, 2015
4e9e42e
fixed json package
Brian11f Oct 5, 2015
3170f2d
working?
Brian11f Oct 5, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
app/build
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ buzzer.input(1, 120);
console.log(buzzer.output());
```

Name your module `sea-d44-fizz-buzz-<your initials>` and publish it to the npm registry. And, as usual, fork this repo and submit a PR.


Name your module `sea-d44-fizz-buzz-<your initials>` and publish it to the npm registry. And, as usual, fork this repo and submit a PR.
19 changes: 19 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h1>Hello</h1>
<form>
<input id="valueSml" type="text">
<input id="valueLrg" type="text">
<input id="wordOne" type="text">
<input id="wordTwo" type="text">
<input id="submit" type="submit">
</form>
<p id="write"></p>
<script type="text/javascript" src="build/js/index.js"></script>
</body>
</html>
14 changes: 14 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var FizzBuzz = require('sea-d44-fizz-buzz-bf-2');

// Basic usage
gulp.task('run', function() {
// Single entry point to browserify
gulp.src('node_modules/sea-d44-fizz-buzz-bf-2/index.js')
.pipe(browserify({
insertGlobals : true,
debug : !gulp.env.production
}))
.pipe(gulp.dest('app/build/js'))
});
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "js-module",
"version": "1.0.1",
"description": "## Scenario and Requirements",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brain11f/fizzbuzz-redux__W5-A3.git"
},
"keywords": [
"sea-d44"
],
"author": "brian finck",
"license": "ISC",
"bugs": {
"url": "https://github.com/brain11f/fizzbuzz-redux__W5-A3/issues"
},
"homepage": "https://github.com/brain11f/fizzbuzz-redux__W5-A3#readme",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-browserify": "^0.5.1"
}
}