mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 10:46:02 +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/
|
chrome_point_plus/vendor/
|
||||||
/nbproject/private/
|
/nbproject/private/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
npm-debug.log
|
||||||
publish
|
publish
|
||||||
vendor/
|
vendor/
|
||||||
|
|
|
@ -22,8 +22,8 @@ vendorCopy.push({
|
||||||
dest: 'chrome_point_plus/'
|
dest: 'chrome_point_plus/'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* global module */
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
// Настройки
|
// Настройки
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
pkg: grunt.file.readJSON('package.json'),
|
pkg: grunt.file.readJSON('package.json'),
|
||||||
|
@ -46,7 +46,7 @@ module.exports = function(grunt) {
|
||||||
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
||||||
globalReplace: true
|
globalReplace: true
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Загрузить плагины
|
// Загрузить плагины
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
"description": "Chrome extension for point.im",
|
"description": "Chrome extension for point.im",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -16,6 +18,8 @@
|
||||||
"bower": "^1.3.12",
|
"bower": "^1.3.12",
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-bump": "git://github.com/nkirkes/grunt-bump.git#nkirkes/restrict-version-key-name",
|
"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