-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 3.22 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
{
"name": "domwires-devkit",
"version": "0.9.91",
"description": "Devkit based on DomWires Framework",
"repository": {
"type": "git",
"url": "https://github.com/CrazyFlasher/domwires-devkit-ts"
},
"license": "MIT",
"files": [
"dist"
],
"main": "./dist/index.common.js",
"main:client": "./dist/index.client.js",
"main:server": "./dist/index.server.js",
"dependencies": {
"@types/express": "4.17.13",
"axios": "0.27.2",
"cors": "2.8.5",
"domwires": "0.9.129",
"dotenv": "16.0.3",
"express": "4.18.1",
"minimist": "1.2.6",
"mongodb": "4.9.0",
"socket.io": "4.5.2",
"socket.io-client": "4.5.2"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "0.1.1",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
"@types/chai": "4.3.3",
"@types/integer": "4.0.1",
"@types/mocha": "9.1.1",
"@types/node": "18.7.12",
"@types/nodemailer": "6.4.6",
"@typescript-eslint/eslint-plugin": "5.41.0",
"@typescript-eslint/parser": "5.41.0",
"bootstrap": "5.2.3",
"chai": "4.3.8",
"copyfiles": "2.4.1",
"esbuild": "0.16.7",
"eslint": "8.26.0",
"eslint-plugin-no-type-assertion": "1.3.0",
"fast-sha256": "1.3.0",
"hjson": "3.2.2",
"http-server": "14.1.1",
"lit": "2.5.0",
"mocha": "10.2.0",
"nodemailer": "6.8.0",
"rimraf": "3.0.2",
"ts-node": "10.9.1",
"typescript": "4.7.4",
"esbuild-sass-plugin": "2.4.4",
"postcss": "8.4.21",
"postcss-modules": "6.0.0"
},
"engines": {
"node": ">=18.18.0"
},
"scripts": {
"build": "npm run model_gen && npm run eslint-run && npm run test && npm run index_gen && npm run && npm run clean && tsc",
"model_gen": "ts-node scripts/ModelFromTypeGen.ts --in=/test/mock/typesForModels --templatesPath=/res --overwrite --relatedImportPath=../",
"index_gen": "npm run index_gen_common && npm run index_gen_server && npm run index_gen_client",
"index_gen_common": "ts-node scripts/IndexGenerator.ts --in=/src/com/domwires/devkit/common --out=/src/index.common.ts",
"index_gen_server": "ts-node scripts/IndexGenerator.ts --in=/src/com/domwires/devkit/server --out=/src/index.server.ts",
"index_gen_client": "ts-node scripts/IndexGenerator.ts --in=/src/com/domwires/devkit/client --out=/src/index.client.ts",
"test": "mocha -r ts-node/register test/*.ts --exit --timeout=2000",
"eslint-setup": "npm install eslint --save-dev",
"eslint-run": "eslint . --ext .ts",
"clean": "rimraf dist/ && rimraf dist_client && rimraf dist_server",
"copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css dist/",
"sample-server-run": "ts-node --project example/server/tsconfig.json example/server/SampleServerApp.ts",
"sample-client-run": "tsc --project example/client/tsconfig.json && ts-node --project example/client/tsconfig.json example/client/build.ts && http-server dist_client -a localhost -p 1234 -c-1",
"sample-client-run-html": "ts-node --project example/client/tsconfig.json example/client/build.ts && http-server dist_client -a localhost -p 1234 -c-1",
"sample-client-run-open": "ts-node --project example/client/tsconfig.json example/client/build.ts && http-server dist_client -a localhost -p 1234 -c-1 -o /index.html"
}
}