mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-22 13:19:06 +00:00
Merge branch 'master' of github.com:iurimatias/embark-framework
This commit is contained in:
commit
570ee280cf
@ -1,5 +1,7 @@
|
||||
What is embark
|
||||
======
|
||||
|
||||
[![Join the chat at https://gitter.im/iurimatias/embark-framework](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iurimatias/embark-framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
Embark is a framework that allows you to easily develop and deploy DApps. Embark automatically deploys your contracts and makes them available in your JS code. Embark watches for changes, and if you update a contract, Embark will automatically redeploy the contracts (if needed) and the dapp.
|
||||
|
||||
Installation
|
||||
|
@ -1,6 +1,9 @@
|
||||
module.exports = (grunt) ->
|
||||
|
||||
grunt.config.merge
|
||||
grunt.loadNpmTasks "embark-framework"
|
||||
|
||||
grunt.initConfig(
|
||||
@initEmbarkConfig(
|
||||
files:
|
||||
js:
|
||||
src: [
|
||||
@ -45,8 +48,8 @@ module.exports = (grunt) ->
|
||||
deploy:
|
||||
contracts: '<%= files.contracts.src %>'
|
||||
dest: 'generated/tmp/abi.js'
|
||||
|
||||
grunt.loadNpmTasks "embark-framework"
|
||||
)
|
||||
)
|
||||
|
||||
# loading external tasks (aka: plugins)
|
||||
# Loads all plugins that match "grunt-", in this case all of our current plugins
|
||||
|
@ -27,6 +27,7 @@
|
||||
"shelljs": "^0.4.0",
|
||||
"string": "^3.1.1",
|
||||
"web3": "^0.4.3",
|
||||
"wrench": "^1.5.8"
|
||||
"wrench": "^1.5.8",
|
||||
"hashmerge": "^1.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,8 @@
|
||||
"read-yaml": "^1.0.0",
|
||||
"shelljs": "^0.5.0",
|
||||
"web3": "^0.5.0",
|
||||
"wrench": "^1.5.8"
|
||||
"wrench": "^1.5.8",
|
||||
"hashmerge": "^1.0.2"
|
||||
},
|
||||
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
||||
"contributors": [],
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = (grunt) ->
|
||||
|
||||
grunt.initConfig
|
||||
@embarkConfig =
|
||||
files:
|
||||
web3:
|
||||
"node_modules/embark-framework/js/web3.js"
|
||||
@ -96,3 +96,7 @@ module.exports = (grunt) ->
|
||||
contracts: '<%= files.contracts.src %>'
|
||||
dest: 'generated/tmp/abi.js'
|
||||
|
||||
@initEmbarkConfig = (userConfig) =>
|
||||
hashmerge = require('hashmerge')
|
||||
hashmerge(@embarkConfig, userConfig)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user