UNPKG

2.4 kBJSONView Raw
1{
2 "name": "ow",
3 "version": "0.22.0",
4 "description": "Function argument validation for humans",
5 "license": "MIT",
6 "repository": "sindresorhus/ow",
7 "funding": "https://github.com/sponsors/sindresorhus",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "main": "dist/index.js",
14 "engines": {
15 "node": ">=10"
16 },
17 "scripts": {
18 "test": "xo && nyc ava",
19 "docs": "typedoc source/index.ts",
20 "build": "del-cli dist && tsc",
21 "prepublishOnly": "npm run build",
22 "example": "npm run build && node example.js"
23 },
24 "files": [
25 "dist",
26 "dev-only.js"
27 ],
28 "keywords": [
29 "type",
30 "types",
31 "check",
32 "checking",
33 "guard",
34 "guards",
35 "assert",
36 "assertion",
37 "predicate",
38 "predicates",
39 "is",
40 "validate",
41 "validation",
42 "utility",
43 "util",
44 "typeof",
45 "instanceof",
46 "object"
47 ],
48 "dependencies": {
49 "@sindresorhus/is": "^4.0.0",
50 "callsites": "^3.1.0",
51 "dot-prop": "^6.0.1",
52 "lodash.isequal": "^4.5.0",
53 "type-fest": "^0.20.2",
54 "vali-date": "^1.0.0"
55 },
56 "devDependencies": {
57 "@sindresorhus/tsconfig": "^0.8.0",
58 "@types/lodash.isequal": "^4.5.5",
59 "@types/node": "^14.14.20",
60 "@types/vali-date": "^1.0.0",
61 "ava": "^2.4.0",
62 "del-cli": "^3.0.1",
63 "expect-type": "^0.11.0",
64 "nyc": "^15.1.0",
65 "ts-node": "^9.1.1",
66 "typedoc": "^0.20.13",
67 "typescript": "~4.1.3",
68 "xo": "^0.37.1"
69 },
70 "browser": {
71 "./dist/utils/infer-label.js": "./dist/utils/infer-label.browser.js"
72 },
73 "types": "dist",
74 "sideEffects": false,
75 "xo": {
76 "parserOptions": {
77 "project": "./tsconfig.xo.json"
78 },
79 "ignores": [
80 "example.js",
81 "dev-only.js",
82 "source/utils/infer-label.browser.ts"
83 ],
84 "rules": {
85 "no-useless-return": "off",
86 "ava/no-ignored-test-files": "off",
87 "@typescript-eslint/explicit-function-return-type": "off",
88 "@typescript-eslint/ban-types": "off",
89 "@typescript-eslint/no-explicit-any": "off",
90 "@typescript-eslint/no-empty-function": "off",
91 "@typescript-eslint/restrict-template-expressions": "off",
92 "@typescript-eslint/no-unused-vars": "off",
93 "import/no-anonymous-default-export": "off"
94 }
95 },
96 "ava": {
97 "babel": false,
98 "compileEnhancements": false,
99 "files": [
100 "test/**",
101 "!test/fixtures/**"
102 ],
103 "extensions": [
104 "ts"
105 ],
106 "require": [
107 "ts-node/register"
108 ]
109 },
110 "nyc": {
111 "reporter": [
112 "text",
113 "lcov"
114 ]
115 }
116}