From 70d9a171237cef449e0663ba5e3b6c17a0134bf9 Mon Sep 17 00:00:00 2001 From: Javier Meza Date: Fri, 6 Sep 2019 11:43:09 -0600 Subject: [PATCH] Adds version to package.json Adding the version to package.json will allow this package to be installed by yarn. This will also allow users to migrate from bower to yarn per bower's developers' reccomendation. Other attributes from bower.json were also copied over to package.json https://bower.io/blog/2017/how-to-migrate-away-from-bower/ --- package.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e5658f5..7e0498c 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,25 @@ { "name": "angularjs-geolocation", + "version": "0.1.1", + "description": "An angular.js wrapper around window.navigator.geolocation", + "main": "./src/geolocation.js", + "author": "Arun Israel ", + "license": "MIT", + "keywords": [ + "geolocation", + "angular.js" + ], "devDependencies": { "karma": "~0.10", "karma-jasmine": "~0.1", "grunt": "~0.4.1", "grunt-contrib-jshint": "~0.6.4", "grunt-contrib-uglify": "~0.2.4", - "grunt-karma": "~0.6.2" + "grunt-karma": "~0.6.2", + "angular-mocks": "~1.x" + }, + "dependencies": { + "angular": "~1.x" }, "scripts": { "test": "./node_modules/.bin/karma start --single-run --browsers Chrome"