fix(build): build process clean up
This commit is contained in:
Родитель
2f146354ea
Коммит
4862eae11f
|
@ -27,8 +27,8 @@ module.exports = function (grunt) {
|
|||
['intern:node', 'intern:native_node']);
|
||||
|
||||
grunt.registerTask('lint',
|
||||
'Alias for eslint, jshint and jscs tasks',
|
||||
['eslint', 'jscs']);
|
||||
'Alias for eslint',
|
||||
['eslint']);
|
||||
|
||||
grunt.registerTask('default',
|
||||
['build']);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "fxa-js-client",
|
||||
"version": "0.1.70",
|
||||
"version": "1.0.0",
|
||||
"description": "Web client that talks to the Firefox Accounts API server",
|
||||
"author": "Mozilla",
|
||||
"license": "MPL-2.0",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"readmeFilename": "README.md",
|
||||
"homepage": "https://github.com/mozilla/fxa-js-client",
|
||||
"engines": {
|
||||
"node": ">=0.10.x"
|
||||
"node": ">=6"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -47,7 +47,6 @@
|
|||
"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",
|
||||
"grunt-webpack": "3.0.2",
|
||||
"http-proxy": "1.11.1",
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
module.exports = function (grunt) {
|
||||
'use strict';
|
||||
|
||||
grunt.config('jscs', {
|
||||
src: [
|
||||
'**/*.js',
|
||||
'tests/**/*.js',
|
||||
'!node_modules/**',
|
||||
'!build/**',
|
||||
'!docs/**',
|
||||
'!tests/addons/sinon.js'
|
||||
],
|
||||
options: {
|
||||
config: '.jscsrc'
|
||||
}
|
||||
});
|
||||
};
|
Загрузка…
Ссылка в новой задаче