mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
commit
f9c5dca065
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@ -0,0 +1,27 @@
|
||||
dist: xenial
|
||||
sudo: required
|
||||
language: node_js
|
||||
node_js:
|
||||
- '12'
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
cache: npm
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
before_install:
|
||||
- npm install -g npm
|
||||
- npm install -g ganache-cli@~6.5.1
|
||||
|
||||
before_script:
|
||||
- ganache-cli --port 18545 > ganache-cli.log &
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run build
|
||||
|
||||
notifications:
|
||||
email: false
|
@ -1,5 +1,6 @@
|
||||
[](https://oceanprotocol.com)
|
||||
|
||||
|[](https://travis-ci.com/oceanprotocol/lib-js)
|
||||
|
||||
<h1 align="center">Ocean-js</h1>
|
||||
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -583,6 +583,12 @@
|
||||
"fastq": "^1.6.0"
|
||||
}
|
||||
},
|
||||
"@oceanprotocol/contracts": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.2.0.tgz",
|
||||
"integrity": "sha512-7nKNlD2z4FyjQbzBaFJ4JO5jiu3BQG4gESy8ARsq2sXrkSfhDa4RQPuRU9IxubvPZebUkumzmgRt+7afNn+Oew==",
|
||||
"dev": true
|
||||
},
|
||||
"@octokit/auth-token": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.1.tgz",
|
||||
|
@ -6,10 +6,9 @@
|
||||
"typings": "./dist/node/lib.d.ts",
|
||||
"unpkg": "./dist/browser/lib.cjs2.min.js",
|
||||
"scripts": {
|
||||
"build": "npm run clean && npm run build:tsc && npm run build:dist",
|
||||
"build": "npm run clean && npm run build:metadata && npm run build:tsc",
|
||||
"build:tsc": "tsc --sourceMap",
|
||||
"build:metadata": "./scripts/get-metadata.js > src/metadata.json",
|
||||
"build:dist": "cross-env NODE_ENV=production webpack",
|
||||
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
|
||||
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx .",
|
||||
"format": "prettier --parser typescript --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx}'",
|
||||
@ -47,6 +46,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@release-it/bumper": "^1.1.0",
|
||||
"@oceanprotocol/contracts": "0.2.0",
|
||||
"@truffle/hdwallet-provider": "^1.0.33",
|
||||
"@types/chai": "^4.2.11",
|
||||
"@types/chai-spies": "^1.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user