This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
121 lines (121 loc) · 5.21 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
{
"name": "xiome",
"version": "0.0.45",
"description": "app infrastructure and web components",
"license": "MIT",
"author": "Chase Moskal <[email protected]>",
"type": "module",
"main": "x/xiome.js",
"files": [
"x",
"s"
],
"scripts": {
"build": "run-s clean && run-p importmap compile-tsc compile-sass && run-s compile-bundles links compile-html copy-website-files cleanup-devstuff stats test",
"clean": "rimraf x *.pem && mkdirp x",
"importmap": "importly --host=node_modules --production < package-lock.json > x/importmap.json",
"links": "ln -s $(realpath node_modules) x/node_modules && ln -s $(realpath s) x/s",
"link-dbmage": "rm -rf node_modules/dbmage && ln -s $(realpath ../dbmage) node_modules/",
"copy-website-files": "cp -r s/website/root/* x",
"compile-tsc": "tsc",
"compile-html": "node x/website/build.js production",
"compile-html-mock": "node x/website/build.js mock",
"compile-html-local": "node x/website/build.js local",
"compile-sass": "sass s/website/styles/:x/",
"compile-bundles": "run-p compile-bundle-xiome compile-bundle-demos compile-bundle-mock",
"compile-bundle-xiome": "rollup --silent --sourcemap -p @rollup/plugin-node-resolve -f iife -i x/xiome.js -o x/xiome.bundle.js && terser x/xiome.bundle.js -cm --source-map --comments false -o x/xiome.bundle.min.js",
"compile-bundle-demos": "rollup --silent --sourcemap -p @rollup/plugin-node-resolve -f iife -i x/demos.js -o x/demos.bundle.js && terser x/demos.bundle.js -cm --source-map --comments false -o x/demos.bundle.min.js",
"compile-bundle-mock": "rollup --silent --sourcemap -p @rollup/plugin-node-resolve -f iife -i x/xiome-mock.js -o x/xiome-mock.bundle.js && terser x/xiome-mock.bundle.js -cm --source-map --comments false -o x/xiome-mock.bundle.min.js",
"cleanup-devstuff": "exit 0",
"cleanup-devstuff-old": "rimraf x/mocksite",
"watch-tsc": "npm run compile-tsc -s -- --watch",
"watch-html": "run-s copy-website-files && chokidar \"x/**/*.html.js\" \"x/**/*.css\" \"x/website/**/*\" -c \"npm run compile-html-mock\"",
"watch-sass": "npm run compile-sass -s -- --watch",
"watch-bundle": "npm run compile-bundle -s -- --watch",
"watch-tests": "chokidar \"x/**/*.js\" -c \"npm run test -s\"",
"watch": "run-p watch-tsc watch-html watch-sass",
"stripe-forward-webhooks": "stripe listen --forward-to http://localhost:8050/",
"localservers": "run-p server chat-server stripe-webhook-server stripe-forward-webhooks",
"localservers2": "run-p server chat-server",
"server": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node x/server.js'",
"server-debug": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node --inspect-brk x/server.js'",
"chat-server": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node x/features/chat/api/chat-server.js'",
"chat-server-debug": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node --inspect-brk x/features/chat/api/chat-server.js'",
"stripe-webhook-server": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node x/features/store/backend/stripe/webhooks/server.js'",
"stripe-webhook-server-debug": "XIOME_CONFIG=`cat dev-config.json` bash -c 'node --inspect-brk x/features/store/backend/stripe/webhooks/server.js'",
"start": "run-p start-platform",
"start-platform": "http-server -p 8080 x",
"start-mocksite": "http-server -p 8081 x",
"test": "cynic node --label='xiome tests' x/tests.test.js",
"test-debug": "node inspect node_modules/cynic/dist/cli.js node --label='xiome tests' x/tests.test.js",
"test-debug-store": "node inspect node_modules/cynic/dist/cli.js node --label='xiome tests' x/features/store/testing/suites/connect.test.js",
"test-browser": "cynic browser x/tests.test.js --open=true --importmap-path=./x/importmap.json",
"stats": "ls -lah x/xiome.bundle.js x/xiome.bundle.min.js"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.0",
"@types/express": "^4.17.17",
"@types/glob": "^8.1.0",
"@types/node": "^18.15.11",
"@types/ws": "^8.5.4",
"chokidar-cli": "^3.0.0",
"cynic": "^0.2.1",
"es-module-shims": "^1.7.1",
"http-server": "^14.1.1",
"importly": "^0.2.0",
"mkdirp": "^2.1.6",
"npm-run-all": "^4.1.5",
"rimraf": "^4.4.1",
"rollup": "^3.20.2",
"sass": "^1.60.0",
"terser": "^5.16.8",
"typescript": "^5.0.2"
},
"dependencies": {
"@chasemoskal/magical": "^0.1.3",
"@chasemoskal/snapstate": "^0.0.9",
"broadcastchannel-polyfill": "1.0.1",
"chalk": "^5.2.0",
"crosscall": "^0.0.6",
"dbmage": "^0.0.2",
"express": "^4.18.2",
"form-data": "^4.0.0",
"glob": "^9.3.2",
"js-yaml-chase-esm": "3.14.0-esm.2",
"json5": "^2.2.3",
"lit": "^2.7.0",
"mailgun.js": "^8.2.1",
"mongodb": "^5.1.0",
"redcrypto": "^0.0.4",
"renraku": "^0.0.2",
"stripe": "^11.16.0",
"typed-rest-client": "^1.8.9",
"ws": "^8.13.0"
},
"keywords": [
"components",
"web-components",
"logins",
"login-system",
"auth",
"auth-system",
"token-based",
"apps",
"app-platform",
"app-infrastructure",
"plugins",
"memberships",
"subscriptions",
"premium-memberships",
"premium-subscriptions",
"questions-board"
],
"repository": {
"type": "git",
"url": "git+https://github.com/chase-moskal/xiome.git"
},
"bugs": {
"url": "https://github.com/chase-moskal/xiome/issues"
},
"homepage": "https://github.com/chase-moskal/xiome#readme"
}