forked from msironi/expr-eval
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.44 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.44 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
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
{
"name": "@pro-fa/expr-eval",
"version": "6.3.1",
"description": "Mathematical expression evaluator",
"keywords": [
"expression",
"math",
"evaluate",
"eval",
"function",
"parser"
],
"homepage": "https://github.com/Pro-Fa/expr-eval#readme",
"bugs": {
"url": "https://github.com/Pro-Fa/expr-eval/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pro-Fa/expr-eval.git"
},
"license": "MIT",
"author": "Matthew Crumley, Mark Sironi, Sander Toonen",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=18.0.0"
},
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/bundle.js"
}
},
"directories": {
"test": "test"
},
"files": [
"dist/"
],
"scripts": {
"test": "npm run build && vitest run",
"test:ts:watch": "vitest --testNamePattern=partial",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"coverage": "npm run build && vitest run --coverage",
"test:typecheck": "vitest typecheck",
"bench": "npm run build && tsx benchmarks/index.bench.ts",
"bench:detailed": "npm run build && tsx benchmarks/index.bench.ts",
"bench:parsing": "npm run build && vitest run benchmarks/parsing.bench.ts",
"bench:evaluation": "npm run build && vitest run benchmarks/evaluation.bench.ts",
"bench:memory": "npm run build && vitest run benchmarks/memory.bench.ts",
"bench:ci": "npm run build && tsx benchmarks/index.bench.ts",
"lint": "eslint **/*.ts --ignore-pattern parser.d.ts",
"tsgo": "tsgo",
"type-check": "tsgo --noEmit",
"build:types": "tsgo -p tsconfig.build.json --emitDeclarationOnly",
"build:esm": "cross-env BUILD_TARGET=esm vite build",
"build:umd": "cross-env BUILD_TARGET=umd vite build",
"build:umd-min": "cross-env BUILD_TARGET=umd-min vite build",
"build:js": "npm run build:esm && npm run build:umd && npm run build:umd-min",
"build": "npm run build:js",
"watch": "cross-env BUILD_TARGET=esm vite build --watch",
"clean": "rimraf dist",
"prepublish": "npm run build",
"playground": "npm run build:umd && node samples/language-service-sample/serve-sample.cjs"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@rollup/plugin-typescript": "^12.1.4",
"@types/node": "^24.5.2",
"@typescript/native-preview": "^7.0.0-dev.20250920.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-promise": "^7.0.0",
"rimraf": "^6.0.1",
"terser": "^5.44.1",
"tinybench": "^5.0.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"typescript-eslint": "^8.15.0",
"vite": "^6.0.1",
"vite-plugin-dts": "^4.3.0",
"vitest": "^3.2.4",
"vscode-languageserver-types": "^3.17.5"
},
"bundlesize": [
{
"path": "./dist/bundle.min.js",
"maxSize": "50kb"
},
{
"path": "./dist/index.mjs",
"maxSize": "80kb"
}
],
"dependencies": {
"vscode-languageserver-textdocument": "^1.0.12"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}