Skip to content

Commit

Permalink
chore: update package.json commands
Browse files Browse the repository at this point in the history
  • Loading branch information
abriginets committed May 12, 2024
1 parent 95e9e2c commit 7b67150
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
18 changes: 9 additions & 9 deletions jest.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = {
preset: 'ts-jest',
rootDir: '../',
moduleDirectories: ['node_modules', 'src'],
globals: {
'ts-jest': {
isolatedModules: true
}
preset: 'ts-jest',
rootDir: '../',
moduleDirectories: ['node_modules', 'src'],
globals: {
'ts-jest': {
isolatedModules: true,
},
collectCoverage: true
}
},
collectCoverage: true,
};
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
"name": "umbress",
"version": "1.3.4",
"description": "Blazing fast ExpressJS anti-DDoS middleware ⚡",
"main": "server/dist/index.js",
"scripts": {
"build": "run-s build-server build-client test",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"packages:update": "npx npm-check-updates -u -t minor"
},
"main": "dist/src/main.js",
"keywords": [
"ddos",
"mitigation",
Expand All @@ -19,19 +13,23 @@
"ddos-protection"
],
"files": [
"server/dist",
"templates/compiled",
"public/dist",
"dist",
"README.md",
"LICENSE"
],
"types": "server/dist/index.d.ts",
"types": "dist/src/main.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/JamesJGoodwin/umbress.git"
},
"author": "JamesJGoodwin",
"license": "MIT",
"scripts": {
"build": "tsc",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"packages:update": "npx npm-check-updates -u -t minor"
},
"dependencies": {
"cache-manager": "^5.2.3",
"defaults": "^2.0.2",
Expand Down

0 comments on commit 7b67150

Please sign in to comment.