1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

remove ganache-cli

This commit is contained in:
Matthias Kretschmann 2019-07-17 15:47:54 +02:00
parent f6c67781ed
commit 0a196f462a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ env:
before_install: before_install:
- npm install -g npm - npm install -g npm
- npm install -g codacy-coverage truffle ganache-cli - npm install -g codacy-coverage
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC # Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959 # https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@ -42,6 +42,8 @@ notifications:
cache: cache:
npm: true npm: true
directories: directories:
- client/node_modules
- server/node_modules
# cache folder with Cypress binary # cache folder with Cypress binary
- ~/.cache - ~/.cache

View File

@ -6,12 +6,10 @@
"scripts": { "scripts": {
"install": "./scripts/install.sh", "install": "./scripts/install.sh",
"start": "concurrently \"cd client && npm start\" \"cd server && npm start\"", "start": "concurrently \"cd client && npm start\" \"cd server && npm start\"",
"start:commons-and-ganache": "concurrently 'npm run start:ganache' 'npm run start'",
"build": "./scripts/build.sh", "build": "./scripts/build.sh",
"test": "npm run lint && scripts/test.sh && npm run test:e2e", "test": "npm run lint && scripts/test.sh && npm run test:e2e",
"test:e2e": "start-test start:commons-and-ganache http-get://localhost:3000 cypress:run", "test:e2e": "start-test start http-get://localhost:3000 cypress:run",
"test:watch": "npm run lint && concurrently \"cd client && npm run test:watch\" \"cd server && npm run test:watch\"", "test:watch": "npm run lint && concurrently \"cd client && npm run test:watch\" \"cd server && npm run test:watch\"",
"start:ganache": "ganache-cli -m 'stamp polar cup smart ill agree human episode reform trigger text forget' -i 5777",
"format:js": "prettier --parser typescript --write '**/*.{js,jsx,ts,tsx}'", "format:js": "prettier --parser typescript --write '**/*.{js,jsx,ts,tsx}'",
"format:css": "prettier-stylelint --ignore-path .gitignore --write --quiet '**/*.{css,scss}'", "format:css": "prettier-stylelint --ignore-path .gitignore --write --quiet '**/*.{css,scss}'",
"format": "npm run format:js && npm run format:css", "format": "npm run format:js && npm run format:css",