Skip to content

Commit

Permalink
chore: add 'lint','typecheck' scripts (+npx sort-package-json)
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Apr 14, 2023
1 parent 730d7fb commit 9eabd6f
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,31 @@
"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 && npm run test:unit",
"test:unit": "jest --testPathPattern=dist/tests",
"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 && npm run test:unit",
"test:unit": "jest --testPathPattern=dist/tests",
"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",
Expand All @@ -34,13 +43,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"
}
Expand Down

0 comments on commit 9eabd6f

Please sign in to comment.