{"id":25679,"library":"grunt-microlib","title":"grunt-microlib","description":"Grunt plugin providing shared build tooling for microlibraries that use the ES6 module transpiler and a compatible folder structure. Version 0.1.1, last updated around 2015. Used by projects like rsvp.js. Provides tasks for building AMD, CommonJS, and browser bundles, as well as testing and development servers. Unmaintained since the ES6 module transpiler was superseded by Babel and modern module bundlers. Not compatible with current Node.js or Grunt versions due to deprecated dependencies.","status":"abandoned","version":"0.1.1","language":"javascript","source_language":"en","source_url":"git://github.com/thomasboyt/grunt-microlib","tags":["javascript","ember"],"install":[{"cmd":"npm install grunt-microlib","lang":"bash","label":"npm"},{"cmd":"yarn add grunt-microlib","lang":"bash","label":"yarn"},{"cmd":"pnpm add grunt-microlib","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for Grunt plugin","package":"grunt","optional":false},{"reason":"core transpilation engine","package":"es6-module-transpiler","optional":false}],"imports":[{"note":"CommonJS Grunt plugin, not a module to import directly.","wrong":"grunt.loadNpmTasks('grunt-microlib'); (no default export)","symbol":"grunt-microlib","correct":"grunt.loadNpmTasks('grunt-microlib');"},{"note":"Should be a devDependency.","wrong":"npm install grunt-microlib --save","symbol":"grunt-microlib","correct":"npm install grunt-microlib --save-dev"}],"quickstart":{"code":"// Gruntfile.js\nmodule.exports = function(grunt) {\n  require('grunt-microlib')(grunt);\n  grunt.initConfig({\n    pkg: grunt.file.readJSON('package.json'),\n    // Microlib config\n    microlib: {\n      name: 'my-lib',\n      main: 'lib/main.js',\n      output: 'dist/'\n    }\n  });\n  grunt.loadNpmTasks('grunt-microlib');\n};\n\n// Then run:\n// grunt build\n// grunt test\n// grunt server","lang":"javascript","description":"Shows Gruntfile setup for grunt-microlib with basic configuration and available CLI tasks."},"warnings":[{"fix":"Migrate to a modern build tool like Rollup or Webpack with Babel.","message":"The ES6 module transpiler is deprecated; use Babel or Rollup instead.","severity":"deprecated","affected_versions":">=0"},{"fix":"Pin Grunt to 0.4.x or switch to alternative.","message":"Dependencies rely on deprecated Grunt versions (0.4.x) and may not work with Grunt 1.x.","severity":"gotcha","affected_versions":">=0.1.1"},{"fix":"Use Node.js version <=10 or find alternative.","message":"Node.js versions >10 may break due to outdated transitive dependencies.","severity":"breaking","affected_versions":">=0.1.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install es6-module-transpiler --save-dev","cause":"es6-module-transpiler not installed as a dependency.","error":"Error: Cannot find module 'es6-module-transpiler'"},{"fix":"Ensure Gruntfile loads grunt-microlib via grunt.loadNpmTasks('grunt-microlib');","cause":"grunt-microlib not loaded or configured correctly.","error":"Warning: Task \"build\" not found."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}