updated scripts / .ignores

This commit is contained in:
RnbWd 2015-05-12 16:10:22 -07:00
parent baae0583c9
commit eeb0d4439e
3 changed files with 6 additions and 4 deletions

1
npm/.gitignore vendored
View file

@ -1,5 +1,4 @@
node_modules node_modules
*.zip
dist dist
path.txt path.txt
.DS_Store .DS_Store

2
npm/.npmignore Normal file
View file

@ -0,0 +1,2 @@
dist/
path.txt

View file

@ -7,9 +7,10 @@
"url": "https://github.com/mafintosh/electron-prebuilt" "url": "https://github.com/mafintosh/electron-prebuilt"
}, },
"scripts": { "scripts": {
"install": "node install.js", "cache-clean": "rm -rf ~/.electron && rm -rf dist",
"test": "tape test/*.js", "postinstall": "node install.js",
"cache-clean": "rimraf ~/.electron" "pretest": "npm run cache-clean && node install.js",
"test": "tape test/*.js"
}, },
"bin": { "bin": {
"electron": "cli.js" "electron": "cli.js"