-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 4.05 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 4.05 KB
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
{
"name": "squibview",
"version": "1.0.21",
"description": "SquibView is a light weight editor which live-renders mardown (including code, diagrams, etc) or HTML to a browser",
"keywords": [
"markdown",
"editor",
"live-render",
"diagrams",
"html",
"split-view"
],
"author": "deftio (https://github.com/deftio",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git://github.com/deftio/squibview.git"
},
"bugs": {
"url": "git://github.com/deftio/squibview/issues"
},
"homepage": "https://github.com/deftio/squibview",
"main": "dist/squibview.umd.min.js",
"module": "dist/squibview.esm.min.js",
"unpkg": "dist/squibview.umd.min.js",
"browser": "dist/squibview.umd.min.js",
"bin": {
"squibv": "cli/bin/squibv.js"
},
"files": [
"dist",
"cli"
],
"type": "module",
"directories": {
"examples": "examples"
},
"scripts": {
"test": "jest --config jest.config.cjs --coverage",
"test:e2e": "npx concurrently -k --success first --names \"HTTP,E2E\" -c \"bgBlue.bold,bgMagenta.bold\" \"npx http-server -p 8000\" \"wait-on -t 300000 -i 2000 http://127.0.0.1:8000 && jest -c e2e-tests/jest.config.cjs --ci\"",
"test:cli": "node cli/bin/squibv.js dev/sample-content.md -o /tmp/squibv-test.html && echo '✓ CLI test passed'",
"test:all": "npm run test && npm run test:e2e && npm run test:cli",
"build": "npm run build:lib",
"build:lib": "npm run updateVersion && npm run rebuild-docs && rollup -c && npm run minifyCSS && npm run update-build-sizes",
"build:cli": "node tools/build-cli.js",
"build:all": "npm run build:lib && npm run build:cli",
"build:fast": "npm run updateVersion && rollup -c --environment BUILD:esm && npm run minifyCSS",
"build:umd": "npm run updateVersion && rollup -c --environment BUILD:umd && npm run minifyCSS",
"build:esm": "npm run updateVersion && rollup -c --environment BUILD:esm && npm run minifyCSS",
"build:esm-lean": "npm run updateVersion && rollup -c --environment BUILD:esm-lean && npm run minifyCSS",
"build:umd-lean": "npm run updateVersion && rollup -c --environment BUILD:umd-lean && npm run minifyCSS",
"build:standalone": "npm run updateVersion && rollup -c --environment BUILD:standalone && npm run minifyCSS",
"build:react": "rollup -c --environment BUILD:react",
"prerelease": "npm run build:all && npm run test:all",
"minifyCSS": "node ./tools/minifyCSS.cjs",
"updateVersion": "node ./tools/updateVersion.js",
"rebuild-docs": "node tools/rebuild-docs.js",
"update-build-sizes": "node ./tools/buildSizeTable.js",
"docs": "npm run rebuild-docs",
"dev": "vite",
"dev:hmr": "node dev/live-dev-server.js",
"serve:devstatic": "npx http-server -p 8001 -c-1",
"serve": "python -m http.server 8080"
},
"devDependencies": {
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.24.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"babel-jest": "^29.7.0",
"clean-css": "^5.3.3",
"clean-css-cli": "^5.6.3",
"concurrently": "^9.1.2",
"coveralls": "^3.1.1",
"cssnano": "^7.0.4",
"gif.js": "^0.2.0",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-puppeteer": "^11.0.0",
"puppeteer": "^24.10.2",
"rollup": "^4.18.1",
"rollup-plugin-css-only": "^4.5.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-postcss": "^4.0.2",
"vite": "^6.3.5",
"wait-on": "^8.0.2"
},
"dependencies": {
"commander": "^14.0.0",
"diff-match-patch": "^1.0.5",
"highlight.js": "^11.11.1",
"jsdom": "^26.1.0",
"leaflet": "^1.9.4",
"markdown-it": "^14.1.0",
"mathjax": "^3.2.2",
"mermaid": "^11.6.0",
"papaparse": "^5.4.1",
"three": "^0.171.0",
"tiny-emitter": "^2.1.0",
"topojson-client": "^3.1.0",
"turndown": "^7.2.0"
}
}