Commit 65632e3509169ed1b11053c704a8da59b6f9003d
1 parent
a56a016665
Exists in
master
postinstall en script
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
package.json
... | ... | @@ -4,8 +4,15 @@ |
4 | 4 | "description": "foca-modal-cobranza", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | - "test": "echo \"Error: no test specified\" && exit 1" | |
7 | + "test": "echo \"Error: no test specified\" && exit 1", | |
8 | + "gulp-pre-commit": "gulp pre-commit", | |
9 | + "compile": "gulp uglify", | |
10 | + "postinstall": "npm run compile && gulp clean-post-install", | |
11 | + "install-dev": "npm install -D --ignore-scripts" | |
8 | 12 | }, |
13 | + "pre-commit": [ | |
14 | + "gulp-pre-commit" | |
15 | + ], | |
9 | 16 | "repository": { |
10 | 17 | "type": "git", |
11 | 18 | "url": "git@debonline.dyndns.org:npm/foca-modal-cobranza.git" |