diff --git a/package.json b/package.json index 52a8f16..c70baf4 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,10 @@ "main": "src/js/index.js", "scripts": { "commitlint": "commitlint --from 5ed6165", - "check-node-version": "check-node-version --npm 10.5.0", + "check-node-version": "check-node-version --node $(cat .nvmrc) --npm 10.5.0 --print", "test": "nyc mocha -- -R spec 'tests/**/*.test.js'", + "build": "grunt build", + "build:debug": "grunt build --debug", "stylelint": "stylelint './src/scss/**/*.scss'", "eslint": "eslint '{,!(node_modules|dist)/**/}*.js'", "markdownlint": "markdownlint-cli2", @@ -14,7 +16,7 @@ "release:preview": "node ./node_modules/@silvermine/standardization/scripts/release.js preview", "release:prep-changelog": "node ./node_modules/@silvermine/standardization/scripts/release.js prep-changelog", "release:finalize": "node ./node_modules/@silvermine/standardization/scripts/release.js finalize", - "prepublish": "grunt build" + "prepublish": "npm run build" }, "author": "Jeremy Thomerson", "license": "MIT", @@ -56,7 +58,7 @@ "grunt-browserify": "5.3.0", "grunt-contrib-clean": "2.0.0", "grunt-contrib-copy": "1.0.0", - "grunt-contrib-uglify": "4.0.1", + "grunt-contrib-uglify": "5.2.2", "grunt-contrib-watch": "1.1.0", "grunt-postcss": "0.9.0", "grunt-sass": "3.1.0",