elearning/Frontend-Learner/node_modules/scslre/package.json
2026-01-13 10:48:02 +07:00

66 lines
2.1 KiB
JSON

{
"name": "scslre",
"version": "0.3.0",
"description": "A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.",
"main": "index",
"scripts": {
"check": "npm run lint && npx tsc --noEmit && cd tests && npx tsc --noEmit",
"lint": "npx eslint --ignore-path .gitignore **/*.ts",
"test": "cd tests && mocha -r ts-node/register '**/*.ts'",
"build": "npx rimraf ./index.* .out/** && npx tsc && rollup -c && npm run build:dts && npm run build:docs",
"build:dts": "dts-bundle --main ./.out/index.d.ts --name scslre --out ../index.d.ts && prettier ./index.d.ts --write",
"build:docs": "typedoc",
"coverage": "npx nyc --reporter=html --reporter=text npm run test",
"update-docs-branch": "git checkout docs && git merge master && npm run build:docs && git add * && git commit -m \"Task: Updated docs\" && git push && git checkout master",
"prepublishOnly": "npm run build"
},
"keywords": [
"regex",
"regexp",
"backtracking",
"polynomial",
"exponential"
],
"author": "Michael Schmidt",
"homepage": "https://github.com/RunDevelopment/scslre#readme",
"repository": {
"type": "git",
"url": "https://github.com/RunDevelopment/scslre.git"
},
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^12.12.31",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"chai": "^4.3.7",
"dts-bundle": "^0.7.3",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.7",
"rimraf": "^3.0.2",
"rollup": "^2.31.0",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^8.8.1",
"typedoc": "^0.24.8",
"typescript": "5.0"
},
"dependencies": {
"@eslint-community/regexpp": "^4.8.0",
"refa": "^0.12.0",
"regexp-ast-analysis": "^0.7.0"
},
"files": [
"index.js",
"index.mjs",
"index.d.ts"
],
"engines": {
"node": "^14.0.0 || >=16.0.0"
}
}