-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 3.42 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
{
"name": "dendriform",
"version": "1.0.0",
"description": "A web based offline first outliner with sync",
"repository": {
"type": "git",
"url": "https://github.com/aggregat4/dendriform"
},
"engines": {
"node": ">=17.3.1",
"npm": ">=8.3.0"
},
"volta": {
"node": "17.3.1",
"npm": "8.3.0"
},
"main": "main.js",
"scripts": {
"clean": "rm -rf dist && mkdir dist",
"compile": "npx tsc --noEmit",
"eslint": "npx eslint src",
"bundle-and-minify": "npx esbuild --bundle --sourcemap --target=es2018 --outdir=dist --minify --format=esm --splitting src/ts/tree.ts src/example/main.ts && cp src/css/*.css dist/example && cp src/example/index2.html dist/example/index.html",
"bundle-and-hash": "npx esbuild --bundle --sourcemap --target=es2018 --outdir=dist --format=esm --splitting --entry-names=[dir]/[name]-[hash] src/ts/tree.ts src/example/main.ts src/css/*.css && cp dist/css/*.css dist/example && cp src/example/index2.html dist/example/index.html",
"bundle": "npx esbuild --bundle --sourcemap --target=es2018 --outdir=dist --format=esm src/ts/tree.ts src/example/main.ts src/css/*.css && cp dist/css/*.css dist/example && cp src/example/index2.html dist/example/index.html",
"bundle-integration-tests": "npx esbuild --bundle --sourcemap --target=es2018 --outdir=dist --format=esm test/integration/integration-tests.ts",
"unit-tests": "npx ts-node test/runtests.ts",
"integration-tests": "npm run bundle-integration-tests && TIZZY_ITEST_RELATIVE_FILENAME=test/integration/integration-tests.html npx ts-node lib/run-integration-tests.ts",
"e2e-tests": "npx ts-node test/e2e/run-e2e-tests.ts",
"test": "npm run unit-tests && npm run integration-tests && npm run e2e-tests",
"build": "npm run compile && npm run bundle",
"bt": "npm run build && npm run test",
"cbt": "npm run clean && npm run bt",
"audit": "npm audit --omit dev",
"watch": "npx chokidar-cli 'src/**/*.*' --initial -c 'npm run bt'",
"watchit": "npx chokidar-cli 'src/**/*.*' 'test/**/*.*' --initial -c 'npm run cbt'",
"serve": "npx http-server dist",
"sloc": "npx sloc src",
"unused-exports": "npx ts-prune",
"unused-dependencies": "npx depcheck",
"dependency-upgrades": "npx npm-upgrade",
"dependency-graph": "npx depcruise --do-not-follow \"(tree.ts|main.ts)\" --output-type dot src | dot -T svg > dependencygraph.svg",
"dependency-check": "npx depcruise --config .dependency-cruiser.js src/",
"arkit-graph": "npx arkit -e src/example/main.ts,src/ts/tree.ts"
},
"author": "Boris Terzic <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@koa/router": "12.0.0",
"@types/file-saver": "2.0.5",
"@types/koa__router": "8.0.11",
"@typescript-eslint/eslint-plugin": "5.30.7",
"barecolor": "1.0.1",
"ceylon": "0.9.1",
"dependency-cruiser": "11.12.0",
"esbuild": "0.14.49",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"jsdom": "20.0.0",
"jsdom-global": "3.0.2",
"koa": "2.13.4",
"koa-body": "4.2.0",
"koa-logger": "3.2.1",
"koa-mount": "4.0.0",
"koa-static": "5.0.0",
"prettier": "2.7.1",
"prettier-plugin-jsdoc": "0.3.38",
"prettier-plugin-organize-imports": "3.0.0",
"puppeteer": "15.5.0",
"ts-node": "10.9.1",
"typescript": "4.7.4"
},
"dependencies": {
"file-saver": "2.0.5",
"idb": "7.0.2",
"lit-html": "2.2.7"
}
}