-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.66 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
{
"name": "typesync-cli",
"version": "0.10.0",
"description": "Autogenerate Firestore model types for all platforms",
"keywords": [
"typesync",
"firebase",
"firestore",
"cloud firestore",
"schema",
"firestore schema",
"firestore schema management"
],
"homepage": "https://github.com/kafkas/typesync#readme",
"bugs": {
"url": "https://github.com/kafkas/typesync/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kafkas/typesync.git"
},
"license": "AGPL-3.0-only",
"author": "Anar Kafkas <anarkafkas@gmail.com>",
"type": "module",
"main": "dist/cjs/index.cjs",
"types": "dist/cjs/index.d.cts",
"bin": {
"typesync": "dist/esm/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "yarn run compile && yarn run bundle",
"build-local": "tsc -p tsconfig.build.json && chmod +x lib/cli/index.js",
"bundle": "yarn run bundle:api && yarn bundle:cli",
"bundle:api": "tsup src/api/index.ts --format cjs --dts --sourcemap --outDir dist/cjs",
"bundle:cli": "tsup src/cli/index.tsx --format esm --outDir dist/esm",
"compile": "tsc -p tsconfig.build.json --noEmit",
"dev": "tsc --watch -p tsconfig.build.json",
"format": "yarn run format:src && yarn run format:package-json",
"format-check": "yarn format-check:src && yarn format-check:package-json",
"format-check:package-json": "sort-package-json \"package.json\" --check",
"format-check:src": "prettier \"src/**/*.(js|ts|json)\" --check",
"format:package-json": "sort-package-json \"package.json\"",
"format:src": "prettier --write \"src/**/*.(js|ts|json)\"",
"generate-json-schema": "tsx scripts/generate-json-schema current-version",
"generate-json-schema-local": "tsx scripts/generate-json-schema local",
"lint": "eslint src --ext .ts",
"test": "yarn run test:compile && yarn run test:src --verbose && yarn run test:rules",
"test:compile": "tsc -p tsconfig.test.json",
"test:rules": "tsx src/cli/index.tsx generate-rules --definition tests/security/definition.yml --outFile tests/security/firestore.rules && firebase emulators:exec --project demo-rules --only firestore 'jest --testMatch \"<rootDir>/tests/security/**/*.test.ts\"'",
"test:src": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"version": "changeset version && yarn run generate-json-schema"
},
"dependencies": {
"@proficient/ds": "^0.3.2",
"glob": "^10.3.12",
"ink": "^4.4.1",
"lodash": "^4.17.21",
"pluralize": "^8.0.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"yaml": "^2.4.0",
"yargs": "^17.7.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@changesets/cli": "^2.27.1",
"@firebase/rules-unit-testing": "^3.0.3",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/ink": "^2.0.3",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.178",
"@types/node": "^20.11.24",
"@types/pluralize": "^0.0.33",
"@types/react": "^18.2.69",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"babel-jest": "^27.5.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-require-extensions": "^0.1.3",
"firebase": "^10.12.1",
"firebase-tools": "^13.10.1",
"jest": "^29.7.0",
"sort-package-json": "^2.10.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"tsx": "^4.7.2",
"typescript": "5.4.5",
"zod-to-json-schema": "^3.22.5"
}
}