forked from Baqend/js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
149 lines (149 loc) · 5.18 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "baqend",
"version": "3.2.1-0",
"description": "Baqend JavaScript SDK",
"license": "MIT",
"author": {
"name": "Baqend.com",
"email": "[email protected]"
},
"homepage": "https://www.baqend.com",
"main": "./commonjs/lib/index.js",
"module": "./dist/baqend.es2015.js",
"browser": {
".": "./dist/baqend.es5.js",
"./lib/util/atob.ts": "./lib/util/atob-browser.ts",
"./lib/util/is-node.ts": "./lib/util/is-node-browser.ts",
"./lib/util/hmac.ts": "./lib/util/hmac-browser.ts",
"./lib/util/websocket.ts": "./lib/util/websocket-browser.ts",
"./lib/connector/NodeConnector": false,
"./lib/connector/FetchConnector": false
},
"react-native": {
".": "./commonjs/lib/index.js",
"./commonjs/lib/util/atob.js": "./commonjs/lib/util/atob-rn.js",
"./commonjs/lib/util/is-node.js": "./commonjs/lib/util/is-node-browser.js",
"./commonjs/lib/util/hmac.js": "./commonjs/lib/util/hmac-browser.js",
"./commonjs/lib/util/websocket.ts": "./commonjs/lib/util/websocket-browser.ts",
"./commonjs/lib/connector/XMLHttpConnector": false,
"./commonjs/lib/connector/IFrameConnector": false
},
"exports": {
"./cli": "./cli/index.js",
".": {
"browser": {
"import": "./dist/baqend.es2015.js",
"require": "./dist/baqend.es5.js"
},
"default": {
"import": "./esm/lib/index.js",
"require": "./commonjs/lib/index.js"
}
}
},
"types": "./commonjs/lib/index.d.ts",
"dependencies": {
"commander": "^7.2.0",
"glob": "^7.2.0",
"inquirer": "^8.2.5",
"open": "^8.4.0",
"rimraf": "^3.0.2",
"rxjs": "^6.6.3",
"tslib": "^2.3.1",
"uuid": "^8.3.2",
"validator": "^13.7.0",
"websocket": "^1.0.34"
},
"repository": {
"type": "git",
"url": "https://github.com/Baqend/js-sdk.git"
},
"bugs": {
"url": "https://github.com/Baqend/js-sdk/issues"
},
"keywords": [
"backend",
"baqend",
"mongodb",
"sdk",
"backend-as-a-service"
],
"devDependencies": {
"@purtuga/esm-webpack-plugin": "^1.5.0",
"@types/inquirer": "^8.2.5",
"@types/node": "^16.11.7",
"@types/uuid": "^8.3.0",
"@types/validator": "^13.7.1",
"@types/webpack": "^4.41.25",
"@types/websocket": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^7.29.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"events": "^3.3.0",
"html-webpack-plugin": "^4.5.0",
"jquery": "^3.5.1",
"karma": "^6.3.17",
"karma-browserstack-launcher": "^1.6.0",
"karma-chai": "^0.1.0",
"karma-chai-plugins": "^0.9.0",
"karma-chrome-launcher": "^3.1.1",
"karma-coffee-preprocessor": "^1.0.1",
"karma-firefox-launcher": "^2.1.2",
"karma-html2js-preprocessor": "^1.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-safari-launcher": "^1.0.0",
"karma-webdriver-launcher": "^1.0.8",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^2.0.2",
"puppeteer": "^4.0.1",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"source-map-support": "^0.5.19",
"terser-webpack-plugin": "^3.1.0",
"ts-loader": "^8.4.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.22",
"typescript": "^4.9.4",
"utils": "^0.2.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3"
},
"scripts": {
"test": "npm run test:node && npm run test:karma",
"test:build": "",
"test:node": "mocha --config mocharc.cjs --exit",
"test:karma": "karma start",
"clean": "shx rm -rf dist commonjs doc",
"dev-node-commonjs": "tsc --watch -m commonjs --target es5 --declaration --outDir commonjs --declaration --project tsconfig.lib.json",
"_dev-node-esm": "UNSUDED FOR NOW -> https://nodejs.org/api/packages.html#packages_dual_package_hazard tsc --watch -m es2015 --target es6 --outDir esm --project tsconfig.lib.json",
"dev-browser": "webpack-dev-server --config webpack.config.js --open --project tsconfig.lib.json",
"build-commonjs": "tsc -m commonjs --target es5 --declaration --outDir commonjs --project tsconfig.lib.json",
"_build-esm": "UNSUDED FOR NOW -> https://nodejs.org/api/packages.html#packages_dual_package_hazard tsc -m es2015 --target es6 --outDir esm --project tsconfig.lib.json",
"build-cli": "tsc -m commonjs --target es6 --project tsconfig.cli.json",
"build-dist": "webpack --config-name=es5 && webpack --config-name=es2015",
"dist": "npm run build-commonjs && npm run build-dist && npm run build-cli && npm run docs",
"prepack": "npm install && npm run dist",
"release": "node scripts/release",
"typings": "npm run typings:test",
"typings:test": "tsc --version && tsc -p spec-ts/tsconfig.json --noEmit",
"docs": "typedoc --out doc lib",
"docs-actian": "typedoc --readme README-ACTIAN.md --out doc lib",
"baqend": "npm run build-cli && node cli",
"lint": "eslint --ext .ts lib/ cli/",
"prepare": ""
},
"engines": {
"node": ">=10.0.0"
},
"bin": {
"baqend": "./cli/index.js"
}
}