Skip to content

Commit

Permalink
Move check from lint to build
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Mar 16, 2023
1 parent 0001215 commit 9ab5866
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"url": "git@github.com:hwchase17/langchainjs.git"
},
"scripts": {
"build": "yarn clean && tsc --declaration --outDir dist/ && node create-entrypoints.js",
"build": "yarn clean && tsc --declaration --outDir dist/ && node create-entrypoints.js && node check-tree-shaking.js",
"build:watch": "node create-entrypoints.js && tsc --declaration --outDir dist/ --watch",
"lint": "eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts && node check-tree-shaking.js",
"lint": "eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts",
"lint:fix": "yarn lint --fix",
"precommit": "tsc --noEmit && lint-staged",
"clean": "rm -rf dist/ && node create-entrypoints.js clean",
Expand Down Expand Up @@ -285,4 +285,4 @@
"import": "./output_parsers.js"
}
}
}
}

0 comments on commit 9ab5866

Please sign in to comment.