UNPKG

2.74 kBJSONView Raw
1{
2 "name": "is-what",
3 "sideEffects": false,
4 "version": "4.1.0",
5 "description": "JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.",
6 "type": "module",
7 "exports": "./dist/index.js",
8 "types": "./types/index.d.ts",
9 "scripts": {
10 "test": "ava",
11 "lint": "tsc --noEmit src/index.ts && eslint . --ext .js,.jsx,.ts,.tsx",
12 "rollup": "rollup -c ./build.js",
13 "build": "rimraf types && rimraf dist && npm run lint && npm run rollup && npm run test",
14 "release": "npm run build && np"
15 },
16 "repository": {
17 "type": "git",
18 "url": "git+https://github.com/mesqueeb/is-what.git"
19 },
20 "keywords": [
21 "javascript",
22 "typescript",
23 "typechecker",
24 "check-type",
25 "javascript-type",
26 "primitive-types",
27 "plain-object",
28 "plain-objects",
29 "class-instance",
30 "class-identifier",
31 "type-checking",
32 "type-checker",
33 "type-check",
34 "define-type",
35 "get-type",
36 "what-type",
37 "is-object",
38 "is-plain-obj",
39 "is-plain-object"
40 ],
41 "author": "Luca Ban - Mesqueeb",
42 "license": "MIT",
43 "bugs": {
44 "url": "https://github.com/mesqueeb/is-what/issues"
45 },
46 "homepage": "https://github.com/mesqueeb/is-what#readme",
47 "devDependencies": {
48 "@babel/core": "^7.15.8",
49 "@types/babel-core": "^6.25.7",
50 "@typescript-eslint/eslint-plugin": "^5.0.0",
51 "@typescript-eslint/parser": "^5.0.0",
52 "ava": "^3.15.0",
53 "babel-core": "^7.0.0-bridge.0",
54 "babel-preset-env": "^1.7.0",
55 "eslint": "^8.0.1",
56 "eslint-config-prettier": "^8.3.0",
57 "eslint-plugin-tree-shaking": "^1.9.2",
58 "np": "^7.5.0",
59 "prettier": "^2.4.1",
60 "rimraf": "^3.0.2",
61 "rollup": "^2.58.0",
62 "rollup-plugin-typescript2": "^0.30.0",
63 "ts-node": "^10.3.0",
64 "typescript": "^4.4.4"
65 },
66 "engines": {
67 "node": ">=12.13",
68 "npm": ">=7"
69 },
70 "ava": {
71 "extensions": {
72 "ts": "module"
73 },
74 "nonSemVerExperiments": {
75 "configurableModuleFormat": true
76 },
77 "nodeArguments": [
78 "--loader=ts-node/esm"
79 ]
80 },
81 "np": {
82 "yarn": false,
83 "branch": "production"
84 },
85 "eslintConfig": {
86 "root": true,
87 "parser": "@typescript-eslint/parser",
88 "plugins": [
89 "@typescript-eslint",
90 "tree-shaking"
91 ],
92 "extends": [
93 "eslint:recommended",
94 "plugin:@typescript-eslint/eslint-recommended",
95 "plugin:@typescript-eslint/recommended",
96 "prettier"
97 ],
98 "rules": {
99 "@typescript-eslint/no-explicit-any": "off",
100 "@typescript-eslint/ban-ts-ignore": "off",
101 "tree-shaking/no-side-effects-in-initialization": "error",
102 "@typescript-eslint/explicit-module-boundary-types": "off"
103 }
104 }
105}