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
*.zip
dist
path.txt
.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"
},
"scripts": {
"install": "node install.js",
"test": "tape test/*.js",
"cache-clean": "rimraf ~/.electron"
"cache-clean": "rm -rf ~/.electron && rm -rf dist",
"postinstall": "node install.js",
"pretest": "npm run cache-clean && node install.js",
"test": "tape test/*.js"
},
"bin": {
"electron": "cli.js"