seqex 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "seqex",
3
+ "version": "0.1.1",
4
+ "description": "Regex-like pattern matching for arbitrary sequences using predicate functions",
5
+ "keywords": [
6
+ "matching",
7
+ "nfa",
8
+ "pattern",
9
+ "predicate",
10
+ "regex",
11
+ "scanner",
12
+ "sequence",
13
+ "streaming"
14
+ ],
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/dawsonbooth/seqex.git"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "type": "module",
24
+ "main": "./dist/index.cjs",
25
+ "module": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js",
31
+ "require": "./dist/index.cjs"
32
+ }
33
+ },
34
+ "scripts": {
35
+ "clean": "rm -rf dist",
36
+ "build": "bun run clean && bun run build:esm && bun run build:cjs && bun run build:types",
37
+ "build:esm": "bun build src/index.ts --outdir dist --format esm --sourcemap=external",
38
+ "build:cjs": "bun build src/index.ts --outdir dist --format cjs --sourcemap=external --entry-naming='[dir]/[name].cjs'",
39
+ "build:types": "tsgo -p tsconfig.build.json",
40
+ "prepublishOnly": "bun run build",
41
+ "test": "bun test",
42
+ "test:coverage": "bun test --coverage --coverage-reporter=lcov --coverage-dir=coverage",
43
+ "format": "oxfmt",
44
+ "lint:format": "oxfmt --check",
45
+ "lint:code": "oxlint",
46
+ "lint:types": "tsgo --noEmit"
47
+ },
48
+ "devDependencies": {
49
+ "@typescript/native-preview": "^7.0.0-dev.20260225.1",
50
+ "bun-types": "latest",
51
+ "oxfmt": "^0.35.0",
52
+ "oxlint": "^1.50.0"
53
+ }
54
+ }