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