Merge pull request #1157 from ethereum/remixonnpm

Fix deploy build folder to npm package
pull/1/head
yann300 7 years ago committed by GitHub
commit 33dee0985a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 7
      .npmignore
  3. 8
      bin/remix-ide
  4. 2
      ci/browser_tests.sh
  5. 5
      package.json

1
.gitignore vendored

@ -4,7 +4,6 @@ node_modules
reports
soljson.js
npm-debug.log*
babelify-src
package-lock.json
remix
.DS_Store

@ -0,0 +1,7 @@
.vscode
node_modules
reports
npm-debug.log*
package-lock.json
remix
.DS_Store

@ -1,10 +1,14 @@
#!/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 ..
}

@ -1,6 +1,6 @@
{
"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",

Loading…
Cancel
Save