one-schema
Version:
one-schema object validator
83 lines (82 loc) • 2.17 kB
JSON
{
"name": "one-schema",
"version": "0.7.0",
"description": "one-schema object validator",
"license": "MIT",
"repository": "tiancai-hq/one-schema",
"main": "dist/index.js",
"author": {
"name": "Tiancai",
"email": "hello@tiancai.pro",
"url": "https://tiancai.pro"
},
"files": [
"dist",
"src"
],
"scripts": {
"test": "jest --config=jest.json",
"coverage": "yarn test -- --coverage",
"postcoverage": "open-cli coverage/lcov-report/index.html",
"lint": "eslint .",
"lintfix": "eslint --fix \"src/**/*.ts\"",
"docs": "documentation readme src --section=API",
"postdocs": "git add README.md",
"clean": "rimraf dist",
"prebuild": "yarn run clean",
"build": "tsc --project tsconfig.json",
"prerelease": "yarn run lint && yarn test && yarn run build",
"release": "standard-version",
"releaseminor": "standard-version --release-as minor",
"postpublish": "git push origin master --follow-tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"keywords": [
"one",
"schema",
"oneschema",
"ons",
"tiancai",
"tcai"
],
"dependencies": {
"standard-version": "9.3.0"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/preset-env": "7.4.5",
"@babel/preset-typescript": "7.14.5",
"@types/jest": "26.0.24",
"@typescript-eslint/eslint-plugin": "4.28.4",
"@typescript-eslint/parser": "4.28.4",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"documentation": "11.0.1",
"eslint": "7.31.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "5.0.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-prettier": "3.1.0",
"husky": "2.4.1",
"lint-staged": "8.2.1",
"open-cli": "5.0.0",
"prettier": "1.18.2",
"rimraf": "2.6.3",
"ts-jest": "27.0.4",
"jest": "27.0.6",
"typescript": "4.3.5"
}
}