Skip to content

Instantly share code, notes, and snippets.

View axtgr's full-sized avatar
😱

Alex Schneider axtgr

😱
View GitHub Profile
@axtgr
axtgr / package.json
Created July 24, 2015 15:52
Post install script for creating a symlink in node_modules
"scripts": {
"postinstall" : "node -e \" try { require('fs').symlinkSync('../app', 'node_modules/~', 'dir') } catch(e) { if (e.code !== 'EEXIST') { console.log('Couldn\\'t create a symlink in node_modules:'); console.log(e.message); } } \""
}