UNPKG

@anypoint-web-components/validator-mixin

Version:
90 lines (89 loc) 2.46 kB
{ "name": "@anypoint-web-components/validator-mixin", "description": "A mixin to implement custom input validator", "version": "1.1.2", "license": "Apache-2.0", "main": "index.js", "module": "index.js", "keywords": [ "api-components", "arc-components", "forms", "validation", "web-components" ], "authors": [ "Pawel Psztyc" ], "contributors": [ "Your name can be here!" ], "repository": { "type": "git", "url": "git://github.com/anypoint-web-components/validator-mixin.git" }, "bugs": { "url": "https://github.com/anypoint-web-components/validator-mixin/issues", "email": "arc@mulesoft.com" }, "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0" }, "devDependencies": { "@advanced-rest-client/arc-demo-helper": "^1.0.17", "@open-wc/eslint-config": "^2.1.0", "@open-wc/testing": "^2.5.32", "@web/dev-server": "^0.1.8", "@web/test-runner": "^0.12.15", "@web/test-runner-playwright": "^0.8.4", "eslint": "^7.21.0", "eslint-config-prettier": "^8.1.0", "husky": "^4.3.8", "lint-staged": "^10.5.4", "lit-element": "^2.4.0", "lit-html": "^1.3.0", "sinon": "^9.2.4", "typescript": "^4.2.2", "typescript-lit-html-plugin": "^0.9.0" }, "scripts": { "start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .", "lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore", "format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore", "lint:types": "tsc", "lint": "npm run lint:eslint", "format": "npm run format:eslint", "test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit", "test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium" }, "eslintConfig": { "extends": [ "@open-wc/eslint-config", "eslint-config-prettier" ], "overrides": [ { "files": [ "**/demo/**/*.js", "**/demo/**/*.html" ], "rules": { "no-console": "off", "no-unused-expressions": "off", "class-methods-use-this": "off", "import/no-extraneous-dependencies": "off" } } ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "eslint --fix" ] } }