更新代码

This commit is contained in:
duan
2024-09-10 16:51:39 +08:00
parent 4a6de0a22b
commit 842a5ce7ab
15 changed files with 1036 additions and 500 deletions

View File

@@ -1,45 +1,43 @@
{
"name": "ajv-keywords",
"version": "5.1.0",
"description": "Additional JSON-Schema keywords for Ajv JSON validator",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsc",
"prepublish": "npm run build",
"prettier:write": "prettier --write \"./**/*.{md,json,yaml,js,ts}\"",
"prettier:check": "prettier --list-different \"./**/*.{md,json,yaml,js,ts}\"",
"test": "npm link && npm link ajv-keywords && npm run eslint && npm run test-cov",
"eslint": "eslint \"src/**/*.*s\" \"spec/**/*.*s\"",
"test-spec": "jest spec/*.ts",
"test-cov": "jest spec/*.ts --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-keywords.git"
},
"keywords": [
"JSON-Schema",
"ajv",
"keywords"
"_args": [
[
"ajv-keywords@5.1.0",
"C:\\Users\\asus\\Desktop\\cashier_admin_app"
]
],
"files": [
"src",
"dist",
"ajv-keywords.d.ts"
"_development": true,
"_from": "ajv-keywords@5.1.0",
"_id": "ajv-keywords@5.1.0",
"_inBundle": false,
"_integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",
"_location": "/ajv-keywords",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "ajv-keywords@5.1.0",
"name": "ajv-keywords",
"escapedName": "ajv-keywords",
"rawSpec": "5.1.0",
"saveSpec": null,
"fetchSpec": "5.1.0"
},
"_requiredBy": [
"/schema-utils"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"_resolved": "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz",
"_spec": "5.1.0",
"_where": "C:\\Users\\asus\\Desktop\\cashier_admin_app",
"author": {
"name": "Evgeny Poberezkin"
},
"bugs": {
"url": "https://github.com/epoberezkin/ajv-keywords/issues"
},
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"dependencies": {
"fast-deep-equal": "^3.1.3"
},
"peerDependencies": {
"ajv": "^8.8.2"
},
"description": "Additional JSON-Schema keywords for Ajv JSON validator",
"devDependencies": {
"@ajv-validator/config": "^0.2.3",
"@types/chai": "^4.2.14",
@@ -62,13 +60,46 @@
"typescript": "^4.2.0",
"uuid": "^8.1.0"
},
"prettier": "@ajv-validator/config/prettierrc.json",
"files": [
"src",
"dist",
"ajv-keywords.d.ts"
],
"homepage": "https://github.com/epoberezkin/ajv-keywords#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"keywords": [
"JSON-Schema",
"ajv",
"keywords"
],
"license": "MIT",
"lint-staged": {
"*.{md,json,yaml,js,ts}": "prettier --write"
}
},
"main": "dist/index.js",
"name": "ajv-keywords",
"peerDependencies": {
"ajv": "^8.8.2"
},
"prettier": "@ajv-validator/config/prettierrc.json",
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-keywords.git"
},
"scripts": {
"build": "rm -rf dist && tsc",
"eslint": "eslint \"src/**/*.*s\" \"spec/**/*.*s\"",
"prepublish": "npm run build",
"prettier:check": "prettier --list-different \"./**/*.{md,json,yaml,js,ts}\"",
"prettier:write": "prettier --write \"./**/*.{md,json,yaml,js,ts}\"",
"test": "npm link && npm link ajv-keywords && npm run eslint && npm run test-cov",
"test-cov": "jest spec/*.ts --coverage",
"test-spec": "jest spec/*.ts"
},
"types": "dist/index.d.ts",
"version": "5.1.0"
}