|
8 | 8 | "directory": "packages/structure" |
9 | 9 | }, |
10 | 10 | "license": "MIT", |
| 11 | + "type": "module", |
| 12 | + "exports": { |
| 13 | + ".": { |
| 14 | + "types": "./dist/index.d.ts", |
| 15 | + "default": "./dist/index.js" |
| 16 | + }, |
| 17 | + "./dist/index.js": { |
| 18 | + "types": "./dist/index.d.ts", |
| 19 | + "default": "./dist/index.js" |
| 20 | + }, |
| 21 | + "./dist/model/RWProject": { |
| 22 | + "types": "./dist/model/RWProject.d.ts", |
| 23 | + "default": "./dist/model/RWProject.js" |
| 24 | + }, |
| 25 | + "./dist/model/RWProject.js": { |
| 26 | + "types": "./dist/model/RWProject.d.ts", |
| 27 | + "default": "./dist/model/RWProject.js" |
| 28 | + }, |
| 29 | + "./dist/model/RWRoute": { |
| 30 | + "types": "./dist/model/RWRoute.d.ts", |
| 31 | + "default": "./dist/model/RWRoute.js" |
| 32 | + }, |
| 33 | + "./dist/model/RWRoute.js": { |
| 34 | + "types": "./dist/model/RWRoute.d.ts", |
| 35 | + "default": "./dist/model/RWRoute.js" |
| 36 | + }, |
| 37 | + "./dist/model/RWPage.js": { |
| 38 | + "types": "./dist/model/RWPage.d.ts", |
| 39 | + "default": "./dist/model/RWPage.js" |
| 40 | + } |
| 41 | + }, |
11 | 42 | "main": "dist/index.js", |
12 | 43 | "types": "./dist/index.d.ts", |
13 | 44 | "files": [ |
14 | 45 | "dist" |
15 | 46 | ], |
16 | 47 | "scripts": { |
17 | | - "build": "yarn build:js && yarn build:types", |
18 | | - "build:js": "babel src -d dist --extensions \".js,.jsx,.ts,.tsx\"", |
| 48 | + "build": "tsc -p tsconfig.json", |
19 | 49 | "build:pack": "yarn pack -o cedarjs-structure.tgz", |
20 | | - "build:types": "tsc --build --verbose", |
21 | | - "build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"", |
| 50 | + "build:watch": "tsc -p tsconfig.json --watch", |
22 | 51 | "prepublishOnly": "NODE_ENV=production yarn build", |
23 | 52 | "prettier": "prettier --write './src/**/*.{ts,tsx}'", |
24 | 53 | "test": "vitest run", |
25 | 54 | "test:watch": "vitest watch" |
26 | 55 | }, |
27 | 56 | "dependencies": { |
28 | | - "@babel/runtime-corejs3": "7.29.0", |
29 | 57 | "@cedarjs/project-config": "workspace:*", |
30 | 58 | "@prisma/internals": "7.5.0", |
31 | 59 | "@types/line-column": "1.0.2", |
32 | 60 | "camelcase": "6.3.0", |
33 | | - "core-js": "3.48.0", |
34 | 61 | "deepmerge": "4.3.1", |
35 | 62 | "dotenv-defaults": "5.0.2", |
36 | | - "enquirer": "2.4.1", |
37 | 63 | "graphql": "16.13.1", |
38 | | - "lazy-get-decorator": "2.2.1", |
39 | 64 | "line-column": "1.0.2", |
40 | 65 | "lodash": "4.17.23", |
41 | | - "lodash-decorators": "6.0.1", |
42 | 66 | "lru-cache": "11.2.7", |
43 | 67 | "smol-toml": "1.6.0", |
44 | 68 | "ts-morph": "23.0.0", |
45 | 69 | "yargs-parser": "21.1.1" |
46 | 70 | }, |
47 | 71 | "devDependencies": { |
48 | | - "@babel/cli": "7.28.6", |
49 | | - "@babel/core": "^7.26.10", |
50 | 72 | "@types/lodash": "4.17.24", |
51 | 73 | "@types/node": "24.10.4", |
52 | 74 | "typescript": "5.9.3", |
|
0 commit comments