Unverified Commit 33dee098 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1157 from ethereum/remixonnpm

Fix deploy build folder to npm package
parents 21278fbd 0c589575
......@@ -4,7 +4,6 @@ node_modules
reports
soljson.js
npm-debug.log*
babelify-src
package-lock.json
remix
.DS_Store
.vscode
node_modules
reports
npm-debug.log*
package-lock.json
remix
.DS_Store
#!/usr/bin/env node
var httpServer = require('http-server')
var remixd = require('remixd')
var server = httpServer.createServer({
root: __dirname + '/../'
});
})
console.log('\x1b[33m%s\x1b[0m', 'Starting Remix IDE at http://localhost:8080')
server.listen(8080, '127.0.0.1', function () {});
server.listen(8080, '127.0.0.1', function () {})
var router = new remixd.Router()
router.start(__dirname)
......@@ -7,7 +7,7 @@ setupRemixd () {
cd contracts
echo 'sharing folder: '
echo $PWD
node ../node_modules/remixd/src/main.js -s $PWD &
./../node_modules/remixd/bin/remixd -s $PWD &
cd ..
}
......
{
"name": "remix-ide",
"version": "0.5.0",
"version": "0.5.2-alpha.1",
"description": "Minimalistic browser-based Solidity IDE",
"devDependencies": {
"async": "^2.1.2",
......@@ -145,6 +145,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",
......@@ -155,7 +156,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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment