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
|
node_modules
|
||||||
*.zip
|
|
||||||
dist
|
dist
|
||||||
path.txt
|
path.txt
|
||||||
.DS_Store
|
.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"
|
"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"
|
||||||
|
|
Loading…
Reference in a new issue