From 7596d48bce04b90ace8e343a75b6513279064a25 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 15 Mar 2018 12:10:39 +0100 Subject: [PATCH] fix deploy build folder to npm package --- .gitignore | 1 - .npmignore | 7 +++++++ package.json | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index 99ccc8b448..4ecfa30441 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ node_modules reports soljson.js npm-debug.log* -babelify-src package-lock.json remix .DS_Store diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000000..00282f7e0c --- /dev/null +++ b/.npmignore @@ -0,0 +1,7 @@ +.vscode +node_modules +reports +npm-debug.log* +package-lock.json +remix +.DS_Store diff --git a/package.json b/package.json index e8d2bcf8d6..ea3f81b794 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remix-ide", - "version": "0.5.0", + "version": "0.5.2", "description": "Minimalistic browser-based Solidity IDE", "devDependencies": { "async": "^2.1.2", @@ -148,6 +148,7 @@ "browsertest": "sleep 5 && npm run nightwatch_local", "csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='assets/css/font-awesome.min.css' assets/css/", "downloadsolc": "rimraf soljson.js && cd node_modules/solc && wget https://ethereum.github.io/solc-bin/soljson.js && cd ../../", + "downloadsolc_root": "wget https://ethereum.github.io/solc-bin/soljson.js", "lint": "standard | notify-error", "make-mock-compiler": "node ci/makeMockCompiler.js", "minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false", @@ -158,7 +159,7 @@ "nightwatch_remote_parallel": "nightwatch --config nightwatch.js --env safari,chrome,default", "nightwatch_remote_safari": "nightwatch --config nightwatch.js --env safari", "onchange": "onchange build/app.js -- npm-run-all lint", - "prepublish": "mkdirp build; npm-run-all -ls downloadsolc build", + "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build", "remixd": "node ./node_modules/remixd/src/main.js -s ./contracts", "selenium": "execr --silent selenium-standalone start", "selenium-install": "selenium-standalone install",