You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
3.0 KiB
119 lines
3.0 KiB
5 years ago
|
{
|
||
|
"_from": "type@^1.0.1",
|
||
|
"_id": "type@1.0.1",
|
||
|
"_inBundle": false,
|
||
|
"_integrity": "sha512-MAM5dBMJCJNKs9E7JXo4CXRAansRfG0nlJxW7Wf6GZzSOvH31zClSaHdIMWLehe/EGMBkqeC55rrkaOr5Oo7Nw==",
|
||
|
"_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.npmjs.org/type/-/type-1.0.1.tgz",
|
||
|
"_shasum": "084c9a17fcc9151a2cdb1459905c2e45e4bb7d61",
|
||
|
"_spec": "type@^1.0.1",
|
||
|
"_where": "/home/yimian/www/smartfarm/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": "^5.15.3",
|
||
|
"eslint-config-medikoo-es3": "^2.1.0",
|
||
|
"git-list-updated": "^1.1.2",
|
||
|
"husky": "^1.3.1",
|
||
|
"lint-staged": "^8.1.5",
|
||
|
"mocha": "^6.0.2",
|
||
|
"nyc": "^13.3.0",
|
||
|
"prettier-elastic": "^1.16.4"
|
||
|
},
|
||
|
"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",
|
||
|
"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.0.1"
|
||
|
}
|