mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-12-27 17:04:21 +00:00
Add jshint and jscs
This commit is contained in:
parent
81ad370af1
commit
eb32411fa7
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
chrome_point_plus/vendor/
|
||||
/nbproject/private/
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
publish
|
||||
vendor/
|
||||
|
|
|
@ -22,8 +22,8 @@ vendorCopy.push({
|
|||
dest: 'chrome_point_plus/'
|
||||
});
|
||||
|
||||
/* global module */
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// Настройки
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
@ -46,7 +46,7 @@ module.exports = function(grunt) {
|
|||
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
||||
globalReplace: true
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
// Загрузить плагины
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
"description": "Chrome extension for point.im",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"postinstall": "./node_modules/.bin/bower install && grunt",
|
||||
"lint": "./node_modules/.bin/jshint . && ./node_modules/.bin/jscs .",
|
||||
"test": "npm run lint"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -16,6 +18,8 @@
|
|||
"bower": "^1.3.12",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-bump": "git://github.com/nkirkes/grunt-bump.git#nkirkes/restrict-version-key-name",
|
||||
"grunt-contrib-copy": "^0.7.0"
|
||||
"grunt-contrib-copy": "^0.7.0",
|
||||
"jscs": "^1.10.0",
|
||||
"jshint": "^2.6.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue