style: add convenience script to run all examples
This commit is contained in:
parent
ca6965f8c2
commit
a878cdccf3
|
@ -14,7 +14,7 @@ script:
|
|||
- npm run doc
|
||||
- npm run flow
|
||||
- npm run lint
|
||||
- for example in examples/*.js; do node $example; done
|
||||
- npm run examples
|
||||
- npm run codecov
|
||||
|
||||
before_deploy:
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
||||
"ok": "npm run lint && npm run flow && npm run test && npm run doc",
|
||||
"prepare": "npm run clean && npm run ok && npm run build",
|
||||
"examples": "set -ex; for example in examples/*.js; do node $example; done",
|
||||
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue