-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
88 lines (88 loc) · 3.34 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
{
"name": "firestorter",
"version": "4.0.1",
"description": "Simple & super fast Firestore to React bindings using Mobx observables",
"keywords": [
"react-firestore-mobox",
"react-firestore",
"react-firebase",
"firestorter",
"firestoreter",
"firestore-mobx",
"firebase-mobx",
"firestore-react",
"mobx-firestore",
"firestore-collection"
],
"main": "dist/index.js",
"module": "dist/firestorter.esm.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": "https://github.com/IjzerenHein/firestorter",
"author": "IjzerenHein <[email protected]>",
"license": "MIT",
"files": [
"dist",
"src",
"web"
],
"scripts": {
"build": "yarn build:dist && yarn build:web",
"build:dist": "tsdx build",
"build:web": "cp src/IContext.ts web && tsc web/index.ts --declaration",
"lint": "tsdx lint src test",
"prepare": "yarn build",
"size": "size-limit",
"test": "yarn test:web && yarn test:compat",
"test:web": "node ./test/seedSampleData.js && cp src/IContext.ts web && tsdx test --config jest.config.web.js",
"test:compat": "node ./test/seedSampleData.js && tsdx test --config jest.config.compat.js",
"cov": "jest --coverage",
"docs:document": "jsdoc2md --files 'src/Document.ts' --configure jsdoc2md.json > ./docs/api/Document.md",
"docs:collection": "jsdoc2md --files 'src/Collection.ts' --configure jsdoc2md.json > ./docs/api/Collection.md",
"docs:aggregatecollection": "jsdoc2md --files 'src/AggregateCollection.ts' --configure jsdoc2md.json > ./docs/api/AggregateCollection.md",
"docs:geoquery": "jsdoc2md --files 'src/GeoQuery.ts' --configure jsdoc2md.json > ./docs/api/GeoQuery.md",
"docs:types": "jsdoc2md --files 'src/Types.ts' 'src/IContext.ts' --configure jsdoc2md.json > ./docs/api/Types.md",
"docs:initfunctions": "jsdoc2md --files 'src/init.ts' 'src/compat.ts' 'web/index.ts' --configure jsdoc2md.json > ./docs/api/InitFunctions.md",
"docs:utilityfunctions": "jsdoc2md --files 'src/Utils.ts' --configure jsdoc2md.json > ./docs/api/UtilityFunctions.md",
"docs:geofunctions": "jsdoc2md --files 'src/GeoHash.ts' --configure jsdoc2md.json > ./docs/api/GeoFunctions.md",
"docs:build": "yarn docs:document && yarn docs:collection && yarn docs:aggregatecollection && yarn docs:geoquery && yarn docs:types && yarn docs:initfunctions && yarn docs:geofunctions && yarn docs:utilityfunctions",
"docs:serve": "docsify serve docs",
"docs:ci": "yarn docs:build && node ./scripts/checkUncommittedDocChanges.js"
},
"size-limit": [
{
"path": "dist/firestorter.cjs.production.min.js",
"limit": "15 KB"
},
{
"path": "dist/firestorter.esm.js",
"limit": "15 KB"
}
],
"dependencies": {
"@babel/preset-typescript": "^7.18.6",
"lodash.isequal": "^4.5.0"
},
"peerDependencies": {
"mobx": ">= 6"
},
"devDependencies": {
"@expo/spawn-async": "^1.7.0",
"@release-notes/cli": "^0.3.0",
"@size-limit/preset-small-lib": "^8.1.0",
"@types/lodash.isequal": "^4.5.6",
"codecov": "^3.8.3",
"firebase": "^9.15.0",
"jsdoc-babel": "^0.5.0",
"jsdoc-to-markdown": "^8.0.0",
"mobx": "^6.7.0",
"size-limit": "^8.1.0",
"superstruct": "^0.8.2",
"tsdx": "^0.14.1",
"tslib": "^2.4.1",
"typescript": "^4.9.4"
},
"resolutions": {
"prettier": "^2.8.1"
}
}