0.1.3 • Published 7 years ago

lerna-script-preset-idea v0.1.3

Weekly downloads
3
License
BSD
Repository
github
Last release
7 years ago

lerna-script-preset-idea npm

lerna-script preset to generate WebStorm project for a Lerna managed project with hardcoded conventions:

  • mark node_modules as ignored so WebStorm would not index those. Having >= 20 modules open with node_modules indexing pretty much kills it:/
  • set source level to es6;
  • mark lib, src as source rootps and test, tests as test roots;
  • add mocha run configurations for all modules.

Note: given this preset generates WebStorm project files manually, you must close all instances of WebStorm before generating and open afterwards.

install

npm install --save-dev lerna-script-preset-idea

Usage

Add lerna-script launcher to package.json scripts:

{
  "scripts": {
    "start": "lerna-script"
  }
}

Add export to lerna.js:

module.exports.idea = require('lerna-script-preset-idea');

To generate WebStorm project run:

npm start idea

API

()

Returns a function that generates WebStorm for all modules in repo.

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago