|
2 | 2 | "name": "json-rules-engine",
|
3 | 3 | "version": "8.0.0-alpha.1",
|
4 | 4 | "description": "Rules Engine expressed in simple json",
|
5 |
| - "main": "dist/index.js", |
| 5 | + "main": "dist/index.cjs", |
| 6 | + "module": "dist/index.js", |
6 | 7 | "types": "types/index.d.ts",
|
7 | 8 | "type": "module",
|
8 | 9 | "engines": {
|
|
12 | 13 | "test": "vitest --typecheck",
|
13 | 14 | "lint": "eslint",
|
14 | 15 | "format": "prettier -w .",
|
15 |
| - "prepublishOnly": "npm run build", |
16 |
| - "build": "babel --stage 1 -d dist/ src/", |
17 |
| - "watch": "babel --watch --stage 1 -d dist/ src", |
| 16 | + "build": "tsup", |
| 17 | + "watch": "tsup --watch", |
18 | 18 | "examples": "./test/support/example_runner.sh"
|
19 | 19 | },
|
20 | 20 | "repository": {
|
|
40 | 40 | "homepage": "https://github.com/cachecontrol/json-rules-engine",
|
41 | 41 | "devDependencies": {
|
42 | 42 | "@eslint/js": "^9.13.0",
|
43 |
| - "babel-cli": "6.26.0", |
44 |
| - "babel-core": "6.26.3", |
45 |
| - "babel-eslint": "10.1.0", |
46 |
| - "babel-loader": "8.2.2", |
47 |
| - "babel-polyfill": "6.26.0", |
48 |
| - "babel-preset-es2015": "~6.24.1", |
49 |
| - "babel-preset-stage-0": "~6.24.1", |
50 |
| - "babel-register": "6.26.0", |
51 |
| - "colors": "~1.4.0", |
52 |
| - "dirty-chai": "2.0.1", |
53 | 43 | "eslint": "^9.13.0",
|
54 | 44 | "globals": "^15.11.0",
|
55 | 45 | "lodash": "4.17.21",
|
56 | 46 | "perfy": "^1.1.5",
|
57 | 47 | "prettier": "^3.3.3",
|
58 | 48 | "tsd": "^0.17.0",
|
| 49 | + "tsup": "^8.3.0", |
59 | 50 | "typescript": "^5.6.3",
|
60 | 51 | "typescript-eslint": "^8.11.0",
|
61 | 52 | "vitest": "^2.1.3"
|
|
0 commit comments