forked from bigskysoftware/htmx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.37 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
{
"name": "htmx.org",
"description": "high power tools for html",
"keywords": [
"AJAX",
"HTML"
],
"version": "2.0.1",
"homepage": "https://htmx.org/",
"bugs": {
"url": "https://github.com/bigskysoftware/htmx/issues"
},
"license": "0BSD",
"files": [
"LICENSE",
"README.md",
"dist/htmx.d.ts",
"dist/*.js",
"dist/ext/*.js",
"dist/*.js.gz",
"editors/jetbrains/htmx.web-types.json"
],
"main": "dist/htmx.esm.js",
"types": "dist/htmx.d.ts",
"unpkg": "dist/htmx.min.js",
"web-types": "editors/jetbrains/htmx.web-types.json",
"scripts": {
"dist": "./scripts/dist.sh && npm run types-generate",
"lint": "eslint src/htmx.js test/attributes/ test/core/ test/util/",
"format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/",
"types-check": "tsc src/htmx.js --noEmit --checkJs --target es6 --lib dom,dom.iterable",
"types-generate": "tsc src/htmx.js --declaration --emitDeclarationOnly --allowJs --outDir dist",
"test": "npm run lint && npm run types-check && mocha-chrome test/index.html",
"type-declarations": "tsc --project ./jsconfig.json",
"ws-tests": "cd ./test/ws-sse && node ./server.js",
"www": "bash ./scripts/www.sh",
"sha": "bash ./scripts/sha.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bigskysoftware/htmx.git"
},
"eslintConfig": {
"extends": "standard",
"rules": {
"camelcase": 0,
"no-var": 0,
"no-undef": 0,
"eqeqeq": 0,
"no-multi-str": 0,
"no-prototype-builtins": 0,
"no-cond-assign": 0,
"no-empty": 0,
"no-eval": 0,
"no-new-func": 0,
"no-redeclare": 0,
"no-return-assign": 0,
"no-unused-vars": 0,
"no-useless-call": 0,
"no-useless-escape": 0,
"no-unused-expressions": 0,
"space-before-function-paren": [
"error",
"never"
]
}
},
"devDependencies": {
"@types/node": "20.0.0",
"chai": "^4.3.10",
"chai-dom": "^1.12.0",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"fs-extra": "^9.1.0",
"mocha": "10.1.0",
"mocha-chrome": "https://github.com/Telroshan/mocha-chrome",
"mocha-webdriver": "^0.3.2",
"mock-socket": "^9.3.1",
"sinon": "^9.2.4",
"typescript": "^4.9.5",
"uglify-js": "^3.17.4",
"ws": "^8.14.2"
}
}