htmx/package.json
Alexander Petros d3788776d6
Fix clearWorkArea test util function (#1507)
Update the clearWorkArea function so that it doesn't error if there was
never a work area set up to begin with. This was causing the `npm test`
target to end with an error code.

The package-lock.json update happens on a fresh install with node 15, so
I'm including it here to make sure that the tests passing is
reproducible. I also updated the package.json file to warn you if you're
not running node 15.
2023-06-24 14:22:22 -06:00

54 lines
1.3 KiB
JSON

{
"name": "htmx.org",
"description": "high power tools for html",
"keywords": [
"AJAX",
"HTML"
],
"version": "1.9.3",
"homepage": "https://htmx.org/",
"bugs": {
"url": "https://github.com/bigskysoftware/htmx/issues"
},
"license": "BSD 2-Clause",
"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.min.js",
"types": "dist/htmx.d.ts",
"unpkg": "dist/htmx.min.js",
"web-types": "editors/jetbrains/htmx.web-types.json",
"engines": {
"node": "15.x"
},
"scripts": {
"test": "mocha-chrome test/index.html",
"test-types": "tsc --project ./jsconfig.json",
"dist": "cp -r src/* dist/ && npm run-script uglify && gzip -9 -k -f dist/htmx.min.js > dist/htmx.min.js.gz && exit",
"www": "node scripts/www.js",
"uglify": "uglifyjs -m eval -o dist/htmx.min.js dist/htmx.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bigskysoftware/htmx.git"
},
"devDependencies": {
"chai": "^4.3.7",
"chai-dom": "^1.11.0",
"fs-extra": "^9.1.0",
"mocha": "^10.2.0",
"mocha-chrome": "^2.2.0",
"mocha-webdriver-runner": "^0.6.4",
"mock-socket": "^9.2.1",
"sinon": "^9.2.4",
"typescript": "^4.9.5",
"uglify-js": "^3.17.4"
}
}