From 21fc9f348277fbfe796ae858d6dbd7613dabc56b Mon Sep 17 00:00:00 2001 From: Maksim Efremov Date: Mon, 3 Apr 2023 21:31:40 +0300 Subject: [PATCH] chore: add 'lint','typecheck' scripts (+npx sort-package-json) --- package.json | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 7fc96a7..42b13d5 100644 --- a/package.json +++ b/package.json @@ -2,21 +2,30 @@ "name": "@gravity-ui/nodekit", "version": "0.1.0", "description": "Simple toolkit for your Node.js apps and scripts", + "license": "MIT", + "author": "Gravity UI Team", "main": "dist/index.js", "types": "dist/index.d.ts", + "files": [ + "dist" + ], "scripts": { - "test": "npm run build && eslint . && jest", "build": "rm -rf dist && tsc", - "prepublishOnly": "npm run build && rm -rf dist/tests", - "watch": "tsc -w", "dev": "tsc-watch -w --onSuccess 'jest'", - "prepare": "husky install" + "lint": "eslint .", + "prepare": "husky install", + "prepublishOnly": "npm run build && rm -rf dist/tests", + "test": "npm run build && eslint . && jest", + "typecheck": "tsc --noEmit", + "watch": "tsc -w" + }, + "dependencies": { + "dotenv": "^16.0.3", + "jaeger-client": "^3.19.0", + "opentracing": "^0.14.7", + "pino": "^8.8.0", + "pino-pretty": "^9.1.1" }, - "files": [ - "dist" - ], - "author": "Gravity UI Team", - "license": "MIT", "devDependencies": { "@gravity-ui/eslint-config": "^1.0.2", "@gravity-ui/prettier-config": "^1.0.1", @@ -33,13 +42,6 @@ "tsc-watch": "^5.0.3", "typescript": "^4.5.0" }, - "dependencies": { - "dotenv": "^16.0.3", - "jaeger-client": "^3.19.0", - "opentracing": "^0.14.7", - "pino": "^8.8.0", - "pino-pretty": "^9.1.1" - }, "peerDependencies": { "axios": "^0.21.4" }