|
11 | 11 | "dynamic element" |
12 | 12 | ], |
13 | 13 | "exports": { |
14 | | - ".": "./dist/index.js", |
15 | | - "./*": "./dist/*" |
| 14 | + ".": { |
| 15 | + "types": "./declarations/index.d.ts", |
| 16 | + "default": "./dist/index.js" |
| 17 | + }, |
| 18 | + "./*": { |
| 19 | + "types": "./declarations/*.d.ts", |
| 20 | + "default": "./dist/*" |
| 21 | + }, |
| 22 | + "./addon-main.js": "./addon-main.cjs" |
16 | 23 | }, |
17 | 24 | "files": [ |
18 | 25 | "dist", |
| 26 | + "declarations", |
19 | 27 | "addon-main.cjs", |
20 | 28 | "CHANGELOG.md", |
21 | 29 | "README.md" |
22 | 30 | ], |
23 | 31 | "scripts": { |
24 | 32 | "start": "concurrently 'npm:watch:*'", |
25 | 33 | "build": "concurrently 'npm:build:*'", |
26 | | - "build:js": "rollup -c ./rollup.config.js", |
| 34 | + "build:js": "rollup -c", |
27 | 35 | "build:docs": "cp ../README.md ./README.md", |
28 | 36 | "watch:js": "rollup -c --watch --no-watch.clearScreen", |
29 | 37 | "lint": "concurrently 'npm:lint:js'", |
|
44 | 52 | "@babel/plugin-proposal-class-properties": "7.18.6", |
45 | 53 | "@babel/plugin-syntax-decorators": "7.18.6", |
46 | 54 | "@babel/plugin-proposal-decorators": "7.18.6", |
47 | | - "@embroider/addon-dev": "1.8.3", |
| 55 | + "@babel/preset-typescript": "7.22.5", |
| 56 | + "@babel/runtime": "^7.22.6", |
| 57 | + "@embroider/addon-dev": "3.2.0", |
48 | 58 | "@nullvoxpopuli/eslint-configs": "2.2.36", |
| 59 | + "@rollup/plugin-babel": "6.0.3", |
| 60 | + "@rollup/plugin-node-resolve": "15.1.0", |
| 61 | + "@tsconfig/ember": "^3.0.0", |
| 62 | + "@types/rsvp": "^4.0.4", |
| 63 | + "@typescript-eslint/eslint-plugin": "^5.62.0", |
| 64 | + "@typescript-eslint/parser": "^5.62.0", |
49 | 65 | "concurrently": "7.2.2", |
| 66 | + "ember-source": "~4.12.3", |
50 | 67 | "eslint-config-prettier": "8.5.0", |
51 | 68 | "eslint-plugin-decorator-position": "5.0.0", |
52 | 69 | "eslint-plugin-ember": "10.6.1", |
|
55 | 72 | "eslint-plugin-node": "11.1.0", |
56 | 73 | "eslint-plugin-prettier": "4.2.1", |
57 | 74 | "eslint-plugin-simple-import-sort": "7.0.0", |
58 | | - "rollup": "2.77.0", |
| 75 | + "rollup": "3.26.3", |
59 | 76 | "babel-eslint": "10.1.0", |
60 | 77 | "eslint": "^7.0.0", |
61 | | - "@rollup/plugin-babel": "5.3.1" |
| 78 | + "typescript": "5.1.6" |
62 | 79 | }, |
63 | 80 | "publishConfig": { |
64 | 81 | "registry": "https://registry.npmjs.org" |
|
81 | 98 | "extends": "../package.json" |
82 | 99 | }, |
83 | 100 | "peerDependencies": { |
84 | | - "ember-source": "^3.8 || 4" |
| 101 | + "ember-source": "^3.8 || >= 4.0.0" |
85 | 102 | }, |
86 | 103 | "release-it": { |
87 | 104 | "plugins": { |
|
0 commit comments