99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
|
{
|
||
|
"name": "yup",
|
||
|
"version": "0.26.10",
|
||
|
"description": "Dead simple Object schema validation",
|
||
|
"main": "lib/index.js",
|
||
|
"runkitExampleFilename": "./runkit-example.js",
|
||
|
"scripts": {
|
||
|
"test": "npm run lint && npm run test-all -- --runInBand",
|
||
|
"testonly": "jest",
|
||
|
"test-all": "npm run testonly -- --projects ./jest-sync.config.json --projects ./package.json",
|
||
|
"tdd": "jest --watch",
|
||
|
"lint": "eslint src test",
|
||
|
"precommit": "lint-staged",
|
||
|
"toc": "doctoc README.md --github",
|
||
|
"release": "rollout",
|
||
|
"build": "babel src --out-dir lib --delete-dir-on-start && npm run toc",
|
||
|
"prepublishOnly": "npm run build"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/jquense/yup.git"
|
||
|
},
|
||
|
"author": "@monasticpanic Jason Quense",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/jquense/yup/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/jquense/yup",
|
||
|
"release": {
|
||
|
"conventional-commits": true
|
||
|
},
|
||
|
"prettier": {
|
||
|
"singleQuote": true,
|
||
|
"trailingComma": "all"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{js,json,css,md}": [
|
||
|
"prettier --write",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"jest": {
|
||
|
"globals": {
|
||
|
"YUP_USE_SYNC": true
|
||
|
},
|
||
|
"testEnvironment": "node",
|
||
|
"setupTestFrameworkScriptFile": "./test-setup.js",
|
||
|
"roots": [
|
||
|
"test"
|
||
|
],
|
||
|
"testRegex": "\\.js",
|
||
|
"testPathIgnorePatterns": [
|
||
|
"helpers\\.js"
|
||
|
]
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@4c/rollout": "^1.1.0",
|
||
|
"@babel/cli": "7.0.0",
|
||
|
"@babel/core": "7.0.0",
|
||
|
"babel-core": "^7.0.0-bridge.0",
|
||
|
"babel-eslint": "^9.0.0",
|
||
|
"babel-jest": "^22.4.3",
|
||
|
"babel-preset-jason": "^6.0.1",
|
||
|
"benchmark": "^2.0.0",
|
||
|
"chai": "^4.1.2",
|
||
|
"chai-as-promised": "^7.1.1",
|
||
|
"dirty-chai": "^2.0.1",
|
||
|
"doctoc": "^1.3.1",
|
||
|
"eslint": "^4.19.1",
|
||
|
"eslint-config-jason": "^4.0.1",
|
||
|
"eslint-config-prettier": "^3.0.1",
|
||
|
"eslint-plugin-import": "^2.14.0",
|
||
|
"eslint-plugin-jest": "^21.22.0",
|
||
|
"eslint-plugin-react": "^7.11.1",
|
||
|
"husky": "^0.14.3",
|
||
|
"jest": "^22.4.3",
|
||
|
"lint-staged": "^7.2.2",
|
||
|
"prettier": "^1.13.7",
|
||
|
"rollup": "^0.65.0",
|
||
|
"rollup-plugin-babel": "^4.0.2",
|
||
|
"rollup-plugin-filesize": "^4.0.1",
|
||
|
"rollup-plugin-node-resolve": "^3.3.0",
|
||
|
"rollup-plugin-size-snapshot": "^0.6.1",
|
||
|
"sinon": "^6.1.5",
|
||
|
"sinon-chai": "^3.2.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@babel/runtime": "7.0.0",
|
||
|
"fn-name": "~2.0.1",
|
||
|
"lodash": "^4.17.10",
|
||
|
"property-expr": "^1.5.0",
|
||
|
"synchronous-promise": "^2.0.5",
|
||
|
"toposort": "^2.0.2"
|
||
|
}
|
||
|
}
|