Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Update devDependencies & jsHint configuration #259

Merged
merged 1 commit into from
Apr 28, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 4 additions & 22 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,29 +110,11 @@ module.exports = function( grunt ) {
"test/libs/qunit": "qunit/qunit"
},
jshint: {
source: {
src: files.source,
options: {
jshintrc: "src/.jshintrc"
}
},
build: {
src: [ files.grunt, files.karma ],
options: {
jshintrc: ".jshintrc"
}
},
speed: {
src: files.speed,
options: {
jshintrc: "speed/.jshintrc"
}
options: {
jshintrc: true
},
tests: {
src: files.tests,
options: {
jshintrc: "test/.jshintrc"
}
all: {
src: [ files.source, files.grunt, files.karma, files.speed, files.tests ]
}
},
jscs: {
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@
"dependencies": {},
"devDependencies": {
"commitplease": "1.7.0",
"grunt": "0.4.2",
"grunt-bowercopy": "0.5.0",
"grunt-cli": "0.1.11",
"grunt": "0.4.4",
"grunt-bowercopy": "1.0.0",
"grunt-cli": "0.1.13",
"grunt-compare-size": "0.4.0",
"grunt-contrib-jshint": "0.7.2",
"grunt-contrib-qunit": "0.3.0",
"grunt-contrib-uglify": "0.2.7",
"grunt-contrib-watch": "0.5.3",

"grunt-compare-size": "0.4.0",

"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-qunit": "0.4.0",
"grunt-contrib-uglify": "0.4.0",
"grunt-contrib-watch": "0.6.1",
"grunt-git-authors": "1.2.0",
"grunt-jscs-checker": "0.4.1",
"grunt-jsonlint": "1.0.4",
"grunt-karma": "0.8.3",
"gzip-js": "0.3.2",
"load-grunt-tasks": "0.2.1",

"grunt-karma": "0.8.2",
"karma-qunit": "0.1.1",
"karma": "0.12.14",
"karma-browserstack-launcher": "0.0.8",
"karma-chrome-launcher": "0.1.3",
"karma-firefox-launcher": "0.1.3",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two are technically not needed but with them one can test locally. I didn't add Safari or IE because they're not available on all 3 platforms.

I also didn't add the Opera launcher as it's still for the old Presto version, it's extremely slow and we're in the maintenance mode for Presto Opera anyway.

"karma-html2js-preprocessor": "0.1.0",
"karma-phantomjs-launcher": "0.1.4",
"karma-html2js-preprocessor": "0.1.0"
"karma-qunit": "0.1.1",
"load-grunt-tasks": "0.4.0",
"qunitjs": "1.12.0"
},

"scripts": {
Expand Down
17 changes: 17 additions & 0 deletions test/karma/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
"quotmark": "double",
"smarttabs": true,
"trailing": true,
"undef": true,
"unused": true,

"node": true
}