-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
159 lines (159 loc) · 5.07 KB
/
package.json
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "@witchcraft/expressit",
"description": "A blazing fast, customizable, error-tolerant expression parser that creates safe to eval expressions + a few other goodies like autocomplete.",
"version": "0.2.2",
"types": "./dist/index.d.ts",
"type": "module",
"module": "./dist/index.js",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./ast": {
"types": "./dist/ast/index.d.ts",
"import": "./dist/ast/index.js"
},
"./ast/*": {
"types": "./dist/ast/*",
"import": "./dist/ast/*"
},
"./internal": {
"types": "./dist/internal/index.d.ts",
"import": "./dist/internal/index.js"
},
"./internal/*": {
"types": "./dist/internal/*",
"import": "./dist/internal/*"
},
"./methods": {
"types": "./dist/methods/index.d.ts",
"import": "./dist/methods/index.js"
},
"./methods/*": {
"types": "./dist/methods/*",
"import": "./dist/methods/*"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.js"
},
"./utils/*": {
"types": "./dist/utils/*",
"import": "./dist/utils/*"
},
"./examples": {
"types": "./dist/examples/index.d.ts",
"import": "./dist/examples/index.js"
},
"./examples/*": {
"types": "./dist/examples/*",
"import": "./dist/examples/*"
},
"./*": {
"types": "./dist/types/*",
"import": "./dist/types/*"
}
},
"scripts": {
"debug": "ts-node -r tsconfig-paths/register -T --esm",
"build": "vite build",
"build:dev": "vite build --mode development",
"build:watch": "vite build --watch --mode production",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.types.json",
"lint:eslint": "eslint \"{src,tests,bin}/**/*.{cjs,js,ts}\" \"*.{cjs,js,ts}\" --max-warnings=1 --report-unused-disable-directives",
"lint:types": "tsc --noEmit --pretty",
"lint:commits": "commitlint --from $(git rev-list --max-parents=0 HEAD) --to HEAD --verbose",
"lint:imports": "madge --circular --extensions ts ./src",
"lint": "npm run lint:types && npm run lint:eslint",
"coverage": "vitest --exclude '.direnv/**/*' --coverage",
"coverage:dev": "vitest --exclude '.direnv/**/*' --watch --coverage",
"test:db": "rm -rf ./tests/db/migrations && pnpm drizzle-kit generate --config ./tests/db/drizzle.config.ts",
"test": "pnpm test:db && npm run lint:types && vitest run --exclude '.direnv/**/*'",
"test:watch": "pnpm test:db && vitest --watch --exclude '.direnv/**/*'",
"test:inspect-errors": "cross-env INSPECT_ERRORS=true npm run test",
"doc": "typedoc --options typedoc.config.js",
"doc:watch": "onchange -i \"src/**/*.ts\" \"typedoc.config.cjs\" -- npm run doc",
"doc:serve": "http-server docs --port=5001",
"doc:dev": "concurrently \"npm run doc:watch\" \"npm run doc:serve\"",
"doc:check-invalid": "typedoc --options typedoc.config.cjs --listInvalidSymbolLinks",
"demo:dev": "cd demo && concurrently \"vite\" \"npm run build:watch\"",
"demo:build": "cd demo && npm run build",
"actions:debug": "act -r -v -j release",
"gen:exports": "indexit update -o '${path}.js' -i **/*.d.ts",
"prepare": "husky && npm run build"
},
"dependencies": {
"@alanscodelog/utils": "^4.0.0"
},
"devDependencies": {
"@alanscodelog/commitlint-config": "^3.0.1",
"@alanscodelog/eslint-config": "5.0.3",
"@alanscodelog/semantic-release-config": "^5.0.3",
"@alanscodelog/tsconfigs": "^5.0.1",
"@commitlint/cli": "^19.6.1",
"@electric-sql/pglite": "^0.2.12",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.30.1",
"drizzle-orm": "^0.38.2",
"fast-glob": "^3.3.1",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"indexit": "2.1.0-beta.3",
"madge": "^8.0.0",
"onchange": "^7.1.0",
"semantic-release": "^24.2.0",
"ts-node": "^10.9.1",
"typedoc": "0.27.5",
"typescript": "~5.7.2",
"vite": "^6.0.2",
"vite-plugin-externalize-deps": "^0.8.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"author": "Alan <[email protected]>",
"repository": "https://github.com/witchcraftjs/expressit",
"keywords": [
"boolean",
"parser",
"query",
"evaluator",
"expression",
"condition",
"search"
],
"license": "MIT",
"files": [
"src",
"dist"
],
"release": {
"extends": [
"@alanscodelog/semantic-release-config"
]
},
"commitlint": {
"extends": [
"@alanscodelog"
]
},
"browserslist": "defaults and supports es6-module,maintained node versions",
"engines": {
"node": ">=18.0.0"
},
"@comments": {
"scripts": {
"test": "Runs `lint:types` before (so that flags can be passed to the test command) so that we can test type assertions. See expect_type function in @alanscodelog/utils.",
"lint:commits": "Lints all unpushed commits in the active branch.",
"prepare": "Needed so that if we pull the package from git it will get built and installed properly.",
"actions:debug": "For debugging github build action locally with nektos/act. Requires act and docker. Note: Cache will never work locally because of https://github.com/nektos/act/issues/285"
}
},
"publishConfig": {
"access": "public"
}
}