forked from HubSpot/vex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add package json, gruntfile, and node_modules to gitignore
- Loading branch information
1 parent
f3ac770
commit 38f36c4
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.sass-cache | ||
config.rb | ||
config.rb | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = (grunt) -> | ||
grunt.initConfig | ||
pkg: grunt.file.readJSON("package.json") | ||
coffee: | ||
compile: | ||
files: | ||
'vex.js': 'vex.coffee' | ||
|
||
watch: | ||
coffee: | ||
files: ['vex.coffee'] | ||
tasks: ["coffee", "uglify"] | ||
|
||
uglify: | ||
options: | ||
banner: "/*! <%= pkg.name %> <%= pkg.version %> */\n" | ||
|
||
dist: | ||
files: | ||
'vex.min.js': 'vex.js' | ||
|
||
grunt.loadNpmTasks 'grunt-contrib-watch' | ||
grunt.loadNpmTasks 'grunt-contrib-uglify' | ||
grunt.loadNpmTasks 'grunt-contrib-coffee' | ||
|
||
grunt.registerTask 'default', ['coffee', 'uglify'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "vex", | ||
"version": "1.2.0", | ||
"description": "Beautiful, functional, dialogs in Javascript", | ||
"author": "Adam Schwartz <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"grunt-contrib-coffee": "~0.7.0", | ||
"coffee-script": "~1.6.3", | ||
"grunt-contrib-uglify": "~0.2.4", | ||
"grunt-cli": "~0.1.9", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-watch": "~0.5.3" | ||
} | ||
} |