|
2 | 2 | "name": "vuefire", |
3 | 3 | "version": "3.0.0-alpha.2", |
4 | 4 | "description": "Official Firebase bindings for Vue.js", |
5 | | - "main": "dist/vuefire.cjs.js", |
| 5 | + "packageManager": "pnpm@7.12.2", |
6 | 6 | "unpkg": "dist/vuefire.global-vue-2.js", |
7 | 7 | "jsdelivr": "dist/vuefire.global-vue-2.js", |
8 | | - "module": "dist/vuefire.esm-bundler.js", |
9 | | - "types": "dist/vuefire.d.ts", |
| 8 | + "type": "module", |
| 9 | + "exports": { |
| 10 | + ".": { |
| 11 | + "import": "./dist/index.mjs", |
| 12 | + "require": "./dist/index.cjs" |
| 13 | + } |
| 14 | + }, |
| 15 | + "main": "./dist/index.cjs", |
| 16 | + "module": "./dist/index.mjs", |
| 17 | + "types": "./dist/index.d.ts", |
10 | 18 | "sideEffects": false, |
| 19 | + "files": [ |
| 20 | + "dist", |
| 21 | + "LICENSE", |
| 22 | + "README.md" |
| 23 | + ], |
11 | 24 | "author": { |
12 | 25 | "name": "Eduardo San Martin Morote", |
13 | 26 | "email": "posva13@gmail.com" |
|
16 | 29 | "scripts": { |
17 | 30 | "docs": "vitepress dev docs", |
18 | 31 | "build:docs": "vitepress build docs", |
19 | | - "build": "rollup -c rollup.config.js", |
20 | | - "build:dts": "api-extractor run --local --verbose", |
| 32 | + "build": "unbuild", |
21 | 33 | "release": "bash scripts/release.sh", |
22 | 34 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1", |
23 | 35 | "size": "size-limit", |
|
27 | 39 | "test:unit": "jest --coverage", |
28 | 40 | "test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts" |
29 | 41 | }, |
30 | | - "files": [ |
31 | | - "dist/*.js", |
32 | | - "dist/vuefire.d.ts", |
33 | | - "LICENSE", |
34 | | - "README.md" |
35 | | - ], |
36 | 42 | "keywords": [ |
37 | 43 | "vue", |
38 | 44 | "firebase", |
|
56 | 62 | } |
57 | 63 | }, |
58 | 64 | "devDependencies": { |
| 65 | + "@vue/runtime-core": "^3.2.40", |
59 | 66 | "conventional-changelog-cli": "^2.0.34", |
60 | 67 | "firebase": "^8.1.2", |
61 | | - "firebase-mock": "^2.3.2", |
62 | | - "lint-staged": "^11.0.0", |
| 68 | + "lint-staged": "^13.0.3", |
63 | 69 | "prettier": "^2.0.5", |
64 | | - "typescript": "~4.3.4", |
| 70 | + "typescript": "~4.8.4", |
| 71 | + "unbuild": "^0.8.11", |
65 | 72 | "vue": "^3.0.0", |
66 | 73 | "yorkie": "^2.0.0" |
67 | 74 | }, |
68 | 75 | "gitHooks": { |
69 | 76 | "pre-commit": "lint-staged", |
70 | | - "commit-msg": "node scripts/verifyCommit.js" |
| 77 | + "commit-msg": "node scripts/verifyCommit.mjs" |
71 | 78 | }, |
72 | 79 | "lint-staged": { |
73 | 80 | "*.js": [ |
|
0 commit comments