updated scripts / .ignores
This commit is contained in:
parent
baae0583c9
commit
eeb0d4439e
3 changed files with 6 additions and 4 deletions
1
npm/.gitignore
vendored
1
npm/.gitignore
vendored
|
@ -1,5 +1,4 @@
|
|||
node_modules
|
||||
*.zip
|
||||
dist
|
||||
path.txt
|
||||
.DS_Store
|
||||
|
|
2
npm/.npmignore
Normal file
2
npm/.npmignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
dist/
|
||||
path.txt
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue