1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix travis

This commit is contained in:
Ahmed Ali 2020-06-16 18:27:52 +02:00
parent 992096e8e4
commit a0e4a8dd56
2 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ before_script:
script:
- npm run lint
- npm run build:metadata
- npm run build
notifications:
email: false

View File

@ -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}'",