forked from yarnaimo/fireschema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "fireschema",
"version": "5.0.0-36",
"repository": "github:yarnaimo/fireschema",
"license": "MIT",
"author": "yamaimo <[email protected]>",
"type": "module",
"exports": {
".": {
"node": {
"import": "./esm/src/index.js",
"require": "./dist/src/index.js"
},
"default": "./esm/src/index.js"
},
"./admin": {
"node": {
"import": "./esm/src/admin/index.js",
"require": "./dist/src/admin/index.js"
},
"default": "./esm/src/admin/index.js"
},
"./hooks": {
"node": {
"import": "./esm/src/hooks/index.js",
"require": "./dist/src/hooks/index.js"
},
"default": "./esm/src/hooks/index.js"
}
},
"main": "./dist/src/index.js",
"types": "./esm/src/index.d.ts",
"bin": "./esm/src/bin/main.js",
"scripts": {
"build": "tsc -P tsconfig.cjs.json && cp src/lib/*.d.ts dist/src/lib/ && echo '{ \"type\": \"commonjs\" }' > dist/package.json",
"build:esm": "tsc && cp src/lib/*.d.ts esm/src/lib/ && ./scripts/after-build-esm.sh",
"debug": "node --inspect -r ts-node/register",
"docs": "./scripts/update-docs.sh",
"firestore:rules": "./esm/src/bin/main.js rules esm/src/example/1-1-schema.js",
"functions:export": "./esm/src/bin/main.js export src/__tests__/_functions",
"lint": "eslint --ignore-path .gitignore '**/*.{js,jsx,ts,tsx}'",
"prepare": "./scripts/append-emulator-proxyer.sh",
"serve": "yarn build && firebase emulators:start --only firestore,functions,pubsub",
"test": "NODE_ENV=test jest --coverage false",
"test:all": "yarn test:main && yarn test:functions",
"test:functions": "yarn build:esm && firebase emulators:exec --only firestore,functions,pubsub 'yarn test /functions/'",
"test:main": "firebase emulators:exec --only firestore 'yarn test --testPathIgnorePatterns /node_modules/ /dist/ /esm/ /functions/'",
"ts-node": "ts-node -P tsconfig.cjs.json",
"ts-node:esm": "node --loader ts-node/esm --experimental-repl-await",
"version": "rm -rf dist esm && yarn build && yarn build:esm"
},
"dependencies": {
"@sindresorhus/is": "^4.2.0",
"@yarnaimo/type-extends": "^0.0.1",
"dayjs": "^1.10.7",
"getopts": "^2.3.0",
"lifts": "^0.1.4",
"reactfire": "^4.2.1",
"read-pkg-up": "^9.0.0",
"remeda": "^0.0.30",
"type-fest": "^2.5.4"
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@google-cloud/pubsub": "^2.18.3",
"@sindresorhus/tsconfig": "^2.0.0",
"@swc/core": "^1.2.111",
"@swc/jest": "^0.2.5",
"@testing-library/react-hooks": "^7.0.2",
"@types/express": "4.17.13",
"@types/jest": "^27.0.3",
"@types/prettier": "^2.4.2",
"@types/react": "^17.0.36",
"@types/testing-library__react-hooks": "^4.0.0",
"@yarnaimo/eslint-config": "^0.4.3",
"@yarnaimo/jest-esm-resolver": "^0.0.2",
"express": "^4.17.1",
"firebase": "^9.5.0",
"firebase-admin": "^10.0.0",
"firebase-functions": "^3.16.0",
"firebase-functions-test": "^0.3.3",
"firebase-tools": "^9.23.0",
"got": "^11.8.3",
"jest": "^27.3.1",
"markdown-magic": "^2.5.2",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-test-renderer": "^17.0.2",
"sort-package-json": "^1.53.1",
"ts-node": "^10.4.0",
"tsd": "^0.19.0",
"typescript": "^4.5.2",
"zod": "^3.11.6"
},
"peerDependencies": {
"@google-cloud/pubsub": "^2.18.3",
"firebase": "^9.5.0",
"firebase-admin": "^10.0.0",
"firebase-functions": "^3.16.0",
"zod": "^3.11.6"
},
"engines": {
"node": ">=12"
}
}