Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit f580f08

Browse files
v2.0.3
1 parent ebdff38 commit f580f08

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "askless",
3-
"version": "2.0.2",
3+
"version": "(TODO -> copy to 'dist' folder) 2.0.3",
44
"description": "A coherent Node.js Backend for Flutter. Askless is a framework to build websocket servers for Flutter Apps that lets you update your widgets in realtime by streaming data changes with WebSockets. Create your Flutter App without Firebase, with MySQL, PostgreSQL, or any database you want, handle WebSocket authentication, and quickly add audio and video calls with WebRTC!",
55
"keywords": [
66
"flutter",
@@ -28,21 +28,18 @@
2828
"main": "index.js",
2929
"types": "index.d.ts",
3030
"scripts": {
31-
"bundle-dev": "rimraf dist && tsc --outDir dist/temp && webpack --env development=true && rimraf dist/temp",
32-
"bundle-prod": "rimraf dist && tsc --outDir dist/temp && webpack --env production=true && rimraf dist/temp",
3331
"catalog-js": " node example/catalog-js/index.js",
3432
"simple-chat-ts": "rimraf example/simple-chat-tscompiled && npx tsc example/simple-chat-ts/index.ts --outDir example/simple-chat-tscompiled && node example/simple-chat-tscompiled/example/simple-chat-ts/index.js",
3533
"catalog-ts": "rimraf example/catalog-tscompiled && npx tsc example/catalog-ts/index.ts --outDir example/catalog-tscompiled && node example/catalog-tscompiled/example/catalog-ts/index.js",
3634
"random-numbers-ts": "rimraf example/random-numbers-tscompiled && npx tsc example/random-numbers-ts/index.ts --outDir example/random-numbers-tscompiled && node example/random-numbers-tscompiled/example/random-numbers-ts/index.js",
37-
"prepublish": "npm run-script bundle-prod",
3835
"test": "tsc test/index.test.ts && node ./node_modules/mocha/bin/mocha"
3936
},
4037
"author": "Rodrigo João Bertotti <[email protected]>",
4138
"license": "MIT",
4239
"dependencies": {
43-
"ws": "^8.14.1",
4440
"bufferutil": "^4.0.7",
45-
"utf-8-validate": "^6.0.3"
41+
"utf-8-validate": "^6.0.3",
42+
"ws": "^8.14.1"
4643
},
4744
"devDependencies": {
4845
"@babel/core": "^7.22.17",

src/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const environment = {
22
server: {
3-
name: "2.0.2", //TODO onupdate: change package.json as well
4-
code: 4,
3+
name: "2.0.3", //TODO onupdate: change package.json as well
4+
code: 5,
55
clientVersionCodeSupported: {
66
flutter: {
77
moreThanOrEqual: 4,

tsconfig.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"compilerOptions": {
3-
"module": "AMD",
4-
"target": "ES5",
5-
"declaration": true,
6-
"outDir": "dist/askless",
3+
"lib": [
4+
"es5",
5+
"es6"
6+
],
7+
"target": "es5",
8+
"module": "commonjs",
79
"moduleResolution": "node",
8-
"stripInternal": true,
9-
"strictNullChecks": false
10+
"strictNullChecks": false,
11+
"outDir": "./dist/askless",
12+
"declaration": true,
13+
"emitDecoratorMetadata": true,
14+
"experimentalDecorators": true,
15+
"sourceMap": true,
1016
},
1117
"exclude": [
1218
"node_modules",

0 commit comments

Comments
 (0)