Skip to content

Commit

Permalink
jumpstart commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
myrne committed May 22, 2013
0 parents commit dc6a73a
Show file tree
Hide file tree
Showing 11 changed files with 95 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
.DS_Store
/node_modules/
/lib/
npm-debug.log
1 change: 1 addition & 0 deletions .npmignore
@@ -0,0 +1 @@
.DS_Store
7 changes: 7 additions & 0 deletions .tm_properties
@@ -0,0 +1,7 @@
excludeDirectories = "{.git,node_modules}"
excludeInFolderSearch = "{excludeDirectories,lib}"

includeFiles = "{.gitignore,.npmignore,.travis.yml}"

[ attr.untitled ]
fileType = 'source.coffee'
4 changes: 4 additions & 0 deletions .travis.yml
@@ -0,0 +1,4 @@
language: node_js
node_js:
- "0.10"
- "0.8"
25 changes: 25 additions & 0 deletions Makefile
@@ -0,0 +1,25 @@
build:
mkdir -p lib
rm -rf lib/*
node_modules/.bin/coffee --compile -m --output lib/ src/

watch:
node_modules/.bin/coffee --watch --compile --output lib/ src/

test:
node_modules/.bin/mocha

jumpstart:
curl -u 'meryn' https://api.github.com/user/repos -d '{"name":"performance-now", "description":"Implements performance.now (based on process.hrtime).","private":false}'
mkdir -p src
touch src/performance-now.coffee
mkdir -p test
touch test/performance-now.coffee
npm install
git init
git remote add origin git@github.com:meryn/performance-now
git add .
git commit -m "jumpstart commit."
git push -u origin master

.PHONY: test
14 changes: 14 additions & 0 deletions README.md
@@ -0,0 +1,14 @@
# performance-now [![Build Status](https://travis-ci.org/meryn/performance-now.png?branch=master)](https://travis-ci.org/meryn/performance-now) [![Dependency Status](https://david-dm.org/meryn/performance-now.png)](https://david-dm.org/meryn/performance-now)

Implements performance.now (based on process.hrtime).

## Usage

## Credits

The initial structure of this module was generated by [Jumpstart](https://github.com/meryn/jumpstart), using the [Jumpstart Black Coffee](https://github.com/meryn/jumpstart-black-coffee) template.

## License

performance-now is released under the [MIT License](http://opensource.org/licenses/MIT).
Copyright (c) 2013 Meryn Stol
7 changes: 7 additions & 0 deletions license.txt
@@ -0,0 +1,7 @@
Copyright (c) 2013 Meryn Stol

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 changes: 31 additions & 0 deletions package.json
@@ -0,0 +1,31 @@
{
"name": "performance-now",
"description": "Implements performance.now (based on process.hrtime).",
"keywords": [],
"version": "0.0.0",
"author": "Meryn Stol <merynstol@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/meryn/performance-now",
"bugs": "https://github.com/meryn/performance-now/issues",
"repository": {
"type": "git",
"url": "git://github.com/meryn/performance-now.git"
},
"private": false,
"dependencies": {},
"devDependencies": {
"coffee-script": "~1.6.2",
"mocha": "~1.9.0"
},
"optionalDependencies": {},
"engines": {
"node": "0.10.x",
"npm": "1.2.x"
},
"main": "lib/performance-now.js",
"scripts": {
"prepublish": "npm test",
"pretest": "make build",
"test": "make test"
}
}
Empty file added src/performance-now.coffee
Empty file.
2 changes: 2 additions & 0 deletions test/mocha.opts
@@ -0,0 +1,2 @@
--compilers coffee:coffee-script
--reporter spec
Empty file added test/performance-now.coffee
Empty file.

0 comments on commit dc6a73a

Please sign in to comment.