forked from bigskysoftware/idiomorph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.01 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
{
"name": "idiomorph",
"description": "an id-based DOM morphing library",
"keywords": [
"HTML"
],
"version": "0.4.0",
"homepage": "https://github.com/bigskysoftware/idiomorph",
"bugs": {
"url": "https://github.com/bigskysoftware/idiomorph/issues"
},
"license": "BSD-2-Clause",
"files": [
"LICENSE",
"README.md",
"dist/*.js"
],
"main": "dist/idiomorph.js",
"module": "dist/idiomorph.esm.js",
"unpkg": "dist/idiomorph.min.js",
"scripts": {
"test": "web-test-runner",
"debug": "web-test-runner --manual --open",
"test-move-before": "USE_MOVE_BEFORE=1 web-test-runner",
"ci": "web-test-runner --fail-only --playwright --browsers chromium firefox webkit",
"amd": "(echo \"define(() => {\n\" && cat src/idiomorph.js && echo \"\nreturn Idiomorph});\") > dist/idiomorph.amd.js",
"cjs": "(cat src/idiomorph.js && echo \"\nmodule.exports = Idiomorph;\") > dist/idiomorph.cjs.js",
"esm": "(cat src/idiomorph.js && echo \"\nexport {Idiomorph};\") > dist/idiomorph.esm.js",
"gen-modules": "npm run-script amd && npm run-script cjs && npm run-script esm",
"dist": "cp -r src/* dist/ && cat src/idiomorph.js src/idiomorph-htmx.js > dist/idiomorph-ext.js && npm run-script gen-modules && npm run-script uglify && gzip -9 -k -f dist/idiomorph.min.js > dist/idiomorph.min.js.gz && exit",
"uglify": "uglifyjs -m eval -o dist/idiomorph.min.js dist/idiomorph.js && uglifyjs -m eval -o dist/idiomorph-ext.min.js dist/idiomorph-ext.js",
"format": "prettier --write .",
"format-check": "prettier --check .",
"typecheck": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bigskysoftware/idiomorph.git"
},
"devDependencies": {
"@web/test-runner": "^0.19.0",
"@web/test-runner-playwright": "^0.11.0",
"chai": "^4.3.6",
"chai-dom": "^1.11.0",
"fs-extra": "^9.1.0",
"htmx.org": "1.9.9",
"p-wait-for": "^5.0.2",
"prettier": "^3.4.2",
"sinon": "^9.2.4",
"typescript": "^5.3.3",
"uglify-js": "^3.15.0"
}
}