1 | {
|
2 | "name": "datastore-backup",
|
3 | "bin": "build/main/bin/datastoreDump.js",
|
4 | "version": "1.0.15",
|
5 | "description": "Programatic Backup of Google Cloud Datastore",
|
6 | "main": "build/main/index.js",
|
7 | "typings": "build/main/index.d.ts",
|
8 | "module": "build/module/index.js",
|
9 | "repository": "https://github.com/mdornseif/datastore-backup",
|
10 | "license": "MIT",
|
11 | "keywords": [
|
12 | "google api",
|
13 | "google cloud platform",
|
14 | "google cloud",
|
15 | "google datastore",
|
16 | "datastore",
|
17 | "backup"
|
18 | ],
|
19 | "scripts": {
|
20 | "build": "run-p build:*",
|
21 | "build:main": "tsc -p tsconfig.json",
|
22 | "build:module": "tsc -p tsconfig.module.json",
|
23 | "fix": "run-s fix:*",
|
24 | "fix:prettier": "prettier \"src/**/*.ts\" --write",
|
25 | "fix:lint": "eslint src --ext .ts --fix",
|
26 | "test": "run-s build test:*",
|
27 | "test:lint": "eslint src --ext .ts",
|
28 | "test:prettier": "prettier \"src/**/*.ts\" --list-different",
|
29 | "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
30 | "test:unit": "nyc --silent ava",
|
31 | "check-cli": "run-s test diff-integration-tests check-integration-tests",
|
32 | "check-integration-tests": "run-s check-integration-test:*",
|
33 | "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
|
34 | "watch:build": "tsc -p tsconfig.json -w",
|
35 | "watch:test": "nyc --silent ava --watch",
|
36 | "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
|
37 | "cov:html": "nyc report --reporter=html",
|
38 | "cov:lcov": "nyc report --reporter=lcov",
|
39 | "cov:send": "run-s cov:lcov && codecov",
|
40 | "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
|
41 | "doc": "run-s doc:html && open-cli build/docs/index.html",
|
42 | "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
|
43 | "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
|
44 | "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
|
45 | "version": "standard-version",
|
46 | "reset-hard": "git clean -dfx && git reset --hard && yarn",
|
47 | "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
|
48 | },
|
49 | "engines": {
|
50 | "node": ">=14"
|
51 | },
|
52 | "dependencies": {
|
53 | "@google-cloud/bigquery": "^5.9.3",
|
54 | "@google-cloud/datastore": "^6.6.2",
|
55 | "@google-cloud/storage": "^5.16.1",
|
56 | "argparse": "^2.0.1",
|
57 | "ora": "^5.4.1",
|
58 | "pretty-bytes": "^5.6.0",
|
59 | "ramda": "^0.27.1"
|
60 | },
|
61 | "devDependencies": {
|
62 | "@ava/typescript": "^1.1.1",
|
63 | "@istanbuljs/nyc-config-typescript": "^1.0.1",
|
64 | "@typescript-eslint/eslint-plugin": "^4.0.1",
|
65 | "@typescript-eslint/parser": "^4.0.1",
|
66 | "ava": "^3.12.1",
|
67 | "codecov": "^3.5.0",
|
68 | "cspell": "^4.1.0",
|
69 | "cz-conventional-changelog": "^3.3.0",
|
70 | "eslint": "^7.8.0",
|
71 | "eslint-config-prettier": "^6.11.0",
|
72 | "eslint-plugin-eslint-comments": "^3.2.0",
|
73 | "eslint-plugin-import": "^2.22.0",
|
74 | "gh-pages": "^3.1.0",
|
75 | "npm-run-all": "^4.1.5",
|
76 | "nyc": "^15.1.0",
|
77 | "open-cli": "^6.0.1",
|
78 | "prettier": "^2.1.1",
|
79 | "standard-version": "^9.3.2",
|
80 | "ts-node": "^10.4.0",
|
81 | "typedoc": "^0.19.0",
|
82 | "typescript": "^4.0.2"
|
83 | },
|
84 | "files": [
|
85 | "build/main",
|
86 | "build/module",
|
87 | "!**/*.spec.*",
|
88 | "!**/*.json",
|
89 | "CHANGELOG.md",
|
90 | "LICENSE",
|
91 | "README.md"
|
92 | ],
|
93 | "ava": {
|
94 | "failFast": true,
|
95 | "timeout": "60s",
|
96 | "typescript": {
|
97 | "rewritePaths": {
|
98 | "src/": "build/main/"
|
99 | }
|
100 | },
|
101 | "files": [
|
102 | "!build/module/**"
|
103 | ]
|
104 | },
|
105 | "config": {
|
106 | "commitizen": {
|
107 | "path": "cz-conventional-changelog"
|
108 | }
|
109 | },
|
110 | "prettier": {
|
111 | "singleQuote": true
|
112 | },
|
113 | "nyc": {
|
114 | "extends": "@istanbuljs/nyc-config-typescript",
|
115 | "exclude": [
|
116 | "**/*.spec.js"
|
117 | ]
|
118 | }
|
119 | }
|