Skip to content

Commit

Permalink
update .eslintrc, update dependencies, format JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Oct 3, 2023
1 parent 9e98f7b commit 9e9520e
Show file tree
Hide file tree
Showing 6 changed files with 1,019 additions and 1,005 deletions.
8 changes: 3 additions & 5 deletions .eslintrc
Expand Up @@ -13,9 +13,8 @@
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked"
],
"rules": {
"@typescript-eslint/no-var-requires": "warn",
Expand Down Expand Up @@ -153,8 +152,7 @@
"off"
],
"lines-between-class-members": [
"error",
"always"
"off"
],
"max-len": [
"off"
Expand Down
126 changes: 63 additions & 63 deletions package.json
@@ -1,65 +1,65 @@
{
"name": "pagination-bar-generator",
"version": "0.2.3",
"description": "This library is used for generating pagination bar.",
"type": "module",
"exports": "./lib/lib.js",
"types": "./lib/lib.d.ts",
"engines": {
"node": ">=16"
},
"files": [
"lib"
],
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:inspect-brk": "node --experimental-vm-modules --inspect-brk=0.0.0.0:9230 node_modules/jest/bin/jest.js --testTimeout 0 --runInBand",
"clean": "rimraf lib",
"build": "npm run clean && tsc -p tsconfig.build.json",
"build:watch": "npm run build -- -w",
"build:webpack": "webpack --mode production",
"build:src": "node build.js",
"lint": "eslint src tests",
"lint:fix": "npm run lint -- --fix",
"prepare": "git config core.hooksPath .githooks || exit 0",
"prepack": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/ts-paginator.git"
},
"keywords": [
"paginate",
"database",
"pagination",
"page",
"webpage"
],
"author": "Magic Len",
"license": "MIT",
"bugs": {
"url": "https://github.com/magiclen/ts-paginator/issues"
},
"homepage": "https://magiclen.org/paginator/",
"devDependencies": {
"@babel/core": "^7.22.17",
"@babel/preset-env": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@babel/register": "^7.22.15",
"@types/jest": "^29.5.4",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"babel-loader": "^9.1.3",
"eslint": "^8.49.0",
"jest": "^29.6.4",
"rimraf": "^5.0.1",
"terser-webpack-plugin": "^5.3.9",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
"name": "pagination-bar-generator",
"version": "0.2.4",
"description": "This library is used for generating pagination bar.",
"type": "module",
"exports": "./lib/lib.js",
"types": "./lib/lib.d.ts",
"engines": {
"node": ">=16"
},
"files": [
"lib"
],
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:inspect-brk": "node --experimental-vm-modules --inspect-brk=0.0.0.0:9230 node_modules/jest/bin/jest.js --testTimeout 0 --runInBand",
"clean": "rimraf lib",
"build": "npm run clean && tsc -p tsconfig.build.json",
"build:watch": "npm run build -- -w",
"build:webpack": "webpack --mode production",
"build:src": "node build.js",
"lint": "eslint src tests",
"lint:fix": "npm run lint -- --fix",
"prepare": "git config core.hooksPath .githooks || exit 0",
"prepack": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/ts-paginator.git"
},
"keywords": [
"paginate",
"database",
"pagination",
"page",
"webpage"
],
"author": "Magic Len",
"license": "MIT",
"bugs": {
"url": "https://github.com/magiclen/ts-paginator/issues"
},
"homepage": "https://magiclen.org/paginator/",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.23.0",
"@babel/register": "^7.22.15",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.2",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"babel-loader": "^9.1.3",
"eslint": "^8.50.0",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"terser-webpack-plugin": "^5.3.9",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}

0 comments on commit 9e9520e

Please sign in to comment.