|
6 | 6 | "type": "git",
|
7 | 7 | "url": "https://github.com/saraelsa/msal-community-solid.git"
|
8 | 8 | },
|
| 9 | + "private": "false", |
9 | 10 | "type": "module",
|
10 |
| - "main": "dist/src/index.js", |
| 11 | + "main": "dist/index.cjs", |
| 12 | + "module": "dist/index.js", |
| 13 | + "types": "dist/index.d.ts", |
| 14 | + "exports": { |
| 15 | + "solid": { |
| 16 | + "development": "./dist/dev.jsx", |
| 17 | + "import": "./dist/index.jsx" |
| 18 | + }, |
| 19 | + "development": { |
| 20 | + "import": { |
| 21 | + "types": "./dist/index.d.ts", |
| 22 | + "default": "./dist/dev.js" |
| 23 | + }, |
| 24 | + "require": "./dist/dev.cjs" |
| 25 | + }, |
| 26 | + "import": { |
| 27 | + "types": "./dist/index.d.ts", |
| 28 | + "default": "./dist/index.js" |
| 29 | + }, |
| 30 | + "require": "./dist/index.cjs" |
| 31 | + }, |
11 | 32 | "scripts": {
|
12 |
| - "build": "tsc", |
13 |
| - "publish": "tsc", |
14 |
| - "test": "vitest" |
| 33 | + "build": "tsup", |
| 34 | + "prepublishOnly": "pnpm build", |
| 35 | + "test": "vitest", |
| 36 | + "format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\"", |
| 37 | + "update-deps": "pnpm up -Li", |
| 38 | + "typecheck": "tsc --noEmit" |
15 | 39 | },
|
16 | 40 | "license": "MIT",
|
17 | 41 | "devDependencies": {
|
18 | 42 | "@solidjs/testing-library": "^0.6.0",
|
19 | 43 | "@testing-library/jest-dom": "^5.16.5",
|
20 | 44 | "@types/testing-library__jest-dom": "^5.14.5",
|
| 45 | + "esbuild": "^0.17.10", |
| 46 | + "esbuild-plugin-solid": "^0.5.0", |
21 | 47 | "jsdom": "^21.1.0",
|
| 48 | + "prettier": "^2.8.4", |
| 49 | + "tsup": "^6.6.3", |
| 50 | + "tsup-preset-solid": "^0.1.8", |
22 | 51 | "typescript": "^4.9.5",
|
23 | 52 | "vite": "^4.1.4",
|
24 | 53 | "vite-plugin-solid": "^2.5.0",
|
25 | 54 | "vitest": "^0.28.4"
|
26 | 55 | },
|
| 56 | + "peerDependencies": { |
| 57 | + "@azure/msal-browser": "^2.33.0", |
| 58 | + "solid-js": "^1.6.10" |
| 59 | + }, |
27 | 60 | "dependencies": {
|
28 | 61 | "@azure/msal-browser": "^2.33.0",
|
29 | 62 | "solid-js": "^1.6.10"
|
30 |
| - } |
| 63 | + }, |
| 64 | + "keywords": [ |
| 65 | + "solid", |
| 66 | + "solidjs", |
| 67 | + "msal", |
| 68 | + "auth", |
| 69 | + "azure" |
| 70 | + ], |
| 71 | + "packageManager": "pnpm@7.27.0" |
31 | 72 | }
|
0 commit comments