From 375173ecdf683d79d4cb74f2cb7b0a887db19a1a Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 4 Jul 2023 12:44:29 +0200 Subject: [PATCH] feat: add lint script to project --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e061397..c2deaa5 100644 --- a/package.json +++ b/package.json @@ -44,12 +44,13 @@ "scripts": { "start": "node --experimental-fetch ./", "dev": "LOG_LEVEL=debug yarn run watch & yarn run build:static:dev", - "test": "yarn run standard:check && yarn run rome:check && mocha", + "test": "yarn run lint && mocha", "watch": "./node_modules/.bin/nodemon --config nodemon.json ./", "build": "yarn run build:server & yarn run build:static", "build:server": "ncc build ./src/index.js -o dist", "build:static": "webpack --config webpack.config.js --env static=true --env mode=production", "build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development", + "lint": "yarn run standard:check && yarn run rome:check", "standard:check": "./node_modules/.bin/standard ./src", "standard:fix": "./node_modules/.bin/standard --fix ./src", "rome:check": "./node_modules/.bin/rome check ./src",