From c5a9ebf57635cdf5096e76be961a05367edd3ddf Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Mon, 23 Jan 2017 20:38:34 +1100 Subject: Move htmllint to npm script. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index ae913bbc1..4a5aac3db 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "clean-css-docs": "cleancss --skip-advanced --source-map --output docs/assets/css/docs.min.css docs/assets/css/docs.min.css", "eslint": "eslint --ignore-path .eslintignore js && eslint --config js/tests/.eslintrc.json --env node grunt Gruntfile.js && eslint --config js/tests/.eslintrc.json docs/assets/js/src docs/assets/js/ie-emulation-modes-warning.js docs/assets/js/ie10-viewport-bug-workaround.js", "htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/", + "htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html", "postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css", "postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css", "sass": "node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css", @@ -66,11 +67,11 @@ "grunt-contrib-qunit": "^1.2.0", "grunt-contrib-watch": "^1.0.0", "grunt-exec": "^1.0.1", - "grunt-html": "^8.1.0", "grunt-jekyll": "^0.4.4", "grunt-saucelabs": "^9.0.0", "grunt-stamp": "^0.3.0", "htmlhint": "^0.9.13", + "htmllint-cli": "0.0.6", "is-travis": "^1.0.0", "load-grunt-tasks": "^3.5.2", "node-sass": "^4.1.1", -- cgit v1.2.3 From cb87eebcbb2a585b366934f8efff988f1c0e7e57 Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Sun, 5 Feb 2017 23:39:16 +1100 Subject: Update dependencies. --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 4a5aac3db..130c45cb4 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ ], "scripts": { "change-version": "node grunt/change-version.js", - "clean-css": "cleancss --skip-advanced --source-map --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --skip-advanced --source-map --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --skip-advanced --source-map --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css", - "clean-css-docs": "cleancss --skip-advanced --source-map --output docs/assets/css/docs.min.css docs/assets/css/docs.min.css", + "clean-css": "cleancss --level 1 --source-map --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css", + "clean-css-docs": "cleancss --level 1 --source-map --output docs/assets/css/docs.min.css docs/assets/css/docs.min.css", "eslint": "eslint --ignore-path .eslintignore js && eslint --config js/tests/.eslintrc.json --env node grunt Gruntfile.js && eslint --config js/tests/.eslintrc.json docs/assets/js/src docs/assets/js/ie-emulation-modes-warning.js docs/assets/js/ie10-viewport-bug-workaround.js", "htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/", "htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html", @@ -50,35 +50,35 @@ "tether": "^1.4.0" }, "devDependencies": { - "autoprefixer": "^6.6.1", + "autoprefixer": "^6.7.2", "babel-eslint": "^7.1.1", "babel-plugin-transform-es2015-modules-strip": "^0.1.0", - "babel-preset-es2015": "^6.18.0", - "clean-css": "^3.4.23", - "eslint": "^3.12.2", + "babel-preset-es2015": "^6.22.0", + "clean-css-cli": "^4.0.0", + "eslint": "^3.15.0", "grunt": "^1.0.1", "grunt-babel": "^6.0.0", "grunt-build-control": "^0.7.1", "grunt-contrib-clean": "^1.0.0", - "grunt-contrib-compress": "^1.3.0", + "grunt-contrib-compress": "^1.4.1", "grunt-contrib-concat": "^1.0.1", "grunt-contrib-connect": "^1.0.2", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-qunit": "^1.2.0", "grunt-contrib-watch": "^1.0.0", "grunt-exec": "^1.0.1", - "grunt-jekyll": "^0.4.4", + "grunt-jekyll": "^0.4.6", "grunt-saucelabs": "^9.0.0", "grunt-stamp": "^0.3.0", "htmlhint": "^0.9.13", - "htmllint-cli": "0.0.6", + "htmllint-cli": "^0.0.6", "is-travis": "^1.0.0", "load-grunt-tasks": "^3.5.2", - "node-sass": "^4.1.1", + "node-sass": "^4.5.0", "postcss-cli": "^2.6.0", "postcss-flexbugs-fixes": "^2.1.0", - "shelljs": "^0.7.5", - "shx": "^0.2.1", + "shelljs": "^0.7.6", + "shx": "^0.2.2", "time-grunt": "^1.4.0", "uglify-js": "^2.7.5" }, -- cgit v1.2.3 From db23b1f32e277e0e39485284f4007e8c19a31cf6 Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Sat, 25 Feb 2017 16:32:18 +1100 Subject: Move Jekyll to npm script. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 130c45cb4..f468ed858 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "eslint": "eslint --ignore-path .eslintignore js && eslint --config js/tests/.eslintrc.json --env node grunt Gruntfile.js && eslint --config js/tests/.eslintrc.json docs/assets/js/src docs/assets/js/ie-emulation-modes-warning.js docs/assets/js/ie10-viewport-bug-workaround.js", "htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/", "htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html", + "jekyll": "bundle exec jekyll build", + "jekyll-github": "shx echo 'github: true' > $npm_config_tmp/twbsjekyll.yml && npm run jekyll -- --config _config.yml,$npm_config_tmp/twbsjekyll.yml && shx rm $npm_config_tmp/twbsjekyll.yml", "postcss": "postcss --config grunt/postcss.js --replace dist/css/*.css", "postcss-docs": "postcss --config grunt/postcss.js --no-map --replace docs/assets/css/docs.min.css && postcss --config grunt/postcss.js --no-map --replace docs/examples/**/*.css", "sass": "node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css", @@ -67,7 +69,6 @@ "grunt-contrib-qunit": "^1.2.0", "grunt-contrib-watch": "^1.0.0", "grunt-exec": "^1.0.1", - "grunt-jekyll": "^0.4.6", "grunt-saucelabs": "^9.0.0", "grunt-stamp": "^0.3.0", "htmlhint": "^0.9.13", -- cgit v1.2.3