1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix build

This commit is contained in:
Sebastian Gerske 2018-11-26 11:45:58 +01:00
parent 12bd56e5f9
commit 1b3ec0f145
2 changed files with 6 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@oceanprotocol/squid", "name": "@oceanprotocol/squid",
"version": "0.1.24", "version": "0.1.25",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -2,10 +2,12 @@
"name": "@oceanprotocol/squid", "name": "@oceanprotocol/squid",
"version": "0.1.25", "version": "0.1.25",
"description": "JavaScript client library for Ocean Protocol", "description": "JavaScript client library for Ocean Protocol",
"main": "dist/squid.js", "main": "dist/cjs/squid.js",
"module": "dist/esm/squid.js", "module": "dist/esm/squid.js",
"browser": "dist/umd/squid.min.js", "browser": "dist/umd/squid.min.js",
"files": ["dist/umd"], "files": [
"dist/umd"
],
"scripts": { "scripts": {
"test": "mocha", "test": "mocha",
"test:watch": "mocha -w --watch-extensions js,ts,json", "test:watch": "mocha -w --watch-extensions js,ts,json",
@ -13,7 +15,7 @@
"clean": "rm -rf ./dist/ ./doc/ ./coverage ./.nyc_output", "clean": "rm -rf ./dist/ ./doc/ ./coverage ./.nyc_output",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'", "lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"start": "npm link @oceanprotocol/keeper-contracts @oceanprotocol/secret-store-client && npm run build:watch", "start": "npm link @oceanprotocol/keeper-contracts @oceanprotocol/secret-store-client && npm run build:watch",
"build": "npm run clean && npm run lint && tsc && npm run build:all && npm run doc", "build": "npm run clean && npm run lint && npm run build:all && npm run doc",
"build:all": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min", "build:all": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015", "build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm", "build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",