chore: use mocha locally to run the tests

This commit is contained in:
Alexis Métaireau 2024-03-22 17:04:32 +01:00
parent 15964b2edb
commit 41da376f50

View file

@ -2,6 +2,7 @@
"name": "umap", "name": "umap",
"version": "1.0.0-alpha.1", "version": "1.0.0-alpha.1",
"description": "Manage map and features with Leaflet and expose them for backend storage through an API.", "description": "Manage map and features with Leaflet and expose them for backend storage through an API.",
"type": "module",
"directories": { "directories": {
"test": "test" "test": "test"
}, },
@ -12,14 +13,14 @@
"fetch-mock": "^9.11.0", "fetch-mock": "^9.11.0",
"happen": "~0.1.3", "happen": "~0.1.3",
"lebab": "^3.2.1", "lebab": "^3.2.1",
"mocha": "^10.2.0", "mocha": "^10.3.0",
"optimist": "~0.4.0", "optimist": "~0.4.0",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"sinon": "^15.1.0", "sinon": "^15.1.0",
"uglify-js": "~3.17.4" "uglify-js": "~3.17.4"
}, },
"scripts": { "scripts": {
"test": "firefox test/index.html", "test": "node_modules/mocha/bin/mocha.js",
"vendors": "scripts/vendorsjs.sh" "vendors": "scripts/vendorsjs.sh"
}, },
"repository": { "repository": {
@ -30,7 +31,7 @@
"leaflet" "leaflet"
], ],
"author": "Yohan Boniface", "author": "Yohan Boniface",
"license": "WTFPL", "license": "AGPLv3",
"bugs": { "bugs": {
"url": "https://github.com/umap-project/Leaflet.Storage/issues" "url": "https://github.com/umap-project/Leaflet.Storage/issues"
}, },