From aab4a43e0c0cab5bde140edcb73d29f77365ad02 Mon Sep 17 00:00:00 2001 From: Rodney Rehm Date: Sun, 11 Jul 2021 20:40:23 +0200 Subject: [PATCH] build: remove obsolete build tools --- .jshintrc | 31 ------------------------------- Gruntfile.js | 22 ---------------------- contributing.md | 4 ---- package.json | 7 +------ 4 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 .jshintrc delete mode 100644 Gruntfile.js diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index 8327de8c..00000000 --- a/.jshintrc +++ /dev/null @@ -1,31 +0,0 @@ -{ - "node": true, - "browser": false, - "esnext": false, - "bitwise": false, - "camelcase": true, - "curly": true, - "eqeqeq": true, - "immed": true, - "indent": 2, - "latedef": true, - "newcap": true, - "noarg": true, - "quotmark": "single", - "regexp": true, - "undef": true, - "unused": true, - "strict": true, - "trailing": true, - "smarttabs": true, - "expr": true, - "globals": { - "describe": false, - "it": false, - "before": false, - "beforeEach": false, - "after": false, - "afterEach": false, - "define": false - } -} \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index e896c655..00000000 --- a/Gruntfile.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = function(grunt) { - 'use strict'; - - var jshintOptions = grunt.file.readJSON('.jshintrc'); - jshintOptions.reporter = require('jshint-stylish'); - - grunt.initConfig({ - jshint: { - options: jshintOptions, - target: [ - 'Gruntfile.js', - 'src/*.js', - 'test/*.js', - '!src/*.min.js', - '!src/punycode.js' - ] - } - }); - - grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.registerTask('lint', 'jshint'); -}; diff --git a/contributing.md b/contributing.md index dc66b342..2f1e771b 100644 --- a/contributing.md +++ b/contributing.md @@ -13,7 +13,3 @@ Thanks for your help! Pull Requests go into the branch **master**. The *gh-pages* branch is a presentation of the *master* branch at the last given release. Whenever you change code, make sure you run the test suite before sending a pull request. Please add tests for any features you add to the code base. We're using [QUnit](http://qunitjs.com/) for testing. - -We're looking forward to splitting URI.js in several files, each dealing with a specific domain, to make the 1800 lines of code more bearable to work with. This will lead to using [Grunt](http://gruntjs.com/) to build a distributable version (and the removal of `build.html`). We're not sure when we'll get to this. If you want to pitch in, just holler! - - diff --git a/package.json b/package.json index a5bf56ef..0aada55c 100644 --- a/package.json +++ b/package.json @@ -69,10 +69,5 @@ "LICENSE.txt" ] } - ], - "devDependencies": { - "jshint-stylish": "~0.1.5", - "grunt": "~0.4.2", - "grunt-contrib-jshint": "~0.8.0" - } + ] }