Fix NPM issues

Pre/post-install scripts for ng2-angular library; refs #35
This commit is contained in:
Denys Vuika
2016-04-20 10:45:25 +01:00
parent f24cb17365
commit 8a2fe353c3

View File

@@ -11,7 +11,9 @@
} }
], ],
"scripts": { "scripts": {
"prepublish": "tsc && node make.js" "__prepublish": "tsc && node make.js",
"preinstall": "npm install --ignore-scripts",
"postinstall": "tsc && node make.js"
}, },
"dependencies": { "dependencies": {
"angular2": "2.0.0-beta.15", "angular2": "2.0.0-beta.15",