63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
|
{
|
||
|
"name": "xregexp",
|
||
|
"version": "4.4.1",
|
||
|
"description": "Extended regular expressions",
|
||
|
"homepage": "http://xregexp.com/",
|
||
|
"author": "Steven Levithan <steves_list@hotmail.com>",
|
||
|
"license": "MIT",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/slevithan/xregexp.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"regex",
|
||
|
"regexp",
|
||
|
"regular expression",
|
||
|
"unicode"
|
||
|
],
|
||
|
"browser": "./lib/index.js",
|
||
|
"main": "./lib/index.js",
|
||
|
"module": "./src/index.js",
|
||
|
"files": [
|
||
|
"src",
|
||
|
"lib",
|
||
|
"tools/output",
|
||
|
"xregexp-all.js",
|
||
|
"types/index.d.ts"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"lint": "eslint . && npm run dtslint",
|
||
|
"dtslint": "dtslint types",
|
||
|
"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 build-unicode-data && npm run lint && npm run babel",
|
||
|
"build": "browserify lib/index.js --standalone XRegExp > xregexp-all.js",
|
||
|
"pretest": "npm run build",
|
||
|
"test": "jasmine JASMINE_CONFIG_PATH=tests/jasmine.json",
|
||
|
"test-saucelabs": "npm run pretest && zuul tests/spec/*.js",
|
||
|
"test-browser": "npm run test-saucelabs -- --local --open",
|
||
|
"prepublish": "npm test"
|
||
|
},
|
||
|
"types": "types",
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.12.1",
|
||
|
"@babel/core": "^7.12.3",
|
||
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
||
|
"@babel/preset-env": "^7.12.1",
|
||
|
"@unicode/unicode-13.0.0": "^1.0.2",
|
||
|
"babel-plugin-add-module-exports": "^1.0.4",
|
||
|
"babel-plugin-array-includes": "^2.0.3",
|
||
|
"babel-plugin-transform-xregexp": "^1.0.0",
|
||
|
"browserify": "^17.0.0",
|
||
|
"dtslint": "^2.0.5",
|
||
|
"eslint": "^7.12.1",
|
||
|
"jasmine": "^3.6.2",
|
||
|
"jsesc": "^3.0.1",
|
||
|
"unicode-property-value-aliases": "^3.5.0",
|
||
|
"zuul": "^3.12.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@babel/runtime-corejs3": "^7.12.1"
|
||
|
}
|
||
|
}
|