forked from chase-moskal/xiome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 4.41 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
{
"name": "xiome",
"version": "0.0.20",
"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-pug compile-sass compile-web-assets && run-s cleanup-devstuff compile-bundles stats test",
"clean": "rimraf x *.pem && mkdirp x",
"importmap": "importly --host=node_modules --production < package-lock.json > x/importmap.json",
"compile-tsc": "tsc",
"compile-pug": "pug -o x web -O '{\"mode\": \"production\"}'",
"compile-pug-mock": "pug -o x web -O '{\"mode\": \"mock\"}'",
"compile-pug-local": "pug -o x web -O '{\"mode\": \"local\"}'",
"compile-sass": "sass web/:x/",
"compile-web-assets": "cp web/favicon.png x/",
"compile-bundles": "run-p compile-bundle-xiome compile-bundle-demos compile-bundle-mock",
"compile-bundle-xiome": "rollup --silent --sourcemap -p rollup-plugin-sizes -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-sizes -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-sizes -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": "rimraf x/mocksite",
"watch-tsc": "npm run compile-tsc -s -- --watch",
"watch-pug": "npm run compile-pug-mock -s -- --watch",
"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-pug watch-sass",
"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'",
"start": "run-p start-platform",
"start-platform": "http-server -p 8080",
"start-mocksite": "http-server -p 8081",
"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-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": "^13.1.3",
"@types/node": "^17.0.14",
"@types/pug": "^2.0.6",
"@types/ws": "^8.2.2",
"chokidar-cli": "^3.0.0",
"cynic": "0.1.0-dev.16",
"es-module-shims": "^1.4.3",
"http-server": "^14.1.0",
"importly": "^0.2.0",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"pug-cli": "^1.0.0-alpha6",
"rimraf": "^3.0.2",
"rollup": "^2.67.0",
"rollup-plugin-sizes": "^1.0.4",
"sass": "^1.49.7",
"terser": "^5.10.0",
"typescript": "^4.5.5"
},
"dependencies": {
"@chasemoskal/snapstate": "0.0.0-dev.6",
"@stripe/stripe-js": "^1.22.0",
"broadcastchannel-polyfill": "1.0.1",
"chalk": "^5.0.0",
"crosscall": "0.0.6-dev.22",
"dbmage": "0.0.0-dev.5",
"form-data": "^4.0.0",
"js-yaml-chase-esm": "3.14.0-esm.2",
"json5": "^2.2.0",
"lit": "^2.1.2",
"mailgun.js": "^4.2.0",
"menutown": "0.0.1",
"mongodb": "^4.3.1",
"pug": "^3.0.2",
"redcrypto": "0.0.0-dev.9",
"renraku": "0.0.0-dev.53",
"stripe": "^8.201.0",
"typed-rest-client": "^1.8.6",
"ws": "^8.4.2"
},
"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"
}