wdi

webstorm-disable-index

webstorm-disable-index

Showing:

Popularity

Downloads/wk

2K

GitHub Stars

23

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

5

Size (min+gzip)

34.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

webstorm-disable-index

Init default webstorm config.

usage:

// package.json
"devDependencies": {
  "webstorm-disable-index": "1"
},
"config": {
  "webstorm": {
    // ignore the whole node_modules, but add these as lib
    "index": ["egg", "egg-init"]
  }
}

usage2: support sub modules

// support casade modules parse

Supposing below webstorm project case:

|--- package.json (root)
|--- node-server
  |-- package.json
|--- static-server
  |-- package.json
|--- static-server2
  |-- package.json

You just add dependencies in root package.json, and then all sub modules's node_modules are disabled from the whole project

// package.json
"devDependencies": {
  "webstorm-disable-index": "1"
},
"config": {
  "webstorm": {
    "modules": ["node-server", "static-server", "static-server2"]
  }
}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100