Skip to content

Instantly share code, notes, and snippets.

@vicneanschi
Last active November 11, 2015 15:00
Show Gist options
  • Save vicneanschi/05fadf4434d93370c3cd to your computer and use it in GitHub Desktop.
Save vicneanschi/05fadf4434d93370c3cd to your computer and use it in GitHub Desktop.
NodeJS

Debug

node-debug server.js --run --debug --loglevel=debug --cart_init_debug

node-debug --debug-brk server/Runners/Javascript/javascript_cartridge_runner.js root/x2o.Todo.cartridge --debug

NPM

Package file format

https://docs.npmjs.com/files/package.json

Check for outdated, incorrect, and unused dependencies.

https://github.com/dylang/npm-check

Check for long path in windows (>260 characters)

cmd /c dir /s /b |? {$_.length -gt 260}

Linter

eslint --config .eslintrc **/*.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment