forked from brix/crypto-js
-
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.
Merge branch 'feature/single-release-build' into develop
- Loading branch information
Showing
129 changed files
with
558 additions
and
10,535 deletions.
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 @@ | ||
node_modules | ||
build | ||
.svn |
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,16 @@ | ||
{ | ||
"bitwise" : false, // Prohibits the use of bitwise operators (not confuse & with &&) | ||
"curly" : true, // Requires to always put curly braces around blocks in loops and conditionals | ||
"eqeqeq" : false, // Prohibits the use of == and != in favor of === and !== | ||
"eqnull" : true, // Suppresses warnings about == null comparisons | ||
"immed" : true, // Requires immediate invocations to be wrapped in parens e.g. `(function () { } ());` | ||
"latedef" : true, // Prohibits the use of a variable before it was defined | ||
"newcap" : false, // Requires to capitalize names of constructor functions | ||
"noarg" : true, // Prohibits the use of arguments.caller and arguments.callee | ||
"strict" : false, // Requires all functions to run in ECMAScript 5's strict mode | ||
"undef" : true, // Require non-global variables to be declared (prevents global leaks) | ||
"asi" : true, // Suppresses warnings about missing semicolons | ||
"globals": { | ||
"CryptoJS": true | ||
} | ||
} |
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,49 @@ | ||
/*jshint node: true*/ | ||
|
||
'use strict'; | ||
|
||
var path = require('path'); | ||
|
||
module.exports = function (grunt) { | ||
|
||
// Load all grunt tasks from node_modules, and config from /grunt/config | ||
require('load-grunt-config')(grunt, { | ||
configPath: path.join(process.cwd(), 'grunt/config'), | ||
config: { | ||
pkg: grunt.file.readJSON('package.json'), | ||
meta: { | ||
cwd: '', | ||
cwdAll: '**/*', | ||
|
||
source: 'src/', | ||
sourceAll: 'src/**/*', | ||
|
||
build: 'build/', | ||
buildAll: 'build/**/*', | ||
|
||
test: 'test/', | ||
testAll: 'test/**/*', | ||
|
||
npm: 'node_modules/', | ||
npmAll: 'node_modules/**/*' | ||
} | ||
} | ||
}); | ||
|
||
// Will load the custom tasks | ||
grunt.loadTasks('./grunt/tasks'); | ||
|
||
grunt.registerTask('build', 'Build a bundle', [ | ||
'clean:build', | ||
'modularize:build', | ||
'copy:build', | ||
'update_json:npm', | ||
'update_json:bower' | ||
]); | ||
|
||
grunt.registerTask('default', 'Run code checker', [ | ||
'jsonlint', | ||
'jshint' | ||
]); | ||
|
||
}; |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.