update project meta

This commit is contained in:
Michael Barrett 2015-04-30 10:30:41 +01:00
parent 0ff75942b9
commit cfff9bd086
8 changed files with 37 additions and 10 deletions

View File

@ -1,9 +1,12 @@
root = true root = true
[*] [*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true end_of_line = lf
indent_style = space
insert_final_newline = true insert_final_newline = true
indent_size = 2
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

3
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules /node_modules/
/build/

View File

@ -1,5 +1,10 @@
test
.editorconfig .editorconfig
.gitignore
.jshintrc .jshintrc
.travis.yml
bower.json
CHANGELOG.md
Gruntfile.js Gruntfile.js
.DS_Store LICENSE
README.md
/test/

View File

@ -1,7 +1,21 @@
language: node_js language: node_js
node_js: node_js:
- "0.6"
- "0.8"
- "0.10" - "0.10"
- "0.11" - "0.11"
- "0.12"
- "iojs"
- "iojs-v1.0.4"
sudo: false
cache:
directories:
- node_modules
before_script: before_script:
- npm install -g grunt-cli - npm install -g grunt-cli
script: grunt test script: grunt test

View File

@ -11,7 +11,7 @@ module.exports = function(grunt) {
uglify: { uglify: {
dist: { dist: {
files: { files: {
'dist/<%= pkg.name %>.min.js': '<%= pkg.name %>.js' 'dist/<%= pkg.name %>.min.js': 'src/<%= pkg.name %>.js'
} }
} }
}, },
@ -21,7 +21,7 @@ module.exports = function(grunt) {
}, },
files: [ files: [
'Gruntfile.js', 'Gruntfile.js',
'<%= pkg.name %>.js', 'src/<%= pkg.name %>.js',
'test/**/*.js' 'test/**/*.js'
] ]
}, },

View File

@ -10,6 +10,10 @@
"license": "MIT", "license": "MIT",
"ignore": [ "ignore": [
"**/.*", "**/.*",
"CHANGELOG.md",
"Gruntfile.js",
"LICENSE",
"README.md",
"node_modules", "node_modules",
"test" "test"
] ]

View File

@ -1,6 +1,6 @@
var chai = require('chai'); var chai = require('chai');
var expect = chai.expect; var expect = chai.expect;
var timestring = require('../timestring'); var timestring = require('../src/timestring');
describe('timestring', function() { describe('timestring', function() {
it('can parse a timestring', function(done) { it('can parse a timestring', function(done) {