|
2 | 2 | "name": "@classmethod/athena-query",
|
3 | 3 | "version": "1.0.1",
|
4 | 4 | "description": "Athena-Query makes it easier to execute SQL queries on Amazon Athena by consolidating & abstracting several methods in the AWS SDK",
|
5 |
| - "main": "./dist/index.cjs.js", |
6 |
| - "module": "./dist/index.esm.mjs", |
| 5 | + "main": "./dist/index.cjs", |
| 6 | + "module": "./dist/index.mjs", |
7 | 7 | "types": "./dist/index.d.ts",
|
8 | 8 | "author": "Classmethod, Inc.",
|
9 | 9 | "license": "MIT",
|
|
28 | 28 | "dist",
|
29 | 29 | "lib"
|
30 | 30 | ],
|
| 31 | + "exports": { |
| 32 | + ".": { |
| 33 | + "types": "./dist/index.d.ts", |
| 34 | + "require": "./dist/index.cjs", |
| 35 | + "import": "./dist/index.mjs" |
| 36 | + } |
| 37 | + }, |
31 | 38 | "scripts": {
|
32 |
| - "build": "rm -rf dist && rollup -c", |
33 |
| - "format": "prettier -w .", |
| 39 | + "build": "unbuild", |
| 40 | + "format": "prettier -c .", |
34 | 41 | "test": "vitest",
|
35 | 42 | "prepare": "husky install"
|
36 | 43 | },
|
37 | 44 | "devDependencies": {
|
38 | 45 | "@aws-sdk/client-athena": "^3.218.0",
|
39 |
| - "@rollup/plugin-commonjs": "^24.0.0", |
40 |
| - "@rollup/plugin-typescript": "^11.0.0", |
41 | 46 | "@types/node": "^18.11.9",
|
42 | 47 | "aws-sdk-client-mock": "^2.0.1",
|
43 | 48 | "concurrently": "^7.6.0",
|
44 | 49 | "husky": "^8.0.3",
|
45 | 50 | "prettier": "^2.8.0",
|
46 |
| - "rollup": "^3.5.0", |
47 |
| - "tslib": "^2.4.1", |
48 | 51 | "typescript": "^4.9.3",
|
| 52 | + "unbuild": "^1.1.1", |
49 | 53 | "vitest": "^0.28.1"
|
50 | 54 | },
|
51 | 55 | "peerDependencies": {
|
|
0 commit comments