-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change module to ES & update packages
- Loading branch information
1 parent
38f25b7
commit 2f891d3
Showing
11 changed files
with
295 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/mocharc", | ||
"extension": ["ts"], | ||
"loader": "ts-node/esm", | ||
"spec": ["test/**/*.spec.ts"], | ||
"timeout": 60000, | ||
"exit": true, | ||
"node-option": [ | ||
"experimental-specifier-resolution=node", | ||
"loader=ts-node/esm" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
auto-install-peers=true | ||
strict-peer-dependencies=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
{ | ||
"name": "firestore-export-import", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "NPM package for backup and restore Firebase Firestore", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"files": [ | ||
"readme.md", | ||
"dist/*.*.*", | ||
"dist/*.*" | ||
], | ||
"scripts": { | ||
"watch": "tsc -w", | ||
"test": "mocha --timeout 60000 --exit -r ts-node/register test/**/*.spec.ts", | ||
"test": "mocha", | ||
"build": "tsc --skipLibCheck && npm run minify", | ||
"minify": "jsmin -o dist/index.js dist/index.js && jsmin -o dist/import.js dist/import.js && jsmin -o dist/export.js dist/export.js && jsmin -o dist/helper.js dist/helper.js" | ||
}, | ||
|
@@ -27,7 +28,7 @@ | |
"import", | ||
"export" | ||
], | ||
"author": "Dale Nguyen <[email protected]> (http://dalenguyen.me)", | ||
"author": "Dale Nguyen <[email protected]> (http://dalenguyen.me)", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/dalenguyen/firestore-backup-restore/issues" | ||
|
@@ -37,25 +38,26 @@ | |
"@types/chai": "^4.3.3", | ||
"@types/expect": "^24.3.0", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.7.13", | ||
"@types/node": "^18.8.3", | ||
"chai": "^4.3.6", | ||
"jsmin": "^1.0.1", | ||
"minimist": "^1.2.6", | ||
"minimist": "1.2.6", | ||
"mocha": "^10.0.0", | ||
"request": "^2.88.2", | ||
"request-promise": "^4.2.6", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.7.4" | ||
"typescript": "^4.8.4" | ||
}, | ||
"dependencies": { | ||
"firebase-admin": "^11.0.1", | ||
"google-gax": "^3.2.1", | ||
"firebase-admin": "^11.1.0", | ||
"google-gax": "^3.5.2", | ||
"uuid": "^8.3.2" | ||
}, | ||
"resolutions": { | ||
"minimist": "1.2.6" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
"node": ">=16.0.0", | ||
"pnpm": ">=7" | ||
} | ||
} |
Oops, something went wrong.