Use local remix libs

pull/11/head
ioedeveloper 4 years ago
parent 7d2109e180
commit 63503d4b27
  1. 3
      .env
  2. 40
      .gitignore
  3. 45
      apps/remix-ide/.gitignore
  4. 2
      apps/remix-ide/src/app.js
  5. 2
      apps/remix-ide/src/app/compiler/compiler-abstract.js
  6. 2
      apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js
  7. 2
      apps/remix-ide/src/app/editor/contextView.js
  8. 2
      apps/remix-ide/src/app/editor/contextualListener.js
  9. 2
      apps/remix-ide/src/app/files/fileProvider.js
  10. 2
      apps/remix-ide/src/app/tabs/compileTab/compileTab.js
  11. 2
      apps/remix-ide/src/app/tabs/compileTab/contractParser.js
  12. 2
      apps/remix-ide/src/app/tabs/debugger-tab.js
  13. 2
      apps/remix-ide/src/app/tabs/debugger/debuggerUI.js
  14. 2
      apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
  15. 2
      apps/remix-ide/src/app/tabs/runTab/model/dropdownlogic.js
  16. 2
      apps/remix-ide/src/app/tabs/runTab/model/recorder.js
  17. 2
      apps/remix-ide/src/app/tabs/runTab/recorder.js
  18. 2
      apps/remix-ide/src/app/tabs/runTab/settings.js
  19. 2
      apps/remix-ide/src/app/tabs/staticanalysis/staticAnalysisView.js
  20. 2
      apps/remix-ide/src/app/tabs/test-tab.js
  21. 2
      apps/remix-ide/src/app/udapp/make-udapp.js
  22. 2
      apps/remix-ide/src/app/ui/auto-complete-popup.js
  23. 2
      apps/remix-ide/src/app/ui/multiParamManager.js
  24. 2
      apps/remix-ide/src/app/ui/sendTxCallbacks.js
  25. 2
      apps/remix-ide/src/app/ui/txLogger.js
  26. 2
      apps/remix-ide/src/app/ui/universal-dapp-ui.js
  27. 2
      apps/remix-ide/src/blockchain/blockchain.js
  28. 2
      apps/remix-ide/src/lib/cmdInterpreterAPI.js
  29. 2
      apps/remix-ide/src/lib/events.js
  30. 2
      apps/remix-ide/src/lib/offsetToLineColumnConverter.js
  31. 2
      apps/remix-ide/src/migrateFileSystem.js
  32. 254
      package.json
  33. 2
      tsconfig.json

@ -0,0 +1,3 @@
gist_token = <token>
account_passphrase = <passphrase>
account_password = <password>

40
.gitignore vendored

@ -0,0 +1,40 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# dependencies
/node_modules
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store
Thumbs.db

@ -1,41 +1,16 @@
# See http://help.github.com/ignore-files/ for more about ignoring files. # See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output .idea
/dist .vscode
/tmp build
/out-tsc node_modules
docs/_build
# dependencies reports
/node_modules soljson.js
soljson.js.*
# IDEs and editors npm-debug.log*
/.idea remix
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store .DS_Store
contracts contracts
TODO TODO

@ -3,7 +3,7 @@
var isElectron = require('is-electron') var isElectron = require('is-electron')
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var yo = require('yo-yo') var yo = require('yo-yo')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var registry = require('./global/registry') var registry = require('./global/registry')
var loadFileFromParent = require('./loadFilesFromParent') var loadFileFromParent = require('./loadFilesFromParent')
var { OffsetToLineColumnConverter } = require('./lib/offsetToLineColumnConverter') var { OffsetToLineColumnConverter } = require('./lib/offsetToLineColumnConverter')

@ -1,5 +1,5 @@
'use strict' 'use strict'
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var txHelper = remixLib.execution.txHelper var txHelper = remixLib.execution.txHelper
module.exports = class CompilerAbstract { module.exports = class CompilerAbstract {

@ -4,7 +4,7 @@ import { Plugin } from '@remixproject/engine'
import { compile } from './compiler-helpers' import { compile } from './compiler-helpers'
import globalRegistry from '../../global/registry' import globalRegistry from '../../global/registry'
import remixLib from 'remix-lib' import remixLib from '@remix-project/remix-lib'
const profile = { const profile = {
name: 'fetchAndCompile', name: 'fetchAndCompile',

@ -1,6 +1,6 @@
'use strict' 'use strict'
const yo = require('yo-yo') const yo = require('yo-yo')
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const SourceMappingDecoder = remixLib.SourceMappingDecoder const SourceMappingDecoder = remixLib.SourceMappingDecoder
const globalRegistry = require('../../global/registry') const globalRegistry = require('../../global/registry')

@ -1,5 +1,5 @@
'use strict' 'use strict'
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const csjs = require('csjs-inject') const csjs = require('csjs-inject')
const SourceMappingDecoder = remixLib.SourceMappingDecoder const SourceMappingDecoder = remixLib.SourceMappingDecoder
const AstWalker = remixLib.AstWalker const AstWalker = remixLib.AstWalker

@ -4,7 +4,7 @@ const CompilerImport = require('../compiler/compiler-imports')
const EventManager = require('../../lib/events') const EventManager = require('../../lib/events')
const modalDialogCustom = require('../ui/modal-dialog-custom') const modalDialogCustom = require('../ui/modal-dialog-custom')
const tooltip = require('../ui/tooltip') const tooltip = require('../ui/tooltip')
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const Storage = remixLib.Storage const Storage = remixLib.Storage
class FileProvider { class FileProvider {

@ -1,6 +1,6 @@
const async = require('async') const async = require('async')
const EventEmitter = require('events') const EventEmitter = require('events')
var remixTests = require('remix-tests') var remixTests = require('@remix-project/remix-tests')
var Compiler = require('@remix-project/remix-solidity').Compiler var Compiler = require('@remix-project/remix-solidity').Compiler
var CompilerImport = require('../../compiler/compiler-imports') var CompilerImport = require('../../compiler/compiler-imports')

@ -1,7 +1,7 @@
'use strict' 'use strict'
var solcTranslate = require('solc/translate') var solcTranslate = require('solc/translate')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var txHelper = remixLib.execution.txHelper var txHelper = remixLib.execution.txHelper
module.exports = (contractName, contract, compiledSource) => { module.exports = (contractName, contract, compiledSource) => {

@ -1,5 +1,5 @@
const yo = require('yo-yo') const yo = require('yo-yo')
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const css = require('./styles/debugger-tab-styles') const css = require('./styles/debugger-tab-styles')
import toaster from '../ui/tooltip' import toaster from '../ui/tooltip'
const DebuggerUI = require('./debugger/debuggerUI') const DebuggerUI = require('./debugger/debuggerUI')

@ -11,7 +11,7 @@ var EventManager = require('../../../lib/events')
var globalRegistry = require('../../../global/registry') var globalRegistry = require('../../../global/registry')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var init = remixLib.init var init = remixLib.init

@ -1,7 +1,7 @@
var yo = require('yo-yo') var yo = require('yo-yo')
var css = require('../styles/run-tab-styles') var css = require('../styles/run-tab-styles')
var modalDialogCustom = require('../../ui/modal-dialog-custom') var modalDialogCustom = require('../../ui/modal-dialog-custom')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager
var confirmDialog = require('../../ui/confirmDialog') var confirmDialog = require('../../ui/confirmDialog')
var modalDialog = require('../../ui/modaldialog') var modalDialog = require('../../ui/modaldialog')

@ -1,5 +1,5 @@
var ethJSUtil = require('ethereumjs-util') var ethJSUtil = require('ethereumjs-util')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var txHelper = remixLib.execution.txHelper var txHelper = remixLib.execution.txHelper
var CompilerAbstract = require('../../../compiler/compiler-abstract') var CompilerAbstract = require('../../../compiler/compiler-abstract')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager

@ -1,6 +1,6 @@
var async = require('async') var async = require('async')
var ethutil = require('ethereumjs-util') var ethutil = require('ethereumjs-util')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager
var format = remixLib.execution.txFormat var format = remixLib.execution.txFormat
var txHelper = remixLib.execution.txHelper var txHelper = remixLib.execution.txHelper

@ -1,5 +1,5 @@
var yo = require('yo-yo') var yo = require('yo-yo')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var css = require('../styles/run-tab-styles') var css = require('../styles/run-tab-styles')

@ -1,6 +1,6 @@
const $ = require('jquery') const $ = require('jquery')
const yo = require('yo-yo') const yo = require('yo-yo')
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const EventManager = remixLib.EventManager const EventManager = remixLib.EventManager
const css = require('../styles/run-tab-styles') const css = require('../styles/run-tab-styles')
const copyToClipboard = require('../../ui/copy-to-clipboard') const copyToClipboard = require('../../ui/copy-to-clipboard')

@ -2,7 +2,7 @@
var StaticAnalysisRunner = require('remix-analyzer').CodeAnalysis var StaticAnalysisRunner = require('remix-analyzer').CodeAnalysis
var yo = require('yo-yo') var yo = require('yo-yo')
var $ = require('jquery') var $ = require('jquery')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var utils = remixLib.util var utils = remixLib.util
var css = require('./styles/staticAnalysisView-styles') var css = require('./styles/staticAnalysisView-styles')
var Renderer = require('../../ui/renderer') var Renderer = require('../../ui/renderer')

@ -2,7 +2,7 @@ var yo = require('yo-yo')
var async = require('async') var async = require('async')
var tooltip = require('../ui/tooltip') var tooltip = require('../ui/tooltip')
var css = require('./styles/test-tab-styles') var css = require('./styles/test-tab-styles')
var remixTests = require('remix-tests') var remixTests = require('@remix-project/remix-tests')
import { ViewPlugin } from '@remixproject/engine' import { ViewPlugin } from '@remixproject/engine'
import { canUseWorker, urlFromVersion } from '../compiler/compiler-utils' import { canUseWorker, urlFromVersion } from '../compiler/compiler-utils'

@ -1,5 +1,5 @@
var registry = require('../../global/registry') var registry = require('../../global/registry')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var yo = require('yo-yo') var yo = require('yo-yo')
var EventsDecoder = remixLib.execution.EventsDecoder var EventsDecoder = remixLib.execution.EventsDecoder
var TransactionReceiptResolver = require('../../lib/transactionReceiptResolver') var TransactionReceiptResolver = require('../../lib/transactionReceiptResolver')

@ -1,5 +1,5 @@
var yo = require('yo-yo') var yo = require('yo-yo')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager
var Commands = require('../../lib/commands') var Commands = require('../../lib/commands')

@ -3,7 +3,7 @@
var yo = require('yo-yo') var yo = require('yo-yo')
var css = require('../../universal-dapp-styles') var css = require('../../universal-dapp-styles')
var copyToClipboard = require('./copy-to-clipboard') var copyToClipboard = require('./copy-to-clipboard')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var txFormat = remixLib.execution.txFormat var txFormat = remixLib.execution.txFormat
class MultiParamManager { class MultiParamManager {

@ -1,5 +1,5 @@
const yo = require('yo-yo') const yo = require('yo-yo')
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const confirmDialog = require('./confirmDialog') const confirmDialog = require('./confirmDialog')
const modalCustom = require('./modal-dialog-custom') const modalCustom = require('./modal-dialog-custom')
const modalDialog = require('./modaldialog') const modalDialog = require('./modaldialog')

@ -4,7 +4,7 @@ var copyToClipboard = require('./copy-to-clipboard')
// -------------- styling ---------------------- // -------------- styling ----------------------
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = require('../../lib/events') var EventManager = require('../../lib/events')
var helper = require('../../lib/helper') var helper = require('../../lib/helper')

@ -9,7 +9,7 @@ var helper = require('../../lib/helper')
var copyToClipboard = require('./copy-to-clipboard') var copyToClipboard = require('./copy-to-clipboard')
var css = require('../../universal-dapp-styles') var css = require('../../universal-dapp-styles')
var MultiParamManager = require('./multiParamManager') var MultiParamManager = require('./multiParamManager')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var txFormat = remixLib.execution.txFormat var txFormat = remixLib.execution.txFormat
const txHelper = remixLib.execution.txHelper const txHelper = remixLib.execution.txHelper
var TreeView = require('./TreeView') var TreeView = require('./TreeView')

@ -1,4 +1,4 @@
const remixLib = require('remix-lib') const remixLib = require('@remix-project/remix-lib')
const txFormat = remixLib.execution.txFormat const txFormat = remixLib.execution.txFormat
const txExecution = remixLib.execution.txExecution const txExecution = remixLib.execution.txExecution
const typeConversion = remixLib.execution.typeConversion const typeConversion = remixLib.execution.typeConversion

@ -1,7 +1,7 @@
'use strict' 'use strict'
var yo = require('yo-yo') var yo = require('yo-yo')
var async = require('async') var async = require('async')
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = require('../lib/events') var EventManager = require('../lib/events')
var CompilerImport = require('../app/compiler/compiler-imports') var CompilerImport = require('../app/compiler/compiler-imports')

@ -1,4 +1,4 @@
var remixLib = require('remix-lib') var remixLib = require('@remix-project/remix-lib')
var EventManager = remixLib.EventManager var EventManager = remixLib.EventManager
module.exports = EventManager module.exports = EventManager

@ -1,5 +1,5 @@
'use strict' 'use strict'
var SourceMappingDecoder = require('remix-lib').SourceMappingDecoder var SourceMappingDecoder = require('@remix-project/remix-lib').SourceMappingDecoder
import { Plugin } from '@remixproject/engine' import { Plugin } from '@remixproject/engine'
import * as packageJson from '../../package.json' import * as packageJson from '../../package.json'

@ -1,5 +1,5 @@
import { Storage } from 'remix-lib' import { Storage } from '@remix-project/remix-lib'
/* /*
Migrating the files to the BrowserFS storage instead or raw localstorage Migrating the files to the BrowserFS storage instead or raw localstorage

@ -0,0 +1,254 @@
{
"name": "remix-project",
"version": "0.0.0",
"license": "MIT",
"description": "Ethereum Remix Monorepo",
"keywords": [
"ethereum",
"solidity",
"compiler"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum/remix-project.git"
},
"author": "@yann300",
"bugs": {
"url": "https://github.com/ethereum/remix-project/issues"
},
"homepage": "https://github.com/ethereum/remix-project#readme",
"bin": {
"remix-ide": "./apps/remix-ide/bin/remix-ide"
},
"scripts": {
"nx": "nx",
"start": "nx start",
"serve": "nx serve",
"build": "nx build",
"build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",
"test": "nx test",
"test:libs": "nx run-many --target=test --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",
"lint": "nx lint",
"lint:libs": "nx run-many --target=lint --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",
"e2e": "nx e2e",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected": "nx affected",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "nx migrate latest",
"workspace-schematic": "nx workspace-schematic",
"dep-graph": "nx dep-graph",
"help": "nx help",
"setupremix": "npm run linkremixdebug && npm run linkremixlib && npm run linkremixsolidity && npm run linkremixanalyzer && npm run linkremixtests && npm run linkremixsimulator",
"pullremix": "git clone https://github.com/ethereum/remix",
"linkremixlib": "cd node_modules && rm -rf remix-lib && ln -s ../../remix/remix-lib remix-lib && cd ..",
"linkremixsolidity": "cd node_modules && rm -rf remix-solidity && ln -s ../../remix/remix-solidity remix-solidity && cd ..",
"linkremixtests": "cd node_modules && rm -rf remix-tests && ln -s ../../remix/remix-tests remix-tests && cd ..",
"linkremixdebug": "cd node_modules && rm -rf remix-debug && ln -s ../../remix/remix-debug remix-debug && cd ..",
"linkremixanalyzer": "cd node_modules && rm -rf remix-analyzer && ln -s ../../remix/remix-analyzer remix-analyzer && cd ..",
"linkremixsimulator": "cd node_modules && rm -rf remix-simulator && ln -s ../../remix/remix-simulator remix-simulator && cd ..",
"build_debugger": "browserify apps/remix-ide/src/app/debugger/remix-debugger/index.js -o apps/remix-ide/src/app/debugger/remix-debugger/build/app.js",
"browsertest": "sleep 5 && npm run nightwatch_local",
"csslint": "csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/assets/css/font-awesome.min.css' apps/remix-ide/assets/css/",
"downloadsolc_root": "wget --no-check-certificate https://solc-bin.ethereum.org/bin/soljson-v0.6.6+commit.6c089d02.js -O soljson.js",
"make-mock-compiler": "node apps/remix-ide/ci/makeMockCompiler.js",
"minify": "uglifyjs --in-source-map inline --source-map-inline -c warnings=false",
"nightwatch_parallel": "nightwatch -e chrome,firefox --config apps/remix-ide/nightwatch.js",
"nightwatch_local_firefox": "nightwatch --config apps/remix-ide/nightwatch.js --env firefox",
"nightwatch_local_chrome": "nightwatch --config apps/remix-ide/nightwatch.js --env chrome",
"nightwatch_local_ballot": "nightwatch ./apps/remix-ide/test-browser/tests/ballot.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_libraryDeployment": "nightwatch ./apps/remix-ide/test-browser/tests/libraryDeployment.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_solidityImport": "nightwatch ./apps/remix-ide/test-browser/tests/solidityImport.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_recorder": "nightwatch ./apps/remix-ide/test-browser/tests/recorder.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_transactionExecution": "nightwatch ./apps/remix-ide/test-browser/tests/transactionExecution.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_staticAnalysis": "nightwatch ./apps/remix-ide/test-browser/tests/staticAnalysis.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_signingMessage": "nightwatch ./apps/remix-ide/test-browser/tests/signingMessage.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_specialFunctions": "nightwatch ./apps/remix-ide/test-browser/tests/specialFunctions.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_solidityUnitTests": "nightwatch ./apps/remix-ide/test-browser/tests/solidityUnittests.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_remixd": "nightwatch ./apps/remix-ide/test-browser/tests/remixd.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_terminal": "nightwatch ./apps/remix-ide/test-browser/tests/terminal.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_gist": "nightwatch ./apps/remix-ide/test-browser/tests/gist.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_workspace": "nightwatch ./apps/remix-ide/test-browser/tests/workspace.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_defaultLayout": "nightwatch ./apps/remix-ide/test-browser/tests/defaultLayout.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_pluginManager": "nightwatch ./apps/remix-ide/test-browser/tests/pluginManager.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_publishContract": "nightwatch ./apps/remix-ide/test-browser/tests/publishContract.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_generalSettings": "nightwatch ./apps/remix-ide/test-browser/tests/generalSettings.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_fileExplorer": "nightwatch ./apps/remix-ide/test-browser/tests/fileExplorer.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_debugger": "nightwatch ./apps/remix-ide/test-browser/tests/debugger.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_editor": "nightwatch ./apps/remix-ide/test-browser/tests/editor.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_runAndDeploy": "nightwatch ./apps/remix-ide/test-browser/tests/runAndDeploy.js --config apps/remix-ide/nightwatch.js --env chrome-runAndDeploy ",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:4200",
"selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",
"test-browser": "npm-run-all -lpr selenium downloadsolc_root make-mock-compiler serve browsertest",
"watch": "watchify apps/remix-ide/src/index.js -dv -p browserify-reload -o apps/remix-ide/build/app.js --exclude solc",
"reinstall": "rm ./node-modules/ -rf; rm package-lock.json; rm ./build/ -rf; npm install; npm run build",
"ganache-cli": "npx ganache-cli"
},
"browserify": {
"transform": [
[
"babelify",
{
"sourceMapsAbsolute": false,
"sourceMaps": true,
"plugins": [
[
"module:fast-async",
{
"runtimePattern": null,
"compiler": {
"es7": true,
"noRuntime": true,
"promises": true,
"wrapAwait": true
}
}
],
[
"module:babel-plugin-yo-yoify"
],
[
"module:@babel/plugin-transform-object-assign"
]
],
"presets": [
"@babel/preset-env"
]
}
]
]
},
"dependencies": {
"@remixproject/engine": "^0.2.3",
"@types/tape": "^4.2.33",
"ansi-gray": "^0.1.1",
"change-case": "^4.1.1",
"color-support": "^1.1.3",
"ethereumjs-block": "^2.2.2",
"ethereumjs-tx": "^2.1.2",
"ethereumjs-vm": "4.1.3",
"http-server": "^0.11.1",
"npm-install-version": "^6.0.2",
"time-stamp": "^2.2.0",
"winston": "^3.3.3"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-modules-amd": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-es2015": "^7.0.0-beta.53",
"@babel/preset-es2017": "latest",
"@babel/preset-stage-0": "^7.0.0",
"@babel/register": "^7.4.4",
"@fortawesome/fontawesome-free": "^5.8.1",
"@nrwl/cypress": "9.2.4",
"@nrwl/eslint-plugin-nx": "^9.4.4",
"@nrwl/jest": "9.4.5",
"@nrwl/linter": "^9.3.0",
"@nrwl/node": "^9.4.5",
"@nrwl/react": "9.2.4",
"@nrwl/web": "9.2.4",
"@nrwl/workspace": "9.2.4",
"@resolver-engine/imports": "^0.3.0",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/node": "~8.9.4",
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"@types/react-router-dom": "5.1.3",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"ace-mode-move": "0.0.1",
"ace-mode-solidity": "^0.1.0",
"ace-mode-zokrates": "^1.0.0",
"async": "^2.1.2",
"babel-eslint": "^10.0.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-fast-async": "^6.1.2",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-yo-yoify": "^2.0.0",
"babel-preset-env": "^1.7.0",
"babel-preset-typescript": "^7.0.0-alpha.19",
"babelify": "^10.0.0",
"brace": "^0.8.0",
"browserify": "^16.2.3",
"browserify-reload": "^1.0.3",
"component-type": "^1.2.1",
"copy-text-to-clipboard": "^1.0.4",
"csjs-inject": "^1.0.1",
"csslint": "^1.0.2",
"cypress": "^4.1.0",
"deep-equal": "^1.0.1",
"dotenv": "^8.2.0",
"eslint": "6.8.0",
"eslint-config-prettier": "^6.11.0",
"ethereumjs-util": "^6.2.0",
"ethers": "^4.0.27",
"events": "^3.0.0",
"execr": "^1.0.1",
"exorcist": "^0.4.0",
"exports-loader": "^1.1.0",
"fast-async": "^7.0.6",
"fast-levenshtein": "^2.0.6",
"ganache-cli": "^6.8.1",
"gists": "^1.0.1",
"ipfs-mini": "^1.1.5",
"is-electron": "^2.2.0",
"javascript-serialize": "^1.6.1",
"jest": "25.2.3",
"jquery": "^3.3.1",
"js-base64": "^2.1.9",
"js-beautify": "1.6.14",
"minixhr": "^3.2.2",
"mkdirp": "^0.5.1",
"mocha": "^8.0.1",
"nanohtml": "^1.6.3",
"nightwatch": "^1.3.5",
"notify-error": "^1.2.0",
"npm-link-local": "^1.1.0",
"npm-merge-driver": "^2.3.5",
"npm-run-all": "^4.0.2",
"nyc": "^13.3.0",
"onchange": "^3.2.1",
"prettier": "1.19.1",
"remix-tabs": "1.0.48",
"remixd": "0.1.8-alpha.16",
"request": "^2.83.0",
"rimraf": "^2.6.1",
"selenium-standalone": "^6.17.0",
"semver": "^6.1.2",
"solc": "^0.6.0",
"swarmgw": "^0.3.1",
"tap-spec": "^5.0.0",
"tape": "^4.13.3",
"ts-jest": "25.2.1",
"ts-node": "~7.0.0",
"tslint": "~6.0.0",
"typescript": "~3.8.3",
"uglify-js": "^2.8.16",
"vm-browserify": "0.0.4",
"watchify": "^3.9.0",
"web3": "1.2.4",
"webworkify": "^1.2.1",
"worker-loader": "^2.0.0",
"yo-yo": "github:ioedeveloper/yo-yo",
"yo-yoify": "^3.7.3",
"webworkify-webpack": "^2.1.5"
}
}

@ -19,7 +19,7 @@
"@remix-project/remix-analyzer": ["libs/remix-analyzer/index.ts"], "@remix-project/remix-analyzer": ["libs/remix-analyzer/index.ts"],
"@remix-project/remix-astwalker": ["libs/remix-astwalker/src/index.ts"], "@remix-project/remix-astwalker": ["libs/remix-astwalker/src/index.ts"],
"@remix-project/remix-debug": ["libs/remix-debug/index.js"], "@remix-project/remix-debug": ["libs/remix-debug/index.js"],
"@remix-project/remix-lib": ["libs/remix-lib/index.js"], "@remix-project/remix-lib": ["dist/libs/remix-lib/index.js"],
"@remix-project/remix-simulator": ["libs/remix-simulator/index.js"], "@remix-project/remix-simulator": ["libs/remix-simulator/index.js"],
"@remix-project/remix-solidity": ["dist/libs/remix-solidity/index.js"], "@remix-project/remix-solidity": ["dist/libs/remix-solidity/index.js"],
"@remix-project/remix-tests": ["libs/remix-tests/src/index.ts"], "@remix-project/remix-tests": ["libs/remix-tests/src/index.ts"],

Loading…
Cancel
Save