Permalink
Browse files

Simplify Unicode build scripts and add Cased_Letter (#220)

* Rewrite/simplify Unicode build scripts -- @mathiasbynens

This uses node-unicode-data instead of Python scripts, reducing the
need to maintain the Unicode data parser as part of this repository.

* Run eslint on tools/scripts and fix lint errors -- @josephfrazier

* Provide only binary properties for UTS 18 Level 1 RL1.2 requirements for Unicode regex support -- @josephfrazier
  • Loading branch information...
mathiasbynens authored and slevithan committed Feb 17, 2018
1 parent d2e7319 commit 23cd56895701ab0e60e70cfc9dd2193058549f2a
View
@@ -1,2 +1,4 @@
xregexp-all.js
lib
tests/perf/versions
tests/vendor
View
@@ -23,8 +23,9 @@
"LICENSE"
],
"scripts": {
"lint": "eslint src tests",
"lint": "eslint .",
"babel": "babel src -d lib",
"build-unicode-data": "node tools/scripts/block-regex.js && node tools/scripts/category-regex.js && node tools/scripts/property-regex.js && node tools/scripts/script-regex.js",
"prebuild": "npm run lint && npm run babel",
"build": "browserify lib/index.js --standalone XRegExp > xregexp-all.js",
"pretest": "npm run build",
@@ -42,6 +43,9 @@
"browserify": "^12.0.1",
"eslint": "^3.19.0",
"jasmine": "^2.5.3",
"jsesc": "^2.5.1",
"unicode-9.0.0": "^0.7.4",
"unicode-property-value-aliases": "^3.0.0",
"zuul": "^3.11.1"
}
}
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 23cd568

Please sign in to comment.