3be812d55f
* Update postinstall script * Add initialize script, simplify readme * Unsafe perm * Added initialize-root job * Initialize-root only on master
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"name": "tokenbridge",
|
|
"version": "0.0.1",
|
|
"description": "Monorepository for token bridge",
|
|
"repository": "https://github.com/poanetwork/tokenbridge.git",
|
|
"author": "rzadp <przemek@ethworks.io>",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"wsrun": "3.6.5",
|
|
"eslint-config-prettier": "3.1.0",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-airbnb": "17.1.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
"eslint-plugin-import": "2.14.0",
|
|
"eslint-plugin-node": "7.0.1",
|
|
"eslint-plugin-prettier": "2.6.2",
|
|
"eslint-config-react-app": "^4.0.1",
|
|
"eslint-plugin-react": "^7.13.0",
|
|
"eslint-plugin-react-hooks": "^1.6.0",
|
|
"eslint-plugin-flowtype": "^3.8.1",
|
|
"prettier": "1.14.3",
|
|
"mocha": "^5.2.0"
|
|
},
|
|
"workspaces": [
|
|
"oracle",
|
|
"oracle-e2e",
|
|
"ui",
|
|
"ui-e2e",
|
|
"monitor",
|
|
"contracts"
|
|
],
|
|
"scripts": {
|
|
"initialize": "yarn clean && git submodule update --init && yarn install --unsafe-perm --frozen-lockfile && yarn install:deploy && yarn compile:contracts",
|
|
"build": "yarn workspace ui run build",
|
|
"lint": "yarn wsrun --exclude oracle-e2e --exclude ui-e2e --exclude poa-parity-bridge-contracts lint",
|
|
"test": "yarn wsrun --exclude monitor --exclude oracle-e2e --exclude ui-e2e test",
|
|
"ansible-lint": "./deployment/lint.sh",
|
|
"oracle-e2e": "./oracle-e2e/run-tests.sh",
|
|
"ui-e2e": "./ui-e2e/run-tests.sh",
|
|
"clean": "rm -rf ./node_modules ./**/node_modules ./**/**/node_modules ./**/build",
|
|
"compile:contracts": "yarn workspace poa-parity-bridge-contracts run compile",
|
|
"install:deploy": "cd contracts/deploy && npm install --unsafe-perm --silent",
|
|
"postinstall": "ln -sf $(pwd)/node_modules/openzeppelin-solidity/ contracts/node_modules/openzeppelin-solidity"
|
|
}
|
|
}
|