|
2 | 2 | "name": "json-rules-engine", |
3 | 3 | "version": "7.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 | "scripts": { |
9 | 10 | "test": "vitest --typecheck", |
10 | 11 | "lint": "eslint", |
11 | 12 | "format": "prettier -w .", |
12 | | - "prepublishOnly": "npm run build", |
13 | | - "build": "babel --stage 1 -d dist/ src/", |
14 | | - "watch": "babel --watch --stage 1 -d dist/ src", |
| 13 | + "build": "tsup", |
| 14 | + "watch": "tsup --watch", |
15 | 15 | "examples": "./test/support/example_runner.sh" |
16 | 16 | }, |
17 | 17 | "repository": { |
|
37 | 37 | "homepage": "https://github.com/cachecontrol/json-rules-engine", |
38 | 38 | "devDependencies": { |
39 | 39 | "@eslint/js": "^9.13.0", |
40 | | - "babel-cli": "6.26.0", |
41 | | - "babel-core": "6.26.3", |
42 | | - "babel-eslint": "10.1.0", |
43 | | - "babel-loader": "8.2.2", |
44 | | - "babel-polyfill": "6.26.0", |
45 | | - "babel-preset-es2015": "~6.24.1", |
46 | | - "babel-preset-stage-0": "~6.24.1", |
47 | | - "babel-register": "6.26.0", |
48 | | - "colors": "~1.4.0", |
49 | | - "dirty-chai": "2.0.1", |
50 | 40 | "eslint": "^9.13.0", |
51 | 41 | "globals": "^15.11.0", |
52 | 42 | "lodash": "4.17.21", |
53 | 43 | "perfy": "^1.1.5", |
54 | 44 | "prettier": "^3.3.3", |
55 | 45 | "tsd": "^0.17.0", |
| 46 | + "tsup": "^8.3.0", |
56 | 47 | "typescript": "^5.6.3", |
57 | 48 | "typescript-eslint": "^8.11.0", |
58 | 49 | "vitest": "^2.1.3" |
|
0 commit comments