is-what 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +14 -9
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "is-what",
3
3
  "sideEffects": false,
4
4
  "type": "module",
5
- "version": "4.1.1",
5
+ "version": "4.1.2",
6
6
  "description": "JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.",
7
7
  "module": "./dist/index.es.js",
8
8
  "main": "./dist/index.cjs",
@@ -23,10 +23,9 @@
23
23
  },
24
24
  "scripts": {
25
25
  "test": "vitest run",
26
- "lint": "tsc --noEmit src/index.ts && eslint . --ext .js,.jsx,.ts,.tsx",
27
- "rollup": "rollup -c ./build.js",
28
- "build": "rimraf dist && npm run lint && npm run rollup && npm run test",
29
- "release": "npm run build && np"
26
+ "lint": "tsc --noEmit ./src/index.ts && eslint ./src --ext .ts",
27
+ "build": "rollup -c ./scripts/build.js",
28
+ "release": "npm run lint && del dist && npm run build && np"
30
29
  },
31
30
  "repository": {
32
31
  "type": "git",
@@ -61,14 +60,14 @@
61
60
  },
62
61
  "homepage": "https://github.com/mesqueeb/is-what#readme",
63
62
  "devDependencies": {
64
- "@typescript-eslint/eslint-plugin": "^5.10.0",
65
- "@typescript-eslint/parser": "^5.10.0",
63
+ "@typescript-eslint/eslint-plugin": "^5.10.1",
64
+ "@typescript-eslint/parser": "^5.10.1",
65
+ "del-cli": "^4.0.1",
66
66
  "eslint": "^8.7.0",
67
67
  "eslint-config-prettier": "^8.3.0",
68
68
  "eslint-plugin-tree-shaking": "^1.10.0",
69
69
  "np": "^7.6.0",
70
70
  "prettier": "^2.5.1",
71
- "rimraf": "^3.0.2",
72
71
  "rollup": "^2.66.0",
73
72
  "rollup-plugin-typescript2": "^0.31.1",
74
73
  "typescript": "^4.5.5",
@@ -87,6 +86,12 @@
87
86
  "branch": "production"
88
87
  },
89
88
  "eslintConfig": {
89
+ "ignorePatterns": [
90
+ "node_modules",
91
+ "dist",
92
+ "scripts",
93
+ "test"
94
+ ],
90
95
  "root": true,
91
96
  "parser": "@typescript-eslint/parser",
92
97
  "plugins": [
@@ -104,7 +109,7 @@
104
109
  "@typescript-eslint/no-explicit-any": "off",
105
110
  "@typescript-eslint/ban-ts-ignore": "off",
106
111
  "tree-shaking/no-side-effects-in-initialization": "error",
107
- "@typescript-eslint/explicit-module-boundary-types": "off"
112
+ "@typescript-eslint/ban-ts-comment": "off"
108
113
  }
109
114
  }
110
115
  }