non-4byte-chars-pattern
Version:
A pattern of HTML `input` element to restrict use of UTF-8 4-byte characters
53 lines (52 loc) • 1.22 kB
JSON
{
"name": "non-4byte-chars-pattern",
"version": "0.0.1",
"description": "A pattern of HTML `input` element to restrict use of UTF-8 4-byte characters",
"repository": "shinnn/non-4byte-chars-pattern",
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"prebuild": "eslint --fix --format=codeframe module.js test.js",
"build": "rollup --config=node:module --no-strict",
"pretest": "npm run-script build",
"test": "istanbul cover test.js"
},
"license": "Unlicense",
"module": "module.js",
"jsnext:main": "module.js",
"files": [
"index.js",
"module.js"
],
"keywords": [
"pattern",
"restrict",
"restriction",
"unicode",
"utf-8",
"byte",
"4byte",
"utfmb4",
"emoji",
"attribute",
"validate",
"validation",
"input",
"form"
],
"dependencies": {
"non-4byte-chars-regex": "^1.0.0"
},
"devDependencies": {
"@shinnn/eslint-config": "^3.3.2",
"eslint": "^3.9.1",
"hyperform": "^0.8.10",
"istanbul": "^0.4.5",
"jsdom": "^9.8.3",
"rollup": "^0.36.3",
"rollup-config-module": "^1.0.0",
"tape": "^4.6.2"
},
"eslintConfig": {
"extends": "@shinnn"
}
}