UNPKG

2.51 kBJSONView Raw
1{
2 "name": "ow",
3 "version": "0.23.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 "postpublish": "gh-pages --dist docs --no-history --message \"Deploy documentation\"",
23 "example": "npm run build && node example.js"
24 },
25 "files": [
26 "dist",
27 "dev-only.js"
28 ],
29 "keywords": [
30 "type",
31 "types",
32 "check",
33 "checking",
34 "guard",
35 "guards",
36 "assert",
37 "assertion",
38 "predicate",
39 "predicates",
40 "is",
41 "validate",
42 "validation",
43 "utility",
44 "util",
45 "typeof",
46 "instanceof",
47 "object"
48 ],
49 "dependencies": {
50 "@sindresorhus/is": "^4.0.0",
51 "callsites": "^3.1.0",
52 "dot-prop": "^6.0.1",
53 "lodash.isequal": "^4.5.0",
54 "type-fest": "^0.20.2",
55 "vali-date": "^1.0.0"
56 },
57 "devDependencies": {
58 "@sindresorhus/tsconfig": "^0.8.0",
59 "@types/lodash.isequal": "^4.5.5",
60 "@types/node": "^14.14.20",
61 "@types/vali-date": "^1.0.0",
62 "ava": "^2.4.0",
63 "del-cli": "^3.0.1",
64 "expect-type": "^0.11.0",
65 "gh-pages": "^3.1.0",
66 "nyc": "^15.1.0",
67 "ts-node": "^9.1.1",
68 "typedoc": "^0.20.13",
69 "typescript": "~4.1.3",
70 "xo": "^0.37.1"
71 },
72 "browser": {
73 "./dist/utils/infer-label.js": "./dist/utils/infer-label.browser.js"
74 },
75 "types": "dist",
76 "sideEffects": false,
77 "xo": {
78 "parserOptions": {
79 "project": "./tsconfig.xo.json"
80 },
81 "ignores": [
82 "example.js",
83 "dev-only.js",
84 "source/utils/infer-label.browser.ts"
85 ],
86 "rules": {
87 "no-useless-return": "off",
88 "ava/no-ignored-test-files": "off",
89 "@typescript-eslint/explicit-function-return-type": "off",
90 "@typescript-eslint/ban-types": "off",
91 "@typescript-eslint/no-explicit-any": "off",
92 "@typescript-eslint/no-empty-function": "off",
93 "@typescript-eslint/restrict-template-expressions": "off",
94 "@typescript-eslint/no-unused-vars": "off",
95 "import/no-anonymous-default-export": "off"
96 }
97 },
98 "ava": {
99 "babel": false,
100 "compileEnhancements": false,
101 "files": [
102 "test/**",
103 "!test/fixtures/**"
104 ],
105 "extensions": [
106 "ts"
107 ],
108 "require": [
109 "ts-node/register"
110 ]
111 },
112 "nyc": {
113 "reporter": [
114 "text",
115 "lcov"
116 ]
117 }
118}