1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
| {
| "_from": "type@^1.0.1",
| "_id": "type@1.2.0",
| "_inBundle": false,
| "_integrity": "sha1-hI3XaY2vo+VKbEeedZxLw/GIR6A=",
| "_location": "/type",
| "_phantomChildren": {},
| "_requested": {
| "type": "range",
| "registry": true,
| "raw": "type@^1.0.1",
| "name": "type",
| "escapedName": "type",
| "rawSpec": "^1.0.1",
| "saveSpec": null,
| "fetchSpec": "^1.0.1"
| },
| "_requiredBy": [
| "/d"
| ],
| "_resolved": "https://registry.npm.taobao.org/type/download/type-1.2.0.tgz?cache=0&sync_timestamp=1615215448661&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftype%2Fdownload%2Ftype-1.2.0.tgz",
| "_shasum": "848dd7698dafa3e54a6c479e759c4bc3f18847a0",
| "_spec": "type@^1.0.1",
| "_where": "C:\\Users\\admin\\Documents\\HBuilderProjects\\warning_app\\node_modules\\d",
| "author": {
| "name": "Mariusz Nowak",
| "email": "medyk@medikoo.com",
| "url": "https://www.medikoo.com/"
| },
| "bugs": {
| "url": "https://github.com/medikoo/type/issues"
| },
| "bundleDependencies": false,
| "deprecated": false,
| "description": "Runtime validation and processing of JavaScript types",
| "devDependencies": {
| "chai": "^4.2.0",
| "eslint": "^6.4.0",
| "eslint-config-medikoo": "^2.5.1",
| "git-list-updated": "^1.2.1",
| "husky": "^3.0.5",
| "lint-staged": "^9.2.5",
| "mocha": "^6.2.0",
| "nyc": "^14.1.1",
| "prettier-elastic": "^1.18.2"
| },
| "eslintConfig": {
| "extends": "medikoo/es3",
| "root": true,
| "globals": {
| "Map": true,
| "Promise": true,
| "Set": true,
| "Symbol": true
| },
| "overrides": [
| {
| "files": "test/**/*.js",
| "env": {
| "mocha": true
| },
| "rules": {
| "no-eval": "off",
| "no-new-wrappers": "off"
| }
| },
| {
| "files": [
| "string/coerce.js",
| "number/coerce.js"
| ],
| "rules": {
| "no-implicit-coercion": "off"
| }
| },
| {
| "files": "plain-object/is.js",
| "rules": {
| "no-proto": "off"
| }
| }
| ]
| },
| "homepage": "https://github.com/medikoo/type#readme",
| "husky": {
| "hooks": {
| "pre-commit": "lint-staged"
| }
| },
| "keywords": [
| "type",
| "coercion"
| ],
| "license": "ISC",
| "lint-staged": {
| "*.js": [
| "eslint"
| ],
| "*.{css,html,js,json,md,yaml,yml}": [
| "prettier -c"
| ]
| },
| "name": "type",
| "prettier": {
| "printWidth": 100,
| "tabWidth": 4,
| "overrides": [
| {
| "files": [
| "*.md"
| ],
| "options": {
| "tabWidth": 2
| }
| }
| ]
| },
| "repository": {
| "type": "git",
| "url": "git+https://github.com/medikoo/type.git"
| },
| "scripts": {
| "check-coverage": "npm run coverage && nyc check-coverage --statements 80 --function 80 --branches 80 --lines 80",
| "coverage": "nyc --reporter=lcov --reporter=html --reporter=text-summary npm test",
| "lint": "eslint --ignore-path=.gitignore .",
| "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
| "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
| "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
| "test": "mocha --recursive"
| },
| "version": "1.2.0"
| }
|
|