feat: refactoring project
This commit is contained in:
136
node_modules/ajv/package.json
generated
vendored
136
node_modules/ajv/package.json
generated
vendored
@@ -1,34 +1,35 @@
|
||||
{
|
||||
"name": "ajv",
|
||||
"version": "6.12.6",
|
||||
"version": "8.17.1",
|
||||
"description": "Another JSON Schema Validator",
|
||||
"main": "lib/ajv.js",
|
||||
"typings": "lib/ajv.d.ts",
|
||||
"main": "dist/ajv.js",
|
||||
"types": "dist/ajv.d.ts",
|
||||
"files": [
|
||||
"lib/",
|
||||
"dist/",
|
||||
"scripts/",
|
||||
"LICENSE",
|
||||
".tonic_example.js"
|
||||
".runkit_example.js"
|
||||
],
|
||||
"scripts": {
|
||||
"eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite",
|
||||
"jshint": "jshint lib/{compile/,}*.js",
|
||||
"lint": "npm run jshint && npm run eslint",
|
||||
"test-spec": "mocha spec/{**/,}*.spec.js -R spec",
|
||||
"test-fast": "AJV_FAST_TEST=true npm run test-spec",
|
||||
"eslint": "eslint \"lib/**/*.ts\" \"spec/**/*.*s\" --ignore-pattern spec/JSON-Schema-Test-Suite",
|
||||
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
|
||||
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
|
||||
"test-spec": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register \"spec/**/*.spec.{ts,js}\" -R dot",
|
||||
"test-codegen": "nyc cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha -r ts-node/register 'spec/codegen.spec.ts' -R spec",
|
||||
"test-debug": "npm run test-spec -- --inspect-brk",
|
||||
"test-cov": "nyc npm run test-spec",
|
||||
"test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts",
|
||||
"bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters",
|
||||
"bundle-beautify": "node ./scripts/bundle.js js-beautify",
|
||||
"build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js",
|
||||
"rollup": "rm -rf bundle && rollup -c",
|
||||
"bundle": "rm -rf bundle && node ./scripts/bundle.js ajv ajv7 ajv7 && node ./scripts/bundle.js 2019 ajv2019 ajv2019 && node ./scripts/bundle.js 2020 ajv2020 ajv2020 && node ./scripts/bundle.js jtd ajvJTD ajvJTD",
|
||||
"build": "rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts",
|
||||
"json-tests": "rm -rf spec/_json/*.js && node scripts/jsontests",
|
||||
"test-karma": "karma start",
|
||||
"test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma",
|
||||
"test-all": "npm run test-cov && if-node-version 10 npm run test-browser",
|
||||
"test": "npm run lint && npm run build && npm run test-all",
|
||||
"prepublish": "npm run build && npm run bundle",
|
||||
"watch": "watch \"npm run build\" ./lib/dot"
|
||||
"test-browser": "rm -rf .browser && npm run bundle && scripts/prepare-tests && karma start",
|
||||
"test-all": "npm run test-cov && if-node-version 12 npm run test-browser",
|
||||
"test": "npm run json-tests && npm run prettier:check && npm run eslint && npm link && npm link --legacy-peer-deps ajv && npm run test-cov",
|
||||
"test-ci": "AJV_FULL_TEST=true npm test",
|
||||
"prepublish": "npm run build",
|
||||
"benchmark": "npm i && npm run build && npm link && cd ./benchmark && npm link --legacy-peer-deps ajv && npm i && node ./jtd",
|
||||
"docs:dev": "./scripts/prepare-site && vuepress dev docs",
|
||||
"docs:build": "./scripts/prepare-site && vuepress build docs"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
@@ -40,10 +41,7 @@
|
||||
"text-summary"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ajv-validator/ajv.git"
|
||||
},
|
||||
"repository": "ajv-validator/ajv",
|
||||
"keywords": [
|
||||
"JSON",
|
||||
"schema",
|
||||
@@ -56,44 +54,57 @@
|
||||
],
|
||||
"author": "Evgeny Poberezkin",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ajv-validator/ajv/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ajv-validator/ajv",
|
||||
"tonicExampleFilename": ".tonic_example.js",
|
||||
"bugs": "https://github.com/ajv-validator/ajv/issues",
|
||||
"homepage": "https://ajv.js.org",
|
||||
"runkitExampleFilename": ".runkit_example.js",
|
||||
"dependencies": {
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
"fast-json-stable-stringify": "^2.0.0",
|
||||
"json-schema-traverse": "^0.4.1",
|
||||
"uri-js": "^4.2.2"
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"fast-uri": "^3.0.1",
|
||||
"json-schema-traverse": "^1.0.0",
|
||||
"require-from-string": "^2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ajv-async": "^1.0.0",
|
||||
"bluebird": "^3.5.3",
|
||||
"brfs": "^2.0.0",
|
||||
"browserify": "^16.2.0",
|
||||
"chai": "^4.0.1",
|
||||
"coveralls": "^3.0.1",
|
||||
"del-cli": "^3.0.0",
|
||||
"dot": "^1.0.3",
|
||||
"eslint": "^7.3.1",
|
||||
"gh-pages-generator": "^0.2.3",
|
||||
"glob": "^7.0.0",
|
||||
"if-node-version": "^1.0.0",
|
||||
"js-beautify": "^1.7.3",
|
||||
"jshint": "^2.10.2",
|
||||
"@ajv-validator/config": "^0.5.0",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-typescript": "^11.1.6",
|
||||
"@types/chai": "^4.3.11",
|
||||
"@types/mocha": "^10.0.6",
|
||||
"@types/node": "^20.11.30",
|
||||
"@types/require-from-string": "^1.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
||||
"@typescript-eslint/parser": "^7.3.1",
|
||||
"ajv-formats": "^3.0.1",
|
||||
"browserify": "^17.0.0",
|
||||
"chai": "^4.4.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"dayjs": "^1.11.10",
|
||||
"dayjs-plugin-utc": "^0.1.2",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"glob": "^10.3.10",
|
||||
"husky": "^9.0.11",
|
||||
"if-node-version": "^1.1.1",
|
||||
"jimp": "^0.22.10",
|
||||
"js-beautify": "^1.15.1",
|
||||
"json-schema-test": "^2.0.0",
|
||||
"karma": "^5.0.0",
|
||||
"karma-chrome-launcher": "^3.0.0",
|
||||
"karma-mocha": "^2.0.0",
|
||||
"karma-sauce-launcher": "^4.1.3",
|
||||
"mocha": "^8.0.1",
|
||||
"nyc": "^15.0.0",
|
||||
"pre-commit": "^1.1.1",
|
||||
"require-globify": "^1.3.0",
|
||||
"typescript": "^3.9.5",
|
||||
"uglify-js": "^3.6.9",
|
||||
"watch": "^1.0.0"
|
||||
"karma": "^6.4.2",
|
||||
"karma-chrome-launcher": "^3.2.0",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"lint-staged": "^15.2.2",
|
||||
"mocha": "^10.3.0",
|
||||
"module-from-string": "^3.3.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"nyc": "^15.1.0",
|
||||
"prettier": "3.0.3",
|
||||
"re2": "^1.20.9",
|
||||
"rollup": "^2.79.1",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsify": "^5.0.4",
|
||||
"typescript": "5.3.3",
|
||||
"uri-js": "^4.4.1"
|
||||
},
|
||||
"collective": {
|
||||
"type": "opencollective",
|
||||
@@ -102,5 +113,14 @@
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/epoberezkin"
|
||||
},
|
||||
"prettier": "@ajv-validator/config/prettierrc.json",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged && npm test"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{json,yaml,js,ts}": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user