-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
47 lines (47 loc) · 1.71 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
{
"name": "idiomorph",
"description": "an id-based DOM morphing library",
"keywords": [
"HTML"
],
"version": "0.3.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": "mocha-chrome test/index.html",
"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",
"typecheck": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bigskysoftware/idiomorph.git"
},
"devDependencies": {
"chai": "^4.3.6",
"chai-dom": "^1.11.0",
"fs-extra": "^9.1.0",
"htmx.org": "1.9.9",
"mocha": "^7.2.0",
"mocha-chrome": "^2.2.0",
"mocha-webdriver-runner": "^0.6.3",
"sinon": "^9.2.4",
"typescript": "^5.3.3",
"uglify-js": "^3.15.0"
}
}