-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "lockstep",
"version": "0.1.0",
"description": "A regular expression engine that cannot backtrack: linear time in the input, no matter what the pattern",
"type": "module",
"license": "MIT",
"author": "Aminyx",
"repository": {
"type": "git",
"url": "git+https://github.com/aminyx/lockstep.git"
},
"keywords": [
"regex",
"regular-expressions",
"nfa",
"thompson",
"pike-vm",
"redos",
"linear-time"
],
"bin": {
"lockstep": "./dist/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"bench": "tsx bench/redos.ts",
"fuzz": "tsx tests/fuzz.ts",
"lint": "eslint src bench tests",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc -p tsconfig.check.json",
"check": "npm run format:check && npm run lint && npm run typecheck && npm run test && npm run bench",
"hooks": "git config core.hooksPath .githooks",
"playground:dev": "vite playground",
"playground:build": "vite build playground",
"prepublishOnly": "npm run build"
},
"dependencies": {},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/node": "^22.10.0",
"eslint": "^9.17.0",
"prettier": "^3.4.2",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"vite": "^6.0.3",
"vitest": "^2.1.8"
}
}