Version 1.3.2 (last release 2021-02-08) is a collection of shared Grunt tasks, lint configurations, and markdown templates for personal Node.js and web projects. It centralizes common build processes (e.g., linting, testing, security validations, GitHub release) and uses ES6 syntax since v1.3.0. Unlike standalone tools, this package bundles dependencies internally (since v1.0.34) and provides ready-to-use Grunt tasks for tasks like stylelint, htmlhint, API doc generation, and file name linting. Release cadence has stopped after 2021, and it is now in maintenance mode. The library is opinionated and primarily intended for the author's projects.
npm install js-project-commonsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to load the package in a Gruntfile and override eslint config.
Upgrade Node.js to version 6 or higher.
Only install js-project-commons; its dependencies are loaded internally.
Use eslint instead of jslint.
Remove unnecessary bower.json file.
Set browser in karma.conf.js, not in Gruntfile.
Run 'npm install --save-dev js-project-commons'
Add grunt.loadNpmTasks('js-project-commons') in Gruntfile.Use require('js-project-commons') only to load tasks, not as a function.