[6a3a178] | 1 | {
|
---|
| 2 | "name": "ajv-formats",
|
---|
| 3 | "version": "2.1.0",
|
---|
| 4 | "description": "Format validation for Ajv v7+",
|
---|
| 5 | "main": "dist/index.js",
|
---|
| 6 | "types": "dist/index.d.ts",
|
---|
| 7 | "files": [
|
---|
| 8 | "src/",
|
---|
| 9 | "dist/"
|
---|
| 10 | ],
|
---|
| 11 | "scripts": {
|
---|
| 12 | "build": "tsc",
|
---|
| 13 | "prettier:write": "prettier --write \"./**/*.{md,json,yaml,js,ts}\"",
|
---|
| 14 | "prettier:check": "prettier --list-different \"./**/*.{md,json,yaml,js,ts}\"",
|
---|
| 15 | "eslint": "eslint --ext .ts ./src/**/*",
|
---|
| 16 | "test-spec": "jest",
|
---|
| 17 | "test-cov": "jest --coverage",
|
---|
| 18 | "test": "npm run prettier:check && npm run build && npm run eslint && npm run test-cov",
|
---|
| 19 | "ci-test": "npm run test"
|
---|
| 20 | },
|
---|
| 21 | "repository": {
|
---|
| 22 | "type": "git",
|
---|
| 23 | "url": "git+https://github.com/ajv-validator/ajv-formats.git"
|
---|
| 24 | },
|
---|
| 25 | "keywords": [
|
---|
| 26 | "Ajv",
|
---|
| 27 | "JSON-Schema",
|
---|
| 28 | "format",
|
---|
| 29 | "validation"
|
---|
| 30 | ],
|
---|
| 31 | "author": "Evgeny Poberezkin",
|
---|
| 32 | "license": "MIT",
|
---|
| 33 | "bugs": {
|
---|
| 34 | "url": "https://github.com/ajv-validator/ajv-formats/issues"
|
---|
| 35 | },
|
---|
| 36 | "homepage": "https://github.com/ajv-validator/ajv-formats#readme",
|
---|
| 37 | "dependencies": {
|
---|
| 38 | "ajv": "^8.0.0"
|
---|
| 39 | },
|
---|
| 40 | "peerDependencies": {
|
---|
| 41 | "ajv": "^8.0.0"
|
---|
| 42 | },
|
---|
| 43 | "peerDependenciesMeta": {
|
---|
| 44 | "ajv": {
|
---|
| 45 | "optional": true
|
---|
| 46 | }
|
---|
| 47 | },
|
---|
| 48 | "devDependencies": {
|
---|
| 49 | "@ajv-validator/config": "^0.3.0",
|
---|
| 50 | "@types/jest": "^26.0.5",
|
---|
| 51 | "@types/node": "^14.10.1",
|
---|
| 52 | "@typescript-eslint/eslint-plugin": "^3.7.0",
|
---|
| 53 | "@typescript-eslint/parser": "^3.7.0",
|
---|
| 54 | "ajv": "^8.0.0",
|
---|
| 55 | "eslint": "^7.5.0",
|
---|
| 56 | "eslint-config-prettier": "^6.11.0",
|
---|
| 57 | "husky": "^4.2.5",
|
---|
| 58 | "jest": "^26.1.0",
|
---|
| 59 | "json-schema-test": "^2.0.0",
|
---|
| 60 | "lint-staged": "^10.2.11",
|
---|
| 61 | "prettier": "^2.0.5",
|
---|
| 62 | "ts-jest": "^26.1.3",
|
---|
| 63 | "typescript": "^4.0.0"
|
---|
| 64 | },
|
---|
| 65 | "prettier": "@ajv-validator/config/prettierrc.json",
|
---|
| 66 | "husky": {
|
---|
| 67 | "hooks": {
|
---|
| 68 | "pre-commit": "lint-staged && npm test"
|
---|
| 69 | }
|
---|
| 70 | },
|
---|
| 71 | "lint-staged": {
|
---|
| 72 | "*.{md,json,yaml,js,ts}": "prettier --write"
|
---|
| 73 | }
|
---|
| 74 | }
|
---|