UNPKG

@stephen-riley/pcre2-wasm

Version:

PCRE2 (Perl Compatible Regular Expressions 2) compiled to WebAssembly

54 lines (53 loc) 1.65 kB
{ "name": "@stephen-riley/pcre2-wasm", "version": "1.2.4", "description": "PCRE2 (Perl Compatible Regular Expressions 2) compiled to WebAssembly", "main": "dist/lib/PCRE.js", "files": [ "dist", "wasm" ], "scripts": { "build": "rimraf dist && make && babel -s inline -D src -d dist", "lightclean": "rimraf dist", "clean": "rimraf dist coverage .nyc_output deps/build", "lint": "eslint src test", "prepare": "npm run build", "prepublishOnly": "npm test", "preversion": "npm test && npm run lint", "test": "make && cross-env NODE_ENV=test mocha --exit --require '@babel/register' --throw-deprecation test/", "test:coverage": "make && cross-env NODE_ENV=test nyc mocha", "test:watch": "chokidar src test mock fixtures Makefile --initial -c 'npm t'" }, "repository": { "type": "git", "url": "git+https://github.com/stephen-riley/pcre2-wasm.git" }, "keywords": [ "pcre", "pcre2", "perl", "regex" ], "author": "Stephen Riley <jstephen.riley@yahoo.com> (https://github.com/stephen-riley)", "license": "MIT", "bugs": { "url": "https://github.com/stephen-riley/pcre2-wasm/issues" }, "homepage": "https://github.com/stephen-riley/pcre2-wasm#readme", "devDependencies": { "@babel/cli": "^7.8.3", "@babel/core": "^7.8.3", "@babel/node": "^7.8.3", "@babel/preset-env": "^7.8.3", "@babel/register": "^7.8.3", "babel-eslint": "^8.2.6", "babel-plugin-istanbul": "^4.1.6", "chokidar-cli": "^1.2.3", "cross-env": "^5.2.1", "eslint": "^5.16.0", "mocha": "^6.2.2", "nyc": "^12.0.2", "rimraf": "^2.7.1" } }