Skip to content

Commit 9f41120

Browse files
committed
Initialized repository with Grunt + Bower.
0 parents  commit 9f41120

File tree

11 files changed

+167
-0
lines changed

11 files changed

+167
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
node_modules
3+
bower_components

.jshintrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"node": true,
3+
"es5": true,
4+
"esnext": true,
5+
"bitwise": true,
6+
"camelcase": true,
7+
"curly": true,
8+
"eqeqeq": true,
9+
"immed": true,
10+
"indent": 4,
11+
"latedef": true,
12+
"newcap": true,
13+
"noarg": true,
14+
"quotmark": "double",
15+
"regexp": true,
16+
"undef": true,
17+
"unused": true,
18+
"strict": true,
19+
"trailing": true,
20+
"smarttabs": true,
21+
"white": true,
22+
"globals": {
23+
"angular": true
24+
}
25+
}

ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Change Log
2+
3+
## 0.0.1
4+
5+
First version of the basic validtion in Angular with Bootstrap like jQuery.

Gruntfile.js

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/* global module:false */
2+
3+
"use strict";
4+
5+
module.exports = function (grunt) {
6+
var yeomanConfig;
7+
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks);
8+
yeomanConfig = {
9+
src: "src",
10+
dist: "dist"
11+
};
12+
return grunt.initConfig({
13+
yeoman: yeomanConfig,
14+
uglify: {
15+
build: {
16+
src: ["<%=yeoman.src %>/app.js", "<%=yeoman.src %>/**/*.js"],
17+
dest: "<%=yeoman.dist %>/bootstrap-angular-validation.min.js"
18+
}
19+
},
20+
bump: {
21+
options: {
22+
files: ["package.json"],
23+
updateConfigs: [],
24+
commit: true,
25+
commitMessage: "Release v%VERSION%",
26+
commitFiles: ["package.json"],
27+
createTag: true,
28+
tagName: "v%VERSION%",
29+
tagMessage: "Version %VERSION%",
30+
push: true,
31+
pushTo: "origin",
32+
gitDescribeOptions: "--tags --always --abbrev=1 --dirty=-d",
33+
globalReplace: false,
34+
prereleaseName: false,
35+
metadata: "",
36+
regExp: false
37+
}
38+
},
39+
watch: {
40+
scripts: {
41+
files: ["<%=yeoman.src %>/**/*.js"],
42+
tasks: ["uglify"],
43+
options: {
44+
spawn: false
45+
}
46+
}
47+
}
48+
}, grunt.registerTask("default", ["uglify"]));
49+
};

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Shashank Agrawal
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Bootstrap Angular Validation (No jQuery)
2+

bootstrap-angular-validation.iml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="WEB_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<excludeFolder url="file://$MODULE_DIR$/.idea" />
7+
<excludeFolder url="file://$MODULE_DIR$/bower_components" />
8+
<excludeFolder url="file://$MODULE_DIR$/node_modules" />
9+
</content>
10+
<orderEntry type="inheritedJdk" />
11+
<orderEntry type="sourceFolder" forTests="false" />
12+
<orderEntry type="library" name="bootstrap-angular-validation node_modules" level="project" />
13+
</component>
14+
</module>

bower.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "bootstrap-angular-validation",
3+
"description": "Bootstrap form validation in Angular like jQuery but w/o jQuery.",
4+
"main": "src/app.js",
5+
"dependencies": {},
6+
"devDependencies": {
7+
"angular": "^1.5.5"
8+
},
9+
"authors": [
10+
"Shashank Agrawal <shagrawal99@gmail.com>"
11+
],
12+
"license": "MIT",
13+
"ignore": [
14+
"**/.*",
15+
"node_modules",
16+
"bower_components",
17+
"src"
18+
],
19+
"repository": {
20+
"type": "git",
21+
"url": "git@github.com:sagrawal14/bootstrap-angular-validation.git"
22+
}
23+
}

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "bootstrap-angular-validation",
3+
"version": "0.0.1",
4+
"dependencies": {},
5+
"devDependencies": {
6+
"grunt": "*",
7+
"grunt-bump": "^0.8.0",
8+
"grunt-contrib-uglify": "*",
9+
"grunt-contrib-watch": "^1.0.0",
10+
"matchdep": "*"
11+
}
12+
}

0 commit comments

Comments
 (0)