fix(deps): update dev dependencies
This commit is contained in:
Родитель
2e8b9424bf
Коммит
b56f3e29e3
7
.jscsrc
7
.jscsrc
|
@ -13,9 +13,8 @@
|
|||
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"],
|
||||
"validateIndentation": 2,
|
||||
"validateLineBreaks": "LF",
|
||||
"validateJSDoc": {
|
||||
"checkParamNames": true,
|
||||
"checkRedundantParams": true,
|
||||
"requireParamTypes": true
|
||||
"jsDoc": {
|
||||
"checkAnnotations": "jsdoc3",
|
||||
"checkTypes": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ define(['sjcl'], function (sjcl) {
|
|||
*/
|
||||
|
||||
|
||||
// Declare namespace
|
||||
// Declare namespace
|
||||
|
||||
var hawk = {};
|
||||
|
||||
|
|
|
@ -16,13 +16,6 @@ module.exports = function amdload(absoluteFilename, map) {
|
|||
/**
|
||||
* These two functions operate as a pair
|
||||
*/
|
||||
var define = function define(deps, factory) {
|
||||
// Load all dependencies
|
||||
var modules = deps.map(amdrequire);
|
||||
// Capture the exported value
|
||||
exported = factory.apply(null, modules);
|
||||
};
|
||||
define.amd = true;
|
||||
var amdrequire = function amdrequire(filepath) {
|
||||
// Return real node modules if we have them mapped
|
||||
if (filepath in map) {
|
||||
|
@ -59,6 +52,13 @@ module.exports = function amdload(absoluteFilename, map) {
|
|||
// return value captured by define()
|
||||
return loaded[fullpath];
|
||||
};
|
||||
var define = function define(deps, factory) {
|
||||
// Load all dependencies
|
||||
var modules = deps.map(amdrequire);
|
||||
// Capture the exported value
|
||||
exported = factory.apply(null, modules);
|
||||
};
|
||||
define.amd = true;
|
||||
|
||||
return amdrequire(absoluteFilename);
|
||||
};
|
||||
|
|
27
package.json
27
package.json
|
@ -35,24 +35,25 @@
|
|||
"xhr2": "0.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "~1.3.9",
|
||||
"eslint-config-fxa": "1.2.0",
|
||||
"bower": "1.4.1",
|
||||
"eslint-config-fxa": "1.8.1",
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-build-control": "git://github.com/robwierzbowski/grunt-build-control#274952",
|
||||
"grunt-bump": "0.0.13",
|
||||
"grunt-bump": "0.3.1",
|
||||
"grunt-bytesize": "~0.1.1",
|
||||
"grunt-cli": "~0.1.11",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-cli": "0.1.13",
|
||||
"grunt-contrib-clean": "0.6.0",
|
||||
"grunt-contrib-requirejs": "~0.4.1",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-yuidoc": "~0.5.0",
|
||||
"grunt-conventional-changelog": "~1.1.0",
|
||||
"grunt-copyright": "~0.1.0",
|
||||
"grunt-eslint": "14.0.0",
|
||||
"grunt-jscs": "0.7.1",
|
||||
"grunt-contrib-watch": "0.6.1",
|
||||
"grunt-contrib-yuidoc": "0.9.0",
|
||||
"grunt-conventional-changelog": "3.0.0",
|
||||
"grunt-copyright": "0.2.0",
|
||||
"grunt-eslint": "16.0.0",
|
||||
"grunt-jscs": "2.0.0",
|
||||
"grunt-open": "~0.2.2",
|
||||
"http-proxy": "~1.0.2",
|
||||
"http-proxy": "1.11.1",
|
||||
"intern-geezer": "~1.7.0",
|
||||
"load-grunt-tasks": "~0.2.0"
|
||||
"jscs-jsdoc": "1.1.0",
|
||||
"load-grunt-tasks": "3.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
module.exports = function (grunt) {
|
||||
'use strict';
|
||||
|
||||
grunt.config('changelog', {
|
||||
grunt.config('conventionalChangelog', {
|
||||
options: {
|
||||
from: 'source-<%= pkgReadOnly.version %>'
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ define(['intern/lib/args'], function (args) {
|
|||
|
||||
return {
|
||||
loader: {
|
||||
// Packages that should be registered with the loader in each testing environment
|
||||
// Packages that should be registered with the loader in each testing environment
|
||||
packages: [ { name: 'fxa-js-client', location: 'client' } ],
|
||||
map: {
|
||||
'*': {
|
||||
|
|
Загрузка…
Ссылка в новой задаче