-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 4.26 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
{
"name": "js-playground",
"version": "1.1.0",
"description": "just checking some interesting stuff",
"main": "src/main.js",
"type": "module",
"scripts": {
"bs:start": "browser-sync start --server dist",
"bs:reload": "browser-sync reload",
"prebuild": "run-s clean build:riot",
"build": "node .esbuild.cjs",
"build:riot": "riot src/js/wc-script_riot.js -o src/js/wc-script_riot_wrapper.js",
"build:prod": "npm run build -- prod",
"postbuild": "run-p copy:* rename:*",
"copy:html": "cp src/*.html dist && cp -r src/pages dist/",
"copy:css": "cp src/*.css dist/",
"copy:uce": "mkdir -p dist/components && uce-template src/js/components -o dist/components",
"rename:css": "# mv ./dist/chunk-*.css ./dist/svelte.css",
"clean": "rm -rf dist",
"format": "prettier --write \"./**/*.{js,cjs,html,css,scss,json,svelte}\"",
"lint": "eslint --fix src/",
"start": "npm-run-all build -p watch:*",
"watch:build": "onchange 'src/**/*' -d 300 -e 'src/js/wc-script_riot_wrapper.js' -- run-s build bs:reload",
"watch:bs": "npm run bs:start",
"pretest": "npm run build",
"test": "#",
"test:serve": "static-server dist",
"test:cy": "docker run -it -v $PWD:/tests -w /tests --entrypoint=bash cypress/included:3.2.0 ./cypress/run.sh",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:ci": "start-server-and-test test:serve http://localhost:9080 cy:run",
"test:tc": "run-s test tc:run",
"tc:run": "docker run -v $PWD:/share:ro -w /share -it --user=root testcafe/testcafe:1.15.0 --config-file .testcaferc.json",
"test:tc:watch": "npm run test:testcafe:docker -- -L",
"postinstall": "husky install && cypress install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"esbuild": {
"modules": [
"src/js/state-stent.js",
"src/js/state-preach.js",
"src/js/state-stores.js",
"src/js/apprun_ws_client.jsx",
"src/js/apprun_ws_emitter.jsx",
"src/js/lz-chat_apprun.js",
"src/js/lz-chat_hyper.js",
"src/js/lz-test.js",
"src/js/mikado_client.js"
],
"bundles": [
"src/js/wc-script_uce.js",
"src/js/wc-script_hybrids.js",
"src/js/wc-script_riot_wrapper.js"
],
"outdir": "dist"
},
"lint-staged": {
"*.{js,svelte}": "eslint --fix",
"*.{js,cjs,html,css,scss,json,svelte}": "prettier --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tvardy/js-playground.git"
},
"keywords": [
"playground"
],
"author": "Grzegorz (Greg) Twardowski (https://github.com/tvardy)",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/tvardy/js-playground/issues"
},
"homepage": "https://tvardy.github.io/js-playground",
"dependencies": {
"@78nine/sideworker": "1.0.2",
"apprun": "3.28.15",
"hybrids": "5.4.0",
"hypersimple": "0.4.1",
"lzwcompress": "1.1.0",
"mikado": "0.7.64",
"nanoid": "4.0.0",
"p-series": "3.0.0",
"pocket.io": "0.1.5",
"preach": "0.3.0",
"riot": "7.0.6",
"stent": "8.0.4",
"uce": "1.16.5",
"uce-loader": "2.0.0",
"uce-template": "0.7.1",
"uhtml": "3.0.1"
},
"devDependencies": {
"@riotjs/cli": "5.3.0",
"babel-eslint": "10.1.0",
"browser-sync": "2.27.10",
"browserslist": "4.21.3",
"cypress": "7.6.0",
"cz-conventional-changelog": "3.3.0",
"esbuild": "0.15.7",
"esbuild-svelte": "0.7.1",
"eslint": "7.32.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-chai-friendly": "0.7.2",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-standard": "5.0.0",
"eslint-plugin-svelte3": "3.2.0",
"eslint-plugin-testcafe": "0.2.1",
"husky": "7.0.1",
"lint-staged": "11.1.2",
"live-server": "1.2.2",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"pinst": "2.1.6",
"prettier": "2.7.1",
"prettier-plugin-svelte": "2.7.0",
"start-server-and-test": "1.14.0",
"static-server": "2.2.1",
"testcafe": "1.15.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"engines": {
"node": ">12.x"
}
}