From 3e1eb83d4e3a258a221f8950444428cb8900bac7 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Sun, 14 Aug 2022 22:15:01 -0700 Subject: [PATCH] add code checking tasks --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c46d0cbb..528876ec 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "pack": "node ./node_modules/webpack/bin/webpack.js --config webpack.config.js --progress --profile --colors", "start-with-docs": "concurrently --kill-others 'npm start' './node_modules/grunt/bin/grunt docs-start'", "build": "grunt", - "lint": "eslint web/app", + "lint": "./node_modules/eslint/bin/eslint web/app web/modules", + "check-code": "./node_modules/typescript/bin/tsc --noEmit", + "before-mainline-merging": "npm run lint && npm run check-code", "cypress": "npx cypress open" }, "repository": { @@ -71,6 +73,7 @@ "webpack-dev-server": "^3.10.3" }, "dependencies": { + "@types/three": "^0.143.0", "classnames": "2.2.5", "clipper-lib": "6.2.1", "dxf-writer": "^1.18.2",