-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.9 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
{
"name": "toad.js",
"version": "0.2.2",
"description": "The TOAD JavaScript/TypeScript GUI Library",
"author": "Mark-André Hopf <[email protected]>",
"license": "AGPL-3.0",
"engines": {
"npm": ">=10.5.0",
"node": ">=21.7.1"
},
"files": [
"README.md",
"LICENSE",
"package.json",
"lib/src",
"style"
],
"exports": {
".": {
"import": "./lib/src/index.js",
"types": "./lib/src/index.d.ts"
},
"./*": {
"import": "./lib/src/*.js",
"types": "./lib/src/*.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"lib/src/*.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/markandre13/toad.js.git"
},
"scripts": {
"build": "npm run build:docs:source && tspc",
"test": "wtr \"lib/test/**/*.spec.js\"",
"e2e": "npm run e2e-once:build && concurrently -k \"npm:e2e:*\" # ",
"e2e-once:build": "rollup --bundleConfigAsCjs --config e2e/rollup.config.js",
"e2e:build": "rollup --watch --bundleConfigAsCjs --config e2e/rollup.config.js",
"e2e:httpd": "http-server --silent -c -1",
"e2e:mocha": "if test -z \"$npm_config_file\" ; then npm_config_file='e2e/**/*.spec.ts'; fi ; TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --slow 5000 ---timeout 10000 -r ts-node/register --watch --watch-files \"$npm_config_file\",e2e/**/*.html \"$npm_config_file\"",
"serve": "concurrently -k \"npm:dev:build\" \"npm:dev:serve\"",
"dev": "concurrently -k \"npm:dev:build\" \"npm:dev:test\"",
"dev:build": "npm run build:docs:source && tspc --watch",
"dev:build:trace-warnings": "node --trace-warnings ./node_modules/.bin/tspc --watch",
"dev:test": "if test -z \"$npm_config_file\" ; then wtr --watch 'lib/test/**/*.spec.js' ; else wtr --watch \"$npm_config_file\" ; fi",
"dev:e2e": "",
"dev:serve": "wds --node-resolve --watch --open --app-index docs/index.dev.html",
"build:docs": "rm -rf dist && npm run build:docs:mkdir && npm run build:docs:source && npm run build:docs:index && npm run build:docs:copy && npm run build:docs:rollup",
"build:docs:source": "node docs/highlight.cjs",
"build:docs:mkdir": "mkdir -p dist/docs/style dist/docs/static",
"build:docs:index": "hash=`date | shasum` && hash=${hash%% *} && sed \"s|../lib/docs/main.js|main.js?hash=${hash}|;s|../style/|style/|g;s|../polyfill/||\" docs/index.dev.html > dist/docs/index.html",
"build:docs:copy": "cp style/* dist/docs/style && cp docs/static/* dist/docs/static",
"build:docs:rollup": "rollup --config docs/rollup.config.mjs",
"build:html": "typedoc --categorizeByGroup --excludeInternal --out html src",
"update": "npx npm-check-updates -u && npm install"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/chai": "^5.0.1",
"@types/chai-subset": "^1.3.6",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.10",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@types/prismjs": "^1.26.5",
"@web/dev-server": "^0.4.6",
"@web/test-runner": "^0.20.0",
"chai": "^5.2.0",
"concurrently": "^9.1.2",
"http-server": "^14.1.1",
"mocha": "^11.1.0",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0",
"prismjs": "^1.30.0",
"puppeteer": "^24.4.0",
"rollup": "^4.35.0",
"rollup-plugin-minify-html-literals-v3": "^1.3.4",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.3.0",
"typedoc": "^0.28.0",
"typescript": "^5.8.2"
},
"dependencies": {
"toad.jsx": "^0.0.13"
}
}