Skip to content

Commit

Permalink
Add prepublish script before publishing to aragonPM (aragon#905)
Browse files Browse the repository at this point in the history
* Upgrade @aragon/cli to v6
  • Loading branch information
sohkai authored Jul 16, 2019
1 parent 42c9b6f commit dbe5b87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"scripts": {
"compile": "truffle compile",
"build": "cd app && npm run build",
"apm:publish:major": "aragon apm publish major --files app/build/",
"apm:publish:minor": "aragon apm publish minor --files app/build/",
"apm:publish:patch": "aragon apm publish patch --files app/build/",
"apm:prepublish": "npm run compile",
"apm:publish:major": "aragon apm publish major --files app/build/ --prepublish-script apm:prepublish",
"apm:publish:minor": "aragon apm publish minor --files app/build/ --prepublish-script apm:prepublish/",
"apm:publish:patch": "aragon apm publish patch --files app/build/ --prepublish-script apm:prepublish/",
"lint": "solium --dir ./contracts",
"test": "TRUFFLE_TEST=true npm run ganache-cli:test",
"test:gas": "GAS_REPORTER=true npm test",
Expand Down Expand Up @@ -39,7 +40,7 @@
"devDependencies": {
"@aragon/apps-shared-migrations": "1.0.0",
"@aragon/apps-shared-scripts": "^1.0.0",
"@aragon/cli": "~5.6.0",
"@aragon/cli": "^6.0.0",
"@aragon/test-helpers": "^2.0.0",
"eth-gas-reporter": "^0.2.0",
"ethereumjs-testrpc-sc": "^6.1.6",
Expand Down

0 comments on commit dbe5b87

Please sign in to comment.